Hello,
I’m trying to use the NB-IoT chip from u-blox with the Cayenne Library. Is there someone who did something like that? The chip supports UDP messaging, but not TCP. Is this possible?
Thanks in advance,
Michael
Hello,
I’m trying to use the NB-IoT chip from u-blox with the Cayenne Library. Is there someone who did something like that? The chip supports UDP messaging, but not TCP. Is this possible?
Thanks in advance,
Michael
Sorry, I don’t think it will work. I believe all the connection methods use TCP, is that right @rsiegel @bestes?
Oke, thanks for you answer. MQTT-SN is not an option then. Are there somewhere examples how the payload string is build up?
Sure, the docs page is over here Cayenne Docs
Thanks for tagging me @adam . Now my turn to tag someone
@croczey @eptak First post I’ve seen for NB-IoT. Are you able to help at all?
~Benny
Hi @MichaelW
Currently the best way to use your NB-IoT enabled device is to pass the data through our MQTT broker.
The link @adam gave you is the correct documentation, however, I think what you are looking for is our payload / topic structure which can be found here: Cayenne Docs
This will show you exactly where to publish the data, and how to format the payload.
Let me know if you need any help!
-Camrin
Hi all,
Thanks for your replies, The documentation is really helpful. I’m working on it, if I need any help, I let you know!
Kind regards,
Michael
Hello @croczey ,
I already sent data to ip address: 34.225.11.151. I used the pubsub client (GitHub - knolleary/pubsubclient: A client library for the Arduino Ethernet Shield that provides support for MQTT.) and make a client class for the NB-IoT module. As far I can see now, I do not receive a message back when I sent the connect message.
Can this be because I can only send UDP messages?
Here you can see the payload for connect to socket:
AT+NSOST=0,“34.225.11.151”,1883,132,“8410800100044D51545404C2000F002430616435633566302D663231302D313165372D616265392D313732316334633133363030002463653062326538302D663230662D313165372D613266392D386637353463653936323336002863373363313237653338316635366539636636386537623237323865626631666430613966396366”
[R]: 0,132
[R]: OK
For som extra informatie page 82 of the datasheet Datasheet Sara N211
Thanks in advance,
Michael
Indeed, we need to add MQTT-SN support to use with NB-IoT and LTE-M .