bittailor / BtMqttSn

Arduino library for an MQTT-SN client communicating over an nRF24L01+ Transceiver.
MIT License
35 stars 3 forks source link

Already success but can't connect to the gateway #3

Open kevin0598 opened 4 years ago

kevin0598 commented 4 years ago

I use this as my gateway https://github.com/eclipse/paho.mqtt-sn.embedded-c/tree/master/MQTTSNGateway

but it seem my client can't connect to the gateway at all, am I missing something here?

is it because the port of the gateway? can i know where is the file so i can edit gateway configuration for my mqtt sn clien ,so i can run it on my gateway too

and i use mosquitto as my broker

bittailor commented 4 years ago

Do you use the MQTT-SN over Serial Bridge or an nRF24L01+ Transceiver?

I think the paho MQTT-SN gateway only support UDP or XBee out of the box but not a nRF24L01+ based RF network.

kevin0598 commented 4 years ago

I use Arduino nano and NRF24L01 for the client,so there is nothing i can do??

What about if i use raspberry pi as my gateway as you told, is that solved the problem?

And can your gateway connect to Mosquitto broker??