<?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>What is the difference between Blocking and Non-Blocking connections in LTE Link Library of NRF9160 ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82102/what-is-the-difference-between-blocking-and-non-blocking-connections-in-lte-link-library-of-nrf9160</link><description>.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Nov 2021 10:23:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82102/what-is-the-difference-between-blocking-and-non-blocking-connections-in-lte-link-library-of-nrf9160" /><item><title>RE: What is the difference between Blocking and Non-Blocking connections in LTE Link Library of NRF9160 ?</title><link>https://devzone.nordicsemi.com/thread/340873?ContentTypeID=1</link><pubDate>Fri, 26 Nov 2021 10:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07893f77-cb53-4ef7-9709-8c88fefa9473</guid><dc:creator>Sebastiaan Merckx</dc:creator><description>&lt;p&gt;Blocking calls intrinsically wait until the action is done (e.g. until the modem is effectively connected to the network), or return on a timeout.&lt;/p&gt;
&lt;p&gt;Non-blocking calls return immediately, and you need to register an event handler (lte_lc_register_handler(func)) , to handle notifications of certain types&amp;nbsp; (e.g evt.type = LTE_LC_EVT_NW_REG_STATUS;), which can inform the application that the action is completed.&lt;/p&gt;
&lt;p&gt;Also, &amp;quot;blocking functions&amp;quot; is a generic programming concept, not specific to e.g. NRF or LTE link library, so google will help you a lot to understand it better.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>