How to send a message to my SODAQ device?


  • I tried to send a message to my SODAQ device by using Postman with NB-IoT TMNl collection:

    1. Login -> successful
    2. Get devices -> sucessful
    3. Send command -> successful

    Then when I use AT+NQMGR or AT+NMGR is see no messages…

    Any suggestions?



  • If you send a msg from the node to the gateway eg AT+NMGS it will work.

    I rather use the NNMI than the NMGR, since with NNMI you get all te messages in stead of just one.
    NB either NMGR of NNMI you cannot use both at the same time.



  • Hi Waltert, I do understand the NNMI vs NMGR part, but not the AT+NMGS part. I would like to send messages from the gateway to my device, not from my device to the gateway. I use a Postman script to do so, but somehow this doesn’t work as I hoped for. I wonder what I’m doing wrong.



  • @felixdonkers the device needs to be connected to the gateway to be able to receive data, and the only way to get a connection at the current state of the network is to send data to the gateway. So the postmanscript itself is not enough, if your device does an AT+NMGS after you have submitted the postman request, then you will receive on the device.



  • Indeed, that makes sense. I’ll give it a try today.



  • Hi @waltert, I just implemented this and it indeed works as you describe. Thanks!

    p.s. I prefer the “AT+NNMI=0” plus "AT+NMGS=11,“48454c4c4f2046454c4958"” plus “AT+NMGR” because it gives clear separation of AT commands and received data. With “AT+NNMI=1” I run the risk that things get cluttered…


Locked
 

Looks like your connection to Internet of Things was lost, please wait while we try to reconnect.