<?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>Reliable method for LTE-M signal verification</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60935/reliable-method-for-lte-m-signal-verification</link><description>Hi, 
 I am developing an application for Thingy:91 in which I want to send data from the device to MQTT server. I am using 1.1.1 modem firmware and 1.2.0 ncs tag. 
 The whole MQTT procedure is more or less the same as in mqtt_simple_sample, but since</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 May 2020 09:19:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60935/reliable-method-for-lte-m-signal-verification" /><item><title>RE: Reliable method for LTE-M signal verification</title><link>https://devzone.nordicsemi.com/thread/252117?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 09:19:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2be20f3-bb5b-4b14-ba0b-7dc3fecda711</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;So the device will not connect to the MQTT broker even when you are registered? Could it be that it loses coverage while you are trying to connect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reliable method for LTE-M signal verification</title><link>https://devzone.nordicsemi.com/thread/251717?ContentTypeID=1</link><pubDate>Tue, 26 May 2020 12:30:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b902e8d1-5829-4f41-a8a7-be41a5bb362c</guid><dc:creator>Gmaciek</dc:creator><description>&lt;p&gt;Hi Hakon, thank you for answer.&lt;/p&gt;
[quote userid="73166" url="~/f/nordic-q-a/60935/reliable-method-for-lte-m-signal-verification/248985"]&amp;nbsp;If CEREG returns 5 or 1 it means that the device is connected and should be able to send and receive. Otherwise, if the signal is too weak it should return 4.[/quote]
&lt;p&gt;So that means that the CEREG output 5 or 1 should be the sufficient indicator, that the device is able to connect to MQTT client and send data? &lt;/p&gt;
&lt;p&gt;I did some outdoor tests and my device recovered from no coverage state and succesfully reconnected few times, but sometimes it doesn&amp;#39;t do that. The only thing I verify related to network status is checking the registration status with AT+CEREG output - if it&amp;#39;s registered I proceed to connecting to MQTT client and sending data, if not - I wait and check again each few seconds. I&amp;#39;m trying to disqualify the network registration, signal strength or any other networking related problems as a possible reason of failure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reliable method for LTE-M signal verification</title><link>https://devzone.nordicsemi.com/thread/248985?ContentTypeID=1</link><pubDate>Fri, 08 May 2020 13:41:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bcf9cff-a90b-41d2-bbee-8e4759cf7962</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]- is it correct to say that the network can be registered (CEREG will return 5 or 1), but the signal will be to weak and the client connection or data publish procedure will fail?[/quote]
&lt;p&gt;&amp;nbsp;If CEREG returns 5 or 1 it means that the device is connected and should be able to send and receive. Otherwise, if the signal is too weak it should return 4.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]- if so, what is the required signal strength to perform this procedure?[/quote]
&lt;p&gt;&amp;nbsp;You can find the receiver sensitivity in the &lt;a href="https://infocenter.nordicsemi.com/pdf/nRF9160_PS_v1.2.pdf"&gt;product specification&lt;/a&gt; under section 7.6. Then if the RSRP drops below that, the device could be disconnected from the network. The RSRP can be read with the AT+CESQ command.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]- is it true that if modem gets the AT+CFUN=21 command once, it will automatically try to reconnect to the network after losing the signal (no need for sending AT+CFUN=21 again)[/quote]
&lt;p&gt;&amp;nbsp;Yes, it&amp;#39;s true.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]- since in the last modem firmware version (1.1.1) there were introduced AT+CFUN= 21, 31 and other parameters related to activating/deactivating LTE and GPS (or at least I wasn&amp;#39;t aware of them in the 1.1.0 and previous versions of MFW), is it correct to say that the AT+CFUN=21 &amp;quot;activates LTE&amp;quot; in a sense that previously was done by AT+CFUN=1 together with AT+CEREG=5?[/quote]
&lt;p&gt;&amp;nbsp;AT+CFUN=21 just activates the LTE without changing whether the GNSS services are turned on or off. I&amp;#39;m not sure if that answers your question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>