I'm trying to use the MQTT-SN Gateway together with an MQTT-SN Forwarder that encapsulates each MQTT-Paket it receives. Even so the MQTT-SN Gateway seems to decapsulate the packages only establishing a connection works (CONNECT + CONNACK) but every command after that will produce the Client(127.0.0.1:22002) is not connecting. message has been discarded. error message.
I'm trying to use the MQTT-SN Gateway together with an MQTT-SN Forwarder that encapsulates each MQTT-Paket it receives. Even so the MQTT-SN Gateway seems to decapsulate the packages only establishing a connection works (CONNECT + CONNACK) but every command after that will produce the
Client(127.0.0.1:22002) is not connecting. message has been discarded.
error message.I think the encapsulated MQTT-SN packages look like described at MQTT For Sensor Networks (MQTT-SN) Protocol Specification Version 1.2 part 5.5 Forwarder Encapsulation so I assume that this is a bug within the gateway.
Here is the log output of the gateway:
I use the following python script to emulate the forwarder: