<?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>Controlling LTE link when using lwm2m carrier library</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75088/controlling-lte-link-when-using-lwm2m-carrier-library</link><description>I&amp;#39;m trying to update our LTE connection library to use the LwM2M Carrier library to be prepared for carrier certification and I am not seeing any way to request that the modem move to the Online, Offline or Power Off states. 
 This is needed because I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Jun 2021 15:42:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75088/controlling-lte-link-when-using-lwm2m-carrier-library" /><item><title>RE: Controlling LTE link when using lwm2m carrier library</title><link>https://devzone.nordicsemi.com/thread/315694?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 15:42:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60fa24b6-f52e-4e93-9933-4cb258d29610</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi, and sorry for the late reply.&lt;/p&gt;
&lt;p&gt;Yes, the device keeps track of whether or not it needs to bootstrap.&lt;/p&gt;
&lt;p&gt;As long as you wait for the LTE_READY event after enabling LTE, you should be fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling LTE link when using lwm2m carrier library</title><link>https://devzone.nordicsemi.com/thread/314990?ContentTypeID=1</link><pubDate>Fri, 11 Jun 2021 21:41:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcbb8426-ecfd-4be6-8f49-3ec063fb64c0</guid><dc:creator>DevinCallahan</dc:creator><description>&lt;p&gt;Does the library have some kind of check with the carrier to see if it needs to go through the bootstrap/registration process?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What I am seeing is the CEREG notification indicating the modem is attached causes the lwm2m library to immediately send out the LTE_READY event.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am trying to make sure my library can support the case where that CEREG notification instead causes the library to bootstrap/register and I should expect to see the LTE_READY event come out later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling LTE link when using lwm2m carrier library</title><link>https://devzone.nordicsemi.com/thread/311879?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 15:21:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e3fa3e2-10c9-45de-845d-b03b8542bd57</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi, and sorry for the late reply.&lt;/p&gt;
&lt;p&gt;The short answer is that you should not do that.&lt;/p&gt;
&lt;p&gt;But yes, if the bootstrap process gets interrupted, you should do a reset of the device after clearing the carrier_lib&amp;#39;s NVS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling LTE link when using lwm2m carrier library</title><link>https://devzone.nordicsemi.com/thread/310582?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 23:34:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66e61b4e-1179-4e09-8e2e-2813cf9d8fbf</guid><dc:creator>DevinCallahan</dc:creator><description>&lt;p&gt;Thank you so much Didrik!&amp;nbsp; These answers are exactly what I&amp;#39;m looking for.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;One more out of this:&lt;/p&gt;
&lt;p&gt;If I mess with the modem online/offline state while in the middle of the bootstrap process, what are my options for recovering?&lt;/p&gt;
&lt;p&gt;Would a restart, which would cause lwm2m_carrier_thread_run to start over, work?&lt;/p&gt;
&lt;p&gt;Do I need to clear the memory ranged used by the NVS module?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling LTE link when using lwm2m carrier library</title><link>https://devzone.nordicsemi.com/thread/310188?ContentTypeID=1</link><pubDate>Tue, 18 May 2021 13:37:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07e1f453-53aa-46bd-8cd1-1b9f9c5daa84</guid><dc:creator>Didrik Rokhaug</dc:creator><description>[quote user="DevinCallahan"]1. If after receiving the LTE_READY event from the lwm2m library can I make the &amp;quot;lte_lc_offline&amp;quot; and &amp;quot;lte_lc_connect_async&amp;quot; calls without affecting the functionality of the lwm2m library?&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;Our developers says that you are free to use lte_lc_offline and lte_lc_connect_async after you receive the LTE_READY event. The carrier_lib handles being offline, so this should not be a problem.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="DevinCallahan"]2. If I make a call to &amp;quot;ltc_lc_offline&amp;quot; BEFORE the LTE_READY event comes out what will happen?[/quote]
&lt;p&gt;&amp;nbsp;You should not try to control the LTE link before you get the LTE_READY event.&lt;/p&gt;
&lt;p&gt;You will then risk interrupting the bootstrap process.&lt;/p&gt;
&lt;p&gt;You should also not try to turn the link on, as that can interfere with the carrier_lib trying to write credentials to the modem. This could potentially lead to an infinite loop, if the application tries to enable the link, while the carrier_lib tries to disable it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling LTE link when using lwm2m carrier library</title><link>https://devzone.nordicsemi.com/thread/309860?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 16:55:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7ae058b-fc15-4072-b612-518c4c0ad7b4</guid><dc:creator>DevinCallahan</dc:creator><description>&lt;p&gt;Thank you for the response!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If I were to add more details to my question it would be:&lt;/p&gt;
&lt;p&gt;1. If after receiving the LTE_READY event from the lwm2m library can I make the &amp;quot;lte_lc_offline&amp;quot; and &amp;quot;lte_lc_connect_async&amp;quot; calls without affecting the functionality of the lwm2m library?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. If I make a call to &amp;quot;ltc_lc_offline&amp;quot; BEFORE the LTE_READY event comes out what will happen?&lt;/p&gt;
&lt;p&gt;The library is precompiled so I don&amp;#39;t have a good way to verify these things myself, and just &amp;quot;trying it out&amp;quot; isn&amp;#39;t very rigorous.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also the FCC still requires a lot of extra certification to run two radios on the same board at the same time.&amp;nbsp; As I recall it was called &amp;quot;coexistence certification&amp;quot; and it pretty much involved going all the way through modular certification again.&amp;nbsp; I very much want to avoid doing it if possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling LTE link when using lwm2m carrier library</title><link>https://devzone.nordicsemi.com/thread/309856?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 15:48:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbdd661c-9cc8-474a-84d9-74b6727e4e5d</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When using the carrier_lib, it will control the LTE link.&lt;/p&gt;
&lt;p&gt;It should be okay for you to turn the LTE link off (after the carrier_lib has sent the LTE_READY event), though I have to check with the developers what would be the best way to turn the link back on again.&lt;/p&gt;
&lt;p&gt;However, you should also be able to use the COEX pins to know when the LTE radio is used or not.&lt;/p&gt;
&lt;p&gt;And, while I am not a radio expert, I believe it should be possible to use both BLE and LTE at the same time due to the difference in frequency.&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>