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
314 stars 179 forks source link

Can i add RF network at this Gateway? #201

Closed kevin0598 closed 4 years ago

kevin0598 commented 4 years ago

I want to use arduino nano + NRF24L01 as a MQTT-SN client just like this git https://github.com/bittailor/BtMqttSn

And then this git as my gateway, but there is some problem because i use RF network and in this git just have Xbee and UDP network, so can i add RF network to this gateway? If i can, then what should i do? And what should i changer or add??

ty4tw commented 4 years ago

Just implement SensorNetAddress and SensorNetwork classes in src/Linux/NRF24L01 directory as same as src/Linux/udp/SensorNetwork.cpp and SensorNetwork.h.

kevin0598 commented 4 years ago

So i just create new Folder for src/Linux/NRF24L01 and copy SensorNetwork.cpp and SensorNetwork.h from src/Linux/udp,is that right?

Then what should i do so this gateway can run RF network or i mean what should i change in that file so this gateway can recognize RF Network?? I'm new for this please help me Sir

thank You Sir

ty4tw commented 4 years ago

Implement SensorNetworkAddress and SensorNetwork classes for your network devise by yourself.

2020年5月9日(土) 23:18 Kevin notifications@github.com:

So i just create new Folder for src/Linux/NRF24L01 and copy SensorNetwork.cpp and SensorNetwork.h from src/Linux/udp,is that right?

Then what should i do so this gateway can run RF network or i mean what should i change in that file so this gateway can recognize RF Network?? I'm new for this please help me Sir

thank You Sir

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eclipse/paho.mqtt-sn.embedded-c/issues/201#issuecomment-626183068, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3X2BD4MJX6DMMVJIKRVWLRQVQ2FANCNFSM4M4PEYPA .

kevin0598 commented 4 years ago

Okay Sir Thank you