<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AT commands for sending data to the server using http.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70673/at-commands-for-sending-data-to-the-server-using-http</link><description>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. 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jan 2021 12:57:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70673/at-commands-for-sending-data-to-the-server-using-http" /><item><title>RE: AT commands for sending data to the server using http.</title><link>https://devzone.nordicsemi.com/thread/291031?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 12:57:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57d67db4-4de2-4761-9923-eb2203ebf801</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Yes, you can modify the application you are using to add support for the SLM proprietary commands. Here is the implementation of the HTTP commands:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/applications/serial_lte_modem/src/http_c/slm_at_httpc.c"&gt;ncs/nrf/serial_lte_modem/src/http_c/slm_at_httpc.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AT commands for sending data to the server using http.</title><link>https://devzone.nordicsemi.com/thread/290348?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 17:42:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:479b98e8-5d9d-4b8b-96a6-854b310c5b2f</guid><dc:creator>Shivek</dc:creator><description>&lt;p&gt;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() ).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AT commands for sending data to the server using http.</title><link>https://devzone.nordicsemi.com/thread/290325?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 15:36:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a8b2221-c3e5-423f-90ea-e1a4efb782aa</guid><dc:creator>Heidi</dc:creator><description>[quote user="Shivek"]I tried using &amp;quot;AT#XSOCKET=1,1,0&amp;quot; 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.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;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 &lt;a href="https://infocenter.nordicsemi.com/pdf/nrf91_at_commands_v1.6.pdf"&gt;reference guide&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AT commands for sending data to the server using http.</title><link>https://devzone.nordicsemi.com/thread/290300?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 14:28:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5eaaf990-77ff-4c32-9184-72497e6ea3b5</guid><dc:creator>Shivek</dc:creator><description>&lt;p&gt;Thanks for your reply. I tried using &amp;quot;AT#XSOCKET=1,1,0&amp;quot; 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.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;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?.&lt;/p&gt;
&lt;p&gt;Is there anything related to settings or project configuration in menuconfig that I need to do?&lt;/p&gt;
&lt;p&gt;Because when I am flashing nRF9160(on &lt;em&gt;Thingy:91&lt;/em&gt;) 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.&lt;/p&gt;
&lt;p&gt;I will appreciate any further insight.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Shivek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AT commands for sending data to the server using http.</title><link>https://devzone.nordicsemi.com/thread/290280?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 13:49:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f98ea194-2136-441e-938b-5cae9e30d431</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;No, there is no standardized AT command for that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/README.html"&gt;Serial LTE Modem&lt;/a&gt;&amp;nbsp;application in NCS has some proprietary AT commands for this (&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/HTTPC_AT_commands.html"&gt;HTTP client AT commands&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;#XHTTPCCON allows you to connect and disconnect from an HTTP server, #XHTTPCREQ allows you to send an HTTP request and #XHTTPCRSP is an unsolicited notification that indicates that a part of the HTTP response has been received.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>