<?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>Serial LTE Modem - How to send binary data using AT#XSEND?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83998/serial-lte-modem---how-to-send-binary-data-using-at-xsend</link><description>Hello, What is the way to send binary or JSON data using AT#XSEND socket command in the new SDKs (&amp;gt;1.60)? Former version of this command contained additional parameter &amp;lt;datatype&amp;gt; which allowed to switch between data type. It seems current version does</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Feb 2022 12:16:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83998/serial-lte-modem---how-to-send-binary-data-using-at-xsend" /><item><title>RE: Serial LTE Modem - How to send binary data using AT#XSEND?</title><link>https://devzone.nordicsemi.com/thread/351519?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 12:16:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d7cda01-652b-43ce-920d-8de97e9f1f09</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;You should run SLM in data mode. And then run the AT#XSEND without any parameter. You can read more about how it&amp;#39;s done &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/slm_data_mode.html"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem - How to send binary data using AT#XSEND?</title><link>https://devzone.nordicsemi.com/thread/350269?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 15:54:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1fa2062-34cd-4e62-9e3c-9146fde1361a</guid><dc:creator>Slawoj</dc:creator><description>&lt;p&gt;Hello Hakon,&lt;br /&gt;thanks for answer.&lt;br /&gt;&lt;br /&gt;In our case, converting data to string and reconverting on the other side &lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;is not a possible solution&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;.&lt;br /&gt;Devices will communicate with the dedicated server in the internet which have already running application and serve thousands of devices. Any modifications of protocol are not allowed.&lt;br /&gt;&lt;br /&gt;Some another option?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem - How to send binary data using AT#XSEND?</title><link>https://devzone.nordicsemi.com/thread/350259?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 15:19:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:829bbbea-37a0-48a2-a60f-f41f5552a8f2</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;you probably need to send the JSON object or binary data as a string, and then parse it on the receiving side. There are some functions that can be useful in the &lt;a href="https://github.com/nrfconnect/sdk-cjson/blob/main/README.md"&gt;cJSON library&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>