<?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 how to detect network detach?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57233/nrf9160-how-to-detect-network-detach</link><description>Hi, 
 How do we detect network detach in nRF9160 in a general way? 
 We use lte_lc to connect which blocks until we have connect/attached to the network. But how does lte_lc indicated network detach? 
 BR / Björn</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Feb 2020 16:26:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57233/nrf9160-how-to-detect-network-detach" /><item><title>RE: nRF9160 how to detect network detach?</title><link>https://devzone.nordicsemi.com/thread/232404?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 16:26:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:133a6fc6-c0cd-4d39-a557-e2439832027f</guid><dc:creator>Luk&amp;#225;š</dc:creator><description>&lt;p&gt;We are facing the same issue. AT+CEREG notification won&amp;#39;t tell you when you are disconnected immediately. In NB-IoT networks, you&amp;nbsp;have to wait a few dozen seconds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 how to detect network detach?</title><link>https://devzone.nordicsemi.com/thread/232365?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 14:16:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82036693-95f2-4056-b8fd-9677b1ce2698</guid><dc:creator>jbrzozoski</dc:creator><description>&lt;p&gt;Currently the lte_lc library doesn&amp;#39;t provide that.&amp;nbsp; The only way to get it is to use the at_notif library, register a handler, and make sure the CEREG notifications are enable by sending an &amp;quot;AT+CEREG&amp;quot; command to the modem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 how to detect network detach?</title><link>https://devzone.nordicsemi.com/thread/232227?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 07:08:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df7f51b8-3270-4e52-9adb-eb2199be6a56</guid><dc:creator>Bjorn191023</dc:creator><description>[quote userid="77106" url="~/f/nordic-q-a/57233/nrf9160-how-to-detect-network-detach/232164"]The expected method is by calling lte_lc_nw_reg_status_get[/quote]
&lt;p&gt;Thanks. Is there a way to get an event when network is detached instead of polling through function&amp;nbsp;lte_lc_nw_reg_status_get?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 how to detect network detach?</title><link>https://devzone.nordicsemi.com/thread/232164?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 20:44:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:045acb87-0910-4499-a509-07442787b0eb</guid><dc:creator>jbrzozoski</dc:creator><description>&lt;p&gt;The expected method is by calling lte_lc_nw_reg_status_get.&amp;nbsp; A registration status of HOME or ROAMING means you are attached.&amp;nbsp; Note that there is some delay in falling from HOME/ROAMING back to SEARCHING after you move out of range of a tower or lose signal for some other reason.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>