paho.mqtt.java icon indicating copy to clipboard operation
paho.mqtt.java copied to clipboard

Bugfix - subscription id out of range of MQTT5 specification

Open garytse opened this issue 11 months ago • 1 comments

Please make sure that the following boxes are checked before submitting your Pull Request, thank you!

  • [x] This change is against the develop branch, not master.
  • [x] You have signed the Eclipse ECA
  • [x] All of your commits have been signed-off with the correct email address (the same one that you used to sign the CLA) Hint: use the -s argument when committing.
  • [ ] If This PR fixes an issue, that you reference the issue below. OR if this is a new issue that you are fixing straight away that you add some Description about the bug and how this will fix it.
  • [ ] If this is new functionality, You have added the appropriate Unit tests.

garytse avatar Feb 12 '25 22:02 garytse

The Subscription Identifier can have the value of 1 to 268,435,455

Reference: https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901117

garytse avatar Feb 12 '25 22:02 garytse