eclipse-paho / 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
315 stars 179 forks source link

Add a session recovery mechanism #184

Closed lx121451 closed 4 years ago

lx121451 commented 4 years ago

Hello, I tested the characteristics of MQTT-SN under the NBIOT network. As you know, NB is a low-power protocol. When the device enters the sleep state, the core network will release the previous connection, which will cause the device The source data port seen by the gateway will change after waking up. Do you consider adding a session recovery mechanism?

ty4tw commented 4 years ago

Hi, I am not thinking about adding such function. The device can CONNECT again before sending any message.