This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

AT commands for sending data to the server using http.

Hi,

I am able to send AT command to modem using AT command interface API.

Is it like there is no AT command to send the data to http server? I am referring nrf91_at_commands_v1.6 manuals which lists all the AT commands supported by nRF9160.

Regards,

Shivek

Parents
  • Thanks for your reply. I tried using "AT#XSOCKET=1,1,0" command to open a TCP based socket. But the modem is not responding when I am using at_cmd_write() function from API command interface API. 

    Though using the same at_amd_write() function I am able to get the response from modem for standard commands like AT+CGMI or AT+CFUN?.

    Is there anything related to settings or project configuration in menuconfig that I need to do?

    Because when I am flashing nRF9160(on Thingy:91) using LTE serial modem application and sending the AT#XSOCKET=1,1,0 command, the modem is responding as expected. So, I think probably I need to establish a LTE connection from modem and then only I can create sockets. Or it can be the configuration settings.

    I will appreciate any further insight.

    Regards,

    Shivek

  • Shivek said:
    I tried using "AT#XSOCKET=1,1,0" command to open a TCP based socket. But the modem is not responding when I am using at_cmd_write() function from API command interface API. 

     Yes, this will not work. You can only use the SLM proprietary AT commands when the SLM application is running on the device. The function at_cmd_write() only accepts the AT commands documented in the reference guide.

  • But if the SLM proprietary AT commands can run on the device, then that means there is some way to run those commands (if not using at_cmd_write() ). 

Reply Children
Related