Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish on topic from outside the MQTT-SN gateway #1306

Open
jelalanne opened this issue Jun 5, 2019 · 2 comments
Open

Publish on topic from outside the MQTT-SN gateway #1306

jelalanne opened this issue Jun 5, 2019 · 2 comments

Comments

@jelalanne
Copy link

Hi,
I'm trying to publish a message on a specific topic directly on mosquitto (using mosquitto_pub), and I want it to be transfered to the MQTT-SN 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!

@ralight
Copy link
Contributor

ralight commented Jun 5, 2019

Does a mosquitto_sub client subscribed to the appropriate topic on the broker receive the message? If it does, then the problem is with the gateway and you'll need to ask somewhere else for help :)

@jelalanne
Copy link
Author

Yes it receives it, no problem with that.
I've just made few tests, and it appears that it works with iot.eclipse.org broker, but not my local one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants