This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF91 - thingy91_at_client_2020-04-29_bc7ade8b - is it possible to send and receive data with that client?

Is it possible to send and receive data with the thingy91_at_client_2020-04-29_bc7ade8b?

I found, that this is not supported by AT commands, instead socket libraries for zephyr are used. 

Is there a function in that client, which maps UDP traffic to the USB interface?

Parents
  • Hi.

    No, the at_client cannot be used to send data.

    However, we also have the serial_lte_modem sample, which extends the functionality of the AT client to also include commands for socket operations.

    You can find the documentation for that sample here: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.0/nrf/samples/nrf9160/serial_lte_modem/README.html

    I have also attached a compiled version of the sample. Note that it must be flashed with an external programmer.

    Best regards,

    Didrik

    slm.hex

  • Thanks!

    I'm using a Thingy:91 not a nRF9160 DK board (PCA10090).

    Using the "slm.hex" seems not to work for a Thingy:91. It doesn't reply to the AT commands, which has worked so far.

    UDP AT commands

    The following proprietary UDP AT commands are used in this sample:

    • AT#XSOCKET=<op>[,<type>]

    • AT#XSOCKET?

    • AT#XUDPSENDTO=<url>,<port>,<data>

    • AT#XUDPRECVFROM=<url>,<port>,<length>,<timeout>

    Where can I find the details about these AT commands? In the sources?

  • How did you flash the hex file to the Thingy?

    The hex file works as it should for me when I flash it using the Programmer application in nRF Connect for Desktop, and an nRF91DK as an external programmer for the Thingy.

     

    Achim Kraus said:
    Where can I find the details about these AT commands? In the sources?

     There are more documentation coming, but for now that is what we have.

    But yes, the source code might help in the meantime.

Reply
  • How did you flash the hex file to the Thingy?

    The hex file works as it should for me when I flash it using the Programmer application in nRF Connect for Desktop, and an nRF91DK as an external programmer for the Thingy.

     

    Achim Kraus said:
    Where can I find the details about these AT commands? In the sources?

     There are more documentation coming, but for now that is what we have.

    But yes, the source code might help in the meantime.

Children
No Data
Related