<?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>nRF9160 Modem Hardware API Documentation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43226/nrf9160-modem-hardware-api-documentation</link><description>Is there any public documentation on the LTE Modem hardware API for the nRF9160? 
 I&amp;#39;m interested in porting an embedded operating system written in Rust to the nRF9160 and am trying to determine how the AT command writes to the sockets are translated</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Oct 2019 13:48:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43226/nrf9160-modem-hardware-api-documentation" /><item><title>RE: nRF9160 Modem Hardware API Documentation</title><link>https://devzone.nordicsemi.com/thread/213689?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 13:48:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24db32f4-a561-4859-89a3-1cd3cc99af17</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;The former answers in this thread is still valid. No changes towards how to interact with the modem.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d recommend that you create new cases in general instead of asking questions in&amp;nbsp;older threads.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Modem Hardware API Documentation</title><link>https://devzone.nordicsemi.com/thread/213617?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 11:16:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae5b7284-2ddd-4399-87aa-2d92dff79570</guid><dc:creator>Leandro Lanzieri</dc:creator><description>&lt;p&gt;Has there been any changes regarding this? Is there any API to interact with the LTE modem directly? Do you have any suggestions on which would be the best way to integrate this with an existing IP stack?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Modem Hardware API Documentation</title><link>https://devzone.nordicsemi.com/thread/169469?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 10:25:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24b942cd-868a-41d2-a638-1cb843bf8c36</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="exobrain"]Typically these layers take over&amp;nbsp;hardware features that the OS needs to control, or their runtime behavior has either not been compatible with the OS, or has not been documented enough to be able to work around. So far, the BLE and 802.15.4 radios have been documented well enough at the hardware level to implement our own drivers.[/quote]
&lt;p&gt;The bsdlib is a &amp;quot;thin layer&amp;quot; between the application and the modem, especially when comparing it to our softdevices. Documentation for the bsdlib will follow. in terms of requirements, it uses flash, RAM, and two interrupts (see here: &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/lib/bsdlib/bsd_os.c"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/lib/bsdlib/bsd_os.c&lt;/a&gt;). More info on the requirements will follow once we reach a non-alpha state on our NCS software solution.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Modem Hardware API Documentation</title><link>https://devzone.nordicsemi.com/thread/169339?ContentTypeID=1</link><pubDate>Mon, 04 Feb 2019 14:53:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:905c5758-1114-4067-8569-2ef13e7643b5</guid><dc:creator>Amit</dc:creator><description>&lt;p&gt;(I don&amp;#39;t speak for Branden, but we collaborate on the same project together, so I&amp;#39;m chiming in too)&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;nbsp;Is there a reason why you do not want to use bsdlib in your application?&lt;/p&gt;
&lt;p&gt;We&amp;#39;re interested in portin&amp;nbsp;&lt;a href="https://www.tockos.org/"&gt;Tock OS&lt;/a&gt;&amp;nbsp;to the nRF91 (the nRF52 series is already one of the two main platforms for the OS).&amp;nbsp;Supporting modems through an abstraction layer has historically been a problem.&lt;/p&gt;
&lt;p&gt;Typically these layers take over&amp;nbsp;hardware features that the OS needs to control, or their runtime behavior has either not been compatible with the OS, or has not been documented enough to be able to work around. So far, the BLE and 802.15.4 radios have been documented well enough at the hardware level to implement our own drivers.&lt;/p&gt;
&lt;p&gt;(Anecdotally, I know both Branden and I have used the nRF SDKs independently and they are&amp;nbsp;very nice to use, so we&amp;#39;re not complaining!)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Modem Hardware API Documentation</title><link>https://devzone.nordicsemi.com/thread/169326?ContentTypeID=1</link><pubDate>Mon, 04 Feb 2019 14:15:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81a9735d-a8e5-474e-ab1c-8ede1c28290d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="brghena"]Does that mean that eventually the hardware API for the modem will be released publicly?[/quote]
&lt;p&gt;The BSDlib will be the API to use to communicate with the modem on an AT and IP level. I have not heard anything about opening up for doing this directly, unfortunately.&lt;/p&gt;
&lt;p&gt;Is there a reason why you do not want to use bsdlib in your application?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Modem Hardware API Documentation</title><link>https://devzone.nordicsemi.com/thread/169126?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 19:34:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c25ffba2-5976-4567-9450-3d35943ca5ab</guid><dc:creator>Branden Ghena</dc:creator><description>&lt;p&gt;Thanks so much for the quick reply! Does that mean that eventually the hardware API for the modem will be released publicly?&lt;br /&gt;&lt;br /&gt;I agree that building on top of the provided archive file and using the socket API could be a workable solution for non-C languages.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Modem Hardware API Documentation</title><link>https://devzone.nordicsemi.com/thread/169081?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 13:45:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fdf1e14-c0f6-4d55-a4e5-6c635b0e9dc8</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The API documentation is not yet finalized, unfortunately, but the header file nrf_socket.h has some information about return codes and similar.&lt;/p&gt;
&lt;p&gt;The interface to the modem is provided by the bsdlib, which exposes a &lt;a href="https://en.wikipedia.org/wiki/Berkeley_sockets"&gt;berkey socket&lt;/a&gt; API, which is widely used in many programming languages, and you should be able to find generic information about the different functions in for instance linux by writing &amp;quot;man&amp;nbsp;getaddrinfo&amp;quot; or any other function you would like to know how works.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>