eclipse / paho.mqtt-sn.embedded-c

Paho C MQTT-SN gateway and libraries for embedded systems. Paho is an Eclipse IoT project.
https://eclipse.org/paho
Other
314 stars 178 forks source link

When subscribing to a wildcard topic the SUBACK responds with msg-id == 0x00 #266

Open campescassiano opened 1 year ago

campescassiano commented 1 year ago

When I subscribe to a wildcard topic, for example:

"a/b/c/#"

I get the response back from the MQTT-SN Gateway with topic-id == 0x00 and the msg-id == 0x00, as you can see below (it is the raw message received, in hex):

0x08 0x13 0x40 0x00 0x00 0x00 0x00 0x00

Also, I noticed this topic-id 0x4000, I am not sure if that is correct.