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 179 forks source link

Gateway hungs on enabling QOS-1-YES #204

Closed saumilsdk closed 3 years ago

saumilsdk commented 4 years ago

I have mqtt-sn gateway connecting to AWS IOT broker using client certificates. I have enabled QoS-1=YES in the gateway.conf file for MQTT-SN.

After that gateway doesn't connect to AWS IOT broker and hungs on any packet receveid.

ty4tw commented 3 years ago

Hi,

Did you write your client in a clients.conf file. Other wise QOS-1 client is not authorized. So, all packets from the unauthorized client are ignored.

saumilsdk commented 3 years ago

Yes you are right.