Skip to content

Support for v3.1 sub protocol (Paho Library) #2

@francois-normandin

Description

@francois-normandin

The Paho library for Websockets uses a subprotocol version for distinction between 3.1 and 5.0 of MQTT.
As such, the CONNECT packet's variable header can have a different protocol name (0x00, 0x06 instead of 0x00-0x04).

Verify requirement change to support subprotocol. MQTT spec mentions that server MAY support subprotocols if desired. To be able to use the Paho WS library for javascript, this would be a nice-to-have in the control packets parsing algorithm.

http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718083

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions