<?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>AF_LTE and NPROTO_AT alternatives? (27.06.2022)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89367/af_lte-and-nproto_at-alternatives-27-06-2022</link><description>Hi, 
 I have been looking at the sample https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/simple_at and see that the socket() function uses AF_LTE and NPROTO_AT, but I can&amp;#39;t find any documentation on these identifiers.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Jun 2022 07:44:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89367/af_lte-and-nproto_at-alternatives-27-06-2022" /><item><title>RE: AF_LTE and NPROTO_AT alternatives? (27.06.2022)</title><link>https://devzone.nordicsemi.com/thread/374272?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 07:44:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b1d6f13-d4e9-4f08-8c63-3962c92e8371</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]the socket() function uses AF_LTE and NPROTO_AT, but I can&amp;#39;t find any documentation on these identifiers. Are they outdated?[/quote]
&lt;p&gt;Yes, they are (assuming you are using one of the newest releases).&lt;/p&gt;
&lt;p&gt;The AT sockets has been removed, and replaced with the AT interface in the modem library: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrfxlib/nrf_modem/doc/at_interface.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrfxlib/nrf_modem/doc/at_interface.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The documentation itself should be quite good, but you might also want to look at the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/samples/nrf9160/at_monitor/README.html"&gt;at_monitor sample&lt;/a&gt;, which shows how AT notifications can be received in the application using the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/libraries/modem/at_monitor.html"&gt;AT monitor&lt;/a&gt; library.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>