<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[NB-IoT: How to send data in Non-IP mode]]></title><description><![CDATA[<p dir="auto">I have recently achieved non-IP call with FiPy with the recent Sequans SW 37781 using the below:</p>
<pre><code>send_at_cmd_pretty('AT+CGDCONT=1,&quot;Non-IP&quot;,&quot;&lt;APN_NAME&gt;&quot;')
lte.attach(band=3)
</code></pre>
<p dir="auto">The session is successful (attached S1-MME interface trace) can be found at the end.<br />
My query is how we can &quot;inject&quot; a non IP data packet using the socket lib and socket objects, as the classic AF_INET family needs a 5-tuple containing IP addresses and port details.<br />
Alternative solution can be a relevant  Socket Dial: +SQNSD AT command but with no IP addresses and ports assigned?<br />
Some trials with AF_INET and SOCK_RAW were not successful. Can you help please?<br />
<img src="/assets/uploads/files/1537434374556-nas_accept_non_ip-resized.png" alt="0_1537434374189_NAS_accept_Non_IP.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.pycom.io/topic/3770/nb-iot-how-to-send-data-in-non-ip-mode</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 00:06:21 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/3770.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 20 Sep 2018 09:33:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NB-IoT: How to send data in Non-IP mode on Thu, 20 Sep 2018 09:33:18 GMT]]></title><description><![CDATA[<p dir="auto">I have recently achieved non-IP call with FiPy with the recent Sequans SW 37781 using the below:</p>
<pre><code>send_at_cmd_pretty('AT+CGDCONT=1,&quot;Non-IP&quot;,&quot;&lt;APN_NAME&gt;&quot;')
lte.attach(band=3)
</code></pre>
<p dir="auto">The session is successful (attached S1-MME interface trace) can be found at the end.<br />
My query is how we can &quot;inject&quot; a non IP data packet using the socket lib and socket objects, as the classic AF_INET family needs a 5-tuple containing IP addresses and port details.<br />
Alternative solution can be a relevant  Socket Dial: +SQNSD AT command but with no IP addresses and ports assigned?<br />
Some trials with AF_INET and SOCK_RAW were not successful. Can you help please?<br />
<img src="/assets/uploads/files/1537434374556-nas_accept_non_ip-resized.png" alt="0_1537434374189_NAS_accept_Non_IP.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.pycom.io/post/22350</link><guid isPermaLink="true">https://forum.pycom.io/post/22350</guid><dc:creator><![CDATA[stsiafak]]></dc:creator><pubDate>Thu, 20 Sep 2018 09:33:18 GMT</pubDate></item><item><title><![CDATA[Reply to NB-IoT: How to send data in Non-IP mode on Fri, 07 Aug 2020 17:40:20 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2760">@stsiafak</a> Just curious, were you able to send the data using non-IP mode? Also, how did you get the packet into wireshark?</p>
]]></description><link>https://forum.pycom.io/post/33864</link><guid isPermaLink="true">https://forum.pycom.io/post/33864</guid><dc:creator><![CDATA[bitvijays]]></dc:creator><pubDate>Fri, 07 Aug 2020 17:40:20 GMT</pubDate></item></channel></rss>