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
315 stars 178 forks source link

Publish on topic from outside the gateway #156

Closed jelalanne closed 5 years ago

jelalanne commented 5 years ago

Hi, I'm trying to publish a message on a specific topic directly on mosquitto, and I want it to be transfered to the gateway's client which is subscribed to that topic. My architecture is as followed: Device <-{Thread network}-> Gateway (uses specific network interface wpan0) <-> TLS mosquitto <-> {other}

I have tried to use mosquitto_pub to publish on the gateway from that {other} segment, but it's not transmited to the Device.

Thanks!

ty4tw commented 5 years ago

Attach the GW log.

jelalanne commented 5 years ago

Client was not subscribed correctly, closing issue