For the unsupported packet type, see http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Table_2.1_-
Looks a lot like 6 and 7 are for assured delivery - I guess that's some kind of QoS - when the MQTT library only supports QoS 0.
assured delivery
To be honest QoS>0 isn't really so important over TCP/IP since TCP/IP will already be doing error correction and packet management for you.
I wonder whether you're connecting to an MQTT-SN server rather than normal MQTT, or something like that?
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
For the unsupported packet type, see http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Table_2.1_-
Looks a lot like 6 and 7 are for
assured delivery
- I guess that's some kind of QoS - when the MQTT library only supports QoS 0.To be honest QoS>0 isn't really so important over TCP/IP since TCP/IP will already be doing error correction and packet management for you.
I wonder whether you're connecting to an MQTT-SN server rather than normal MQTT, or something like that?