Skip to content

Conversation

@robert-s-ubi
Copy link
Contributor

OCPP 2.0.1 requires CSMS and Local Controllers to support RFC 7692 WebSocket compression, and recommends it for Charging Stations using mobile data connections. This feature was not implemented yet.

Add the WEBSOCKET_COMPRESSION_SUPPORT boolean to JSONConfiguration, enabled by default for the server and disabled by default for the client.

Bump the WebSocket library dependency from version 1.5.3 to 1.6.0, since the PerMessageDeflateExtension was broken in older versions.

OCPP 2.0.1 requires CSMS and Local Controllers to support RFC 7692
WebSocket compression, and recommends it for Charging Stations using
mobile data connections. This feature was not implemented yet.

Add the WEBSOCKET_COMPRESSION_SUPPORT boolean to JSONConfiguration,
enabled by default for the server and disabled by default for the
client.

Bump the WebSocket library dependency from version 1.5.3 to 1.6.0,
since the PerMessageDeflateExtension was broken in older versions.
@TVolden
Copy link
Member

TVolden commented Dec 5, 2025

Things to consider, java_websocket 1.6 has one breaking change, it no longer supports Java 1.7

https://github.com/TooTallNate/Java-WebSocket/releases/tag/v1.6.0

@robert-s-ubi
Copy link
Contributor Author

Things to consider, java_websocket 1.6 has one breaking change, it no longer supports Java 1.7

The Java-OCA-OCPP library source code does not support Java 1.7 either (use of lambdas, and build.gradle says sourceCompatibility = '1.8'), so I don't see any problem with that.

@robert-s-ubi robert-s-ubi merged commit e2d1ac3 into master Dec 5, 2025
4 checks passed
@robert-s-ubi robert-s-ubi deleted the add_websocket_compression_support branch December 5, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants