<?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>Weird output from serial port</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105097/weird-output-from-serial-port</link><description>Hello, 
 In short, my use case is that I&amp;#39;m trying to onboard a Thingy:91 to AWS IoT Core through the available code sample following this tutorial (and the related library description linked in it). 
 What I did successfully was: 
 
 I managed to provision</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Dec 2023 08:34:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105097/weird-output-from-serial-port" /><item><title>RE: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/458884?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 08:34:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c745c7d0-ff79-4fb0-87c2-a561381ebc63</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ivan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for summarizing. I&amp;#39;m glad to hear that you got things working with a newer version.&amp;nbsp;&lt;/p&gt;
[quote user="Ivan Popov"]As for the sample build - after the build with the 2.5.0 version was successful I haven&amp;#39;t tried to go back and test if would fail again with the 2.4.x versions - should I?[/quote]
&lt;p&gt;If you have a working setup with a newer NCS version, I would recommend that you go forward with this one.&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: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/458731?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 12:52:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96835b7a-ea7f-4d87-84f4-54f6ae1a9d8c</guid><dc:creator>Ivan Popov</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Let me summarise the issues I had while you were helping me:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The &lt;strong&gt;weird output in the Serial Terminal&lt;/strong&gt; - it was quickly revealed that it was a misconfiguration on my side and I was trying to use an already occupied (or wrong) port.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;build failure of the Asset Tracker sample&lt;/strong&gt; (with Thingy:91 as a target board) - the SDK/toolchain upgrade (to v.2.5.0) solved exactly that - this time the build failure just didn&amp;#39;t happen and I was able to flash the resulting HEX file on the Thingy:91. As a result I&amp;#39;m able to see the default telemetries being uploaded to our system through the AWS IoT Core. Next step for me here is to enable the suppressed by default sampling of the ADXL362 accelerometer for the simplest possible use case but that is another story.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;inability of the Thingy:91 to connect to the AWS cloud&lt;/strong&gt; despite the fact that everything was configured by-the-book - here you helped to find out that our certificate policy was too restrictive, and after fixing that I closed the ticket.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As for the sample build - after the build with the 2.5.0 version was successful I haven&amp;#39;t tried to go back and test if would fail again with the 2.4.x versions - should I?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ivan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/458722?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 12:32:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55d094a2-93a4-4988-8f4c-f1ff6880bf8a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ivan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Ivan Popov"]&lt;p&gt;&lt;span&gt;I&amp;#39;m not reopening the ticket, I just have a thing to share. Last week after I switched to version 2.5 of the SDK and the toolchain I was already able to flash a customised version (AWS IoT enabled) of the Asset Tracker v2. The build passed successfully. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any idea what have changed?&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;When you updated to ncs v2.5.0, did everything work as expected? Were you still having issues on ncs v2.4.x, and updating to ncs v2.5.0 fixes those issues?&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: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/458675?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 08:55:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22489062-1e28-4816-b893-a30a571dc12b</guid><dc:creator>Ivan Popov</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m not reopening the ticket, I just have a thing to share. Last week after I switched to version 2.5 of the SDK and the toolchain I was already able to flash a customised version (AWS IoT enabled) of the Asset Tracker v2. The build passed successfully. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any idea what have changed?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ivan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452618?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 13:42:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1136fd53-e0d5-46b6-aa9c-924bdf8715b9</guid><dc:creator>Ivan Popov</dc:creator><description>&lt;p&gt;Thank you very much,&amp;nbsp;&lt;span&gt;H&amp;aring;kon!&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;On a first glance this guide looks promising - I&amp;#39;ll dig into it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for all your support and best of luck!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ivan Popov&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452614?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 13:35:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd141856-602d-4df6-bbc5-2e1450cc566b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ivan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m glad to hear that you were able to get a successful connection towards AWS!&lt;/p&gt;
[quote user="Ivan Popov"]&lt;p&gt;&lt;span&gt;Now this seems to resolve our problem and I see two further points to follow:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Modify the policy in order to make it more restrictive to the point where it has the minimum rights that let the device connect properly.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;To see how to add the telemetry data from the sensors to the output ... I saw somewhere an example withe the older version of the Asset tracker (v1.6) - it probably should be enough. (I&amp;#39;d appreciate if you can confirm this.)&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;But these are further steps, and since we already have the basic connectivity I think the current issue is resolved. And if you don&amp;#39;t have anything else to add I can close the ticket?&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;I just want to mention that there are some limited information on handling&amp;nbsp;user data in this guide:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/connecting-to-aws-cloud-services-using-the-nrf9160"&gt;Connecting to AWS cloud services using the nRF9160&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;See the chapter named &amp;quot;Handling MQTT messages in AWS&amp;quot;.&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: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452594?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 07:32:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61c22017-1878-47bd-82f0-2bf026916f99</guid><dc:creator>Ivan Popov</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Håkon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I spoke to&amp;nbsp;my colleague responsible for the AWS infrastructure and (this time) we both looked at the instructions from the article you shared. We found difference only in the given policy example. We provided to our policy the options from the given example (the least restrictive variant!) and the result can be seen bellow (in ST and in our system):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-from-2023_2D00_10_2D00_25-10_2D00_07_2D00_07.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-from-2023_2D00_10_2D00_25-10_2D00_18_2D00_02.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Now this seems to resolve our problem and I see two further points to follow:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Modify the policy in order to make it more restrictive to the point where it has the minimum rights that let the device connect properly.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;To see how to add the telemetry data from the sensors to the output ... I saw somewhere an example withe the older version of the Asset tracker (v1.6) - it probably should be enough. (I&amp;#39;d appreciate if you can confirm this.)&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;But these are further steps, and since we already have the basic connectivity I think the current issue is resolved. And if you don&amp;#39;t have anything else to add I can close the ticket?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ivan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452593?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 14:10:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30086cd4-b70d-4ca5-a2da-9e9d0ca0dcf9</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ivan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is a certificate generated from aws iot core, just from a different account (thus different client/private key, root ca is the same), where the guide here is followed:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/networking/aws_iot.html#setting-up-aws-and-configuring-permissions"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/networking/aws_iot.html#setting-up-aws-and-configuring-permissions&lt;/a&gt;&lt;/p&gt;
[quote user="Ivan Popov"]Then if I continue to have the same problem, what would that mean? That the procedure under which I register the devices towards AWS is somewhat flawed, for instance? Something with the policies probably?&amp;nbsp;[/quote]
&lt;p&gt;It is hard to say what can be the root problem. Have you checked that all the steps in the above link is performed?&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: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452592?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2023 13:50:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5289abd6-3d38-475e-af64-7ea15ef417c2</guid><dc:creator>Ivan Popov</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Håkon,&lt;/span&gt;&lt;/p&gt;
[quote user="hkn"]Are you 100% certain that the credentials, static client id, and hostname is correct?[/quote]
&lt;p&gt;&lt;span&gt;Checked them around fifty times - for every of the two devices I registered. Moreover the other types of devices we test with (some Shellys, an M5Stack unit, some Pythons scripts) work under the same conditions: the broker host name is the same for all, and the Client IDs have the same format.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Umm, ... our credentials (mine vs yours) - do they differ &lt;strong&gt;only&lt;/strong&gt; by values?&amp;nbsp;&lt;br /&gt;I mean, for instance you don&amp;#39;t have some extra property that I&amp;#39;ve missed?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Let&amp;#39;s say only the values are to problem on my side. Then I register another device in AWS IoT Core to get all values afresh - Client ID, and certificates. Then I provide the new values in the same way: &lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Provision the certificates; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Change the configuration and flash the new build on the Thingy. &lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;Then if I continue to have the same problem, what would that mean? That the procedure under which I register the devices towards AWS is somewhat flawed, for instance? Something with the policies probably?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;A lot of questions, I know but at this point anything is possible.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ivan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452591?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2023 13:06:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b9562bd-cecc-4463-9286-d010b6ceec05</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ivan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the files.&lt;/p&gt;
&lt;p&gt;Are you 100% certain that the credentials, static client id, and hostname is correct?&lt;/p&gt;
&lt;p&gt;I see the same behavior on my side:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1698066281158v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;But, if I change my credentials to my own aws iot setup, I can connect without problems, with the same log output as I showed last week.&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: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452590?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2023 15:24:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d915186-391d-4c3a-af62-f1695d20f324</guid><dc:creator>Ivan Popov</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Håkon,&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Making the archive, I excluded the build folder from the tree and added another one (with descriptive name) containing the three certificates generated by Amazon IoT Core.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please let me know if you need something else.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;strong&gt;I removed the content, so I can return the ticket back to public (I need this for documentation).&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ivan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452589?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2023 15:16:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2abc59f5-129e-4af7-a341-6621f7cc071c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ivan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I made this case private.&lt;/p&gt;
&lt;p&gt;Please share your whole project .zip, including all your credentials so I can try it on my side.&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: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452588?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2023 13:50:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79f20e4e-f449-49f9-87fc-d527dfd3861e</guid><dc:creator>Ivan Popov</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Håkon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Since I&amp;#39;ve read in many places that the only limitation for the SEC_TAG&amp;#39;s value is to be different than the one reserved for the nRF Cloud (the one already filled in when you open the Certificate Manager), I&amp;#39;ve used different values. But I&amp;#39;ve always been careful to keep the tag the same in both the certificates I provision, and the code sample I&amp;#39;m building (in the prj.conf).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So now I just returned the value everywhere to &lt;strong&gt;201&lt;/strong&gt;, reprovisioned the three certificates the same way you describe it, and flashed the newly built&amp;nbsp;&lt;strong&gt;app_signed.hex&lt;/strong&gt;&amp;nbsp;file. The result unfortunately was all the same:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/7433.Screenshot-from-2023_2D00_10_2D00_20-16_2D00_36_2D00_10.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I&amp;#39;m missing something I already have no idea what it might be ..&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Actually, I noticed something at some point. I&amp;#39;m not sure if it is relevant at all but at in all other cases we had (with other types of devices, including virtual ones - python scripts) it was always mandatory to specify the default secure MQTT port (8883). I&amp;#39;ve never found a related property in the code samples - is it something hardcoded deeper in the firmware?&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ivan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452587?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2023 12:48:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:047e121f-9580-4441-914a-8471cc67e9ba</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ivan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you targeting the correct SEC_TAG?&lt;/p&gt;
&lt;p&gt;In the aws_iot sample, this is by-default set to &amp;#39;201&amp;#39; - what is it set to in your firmware?&lt;/p&gt;
[quote user="Ivan Popov"]Could you please provide a procedure for provisioning the certificates that is correct? Because out of the several variants available in different part of the &lt;a href="https://docs.nordicsemi.com/bundle/nrf-asset-tracker-v1.6.x/page/docs/devices/FlashingCertificate/Desktop.html"&gt;Nordic documentation&lt;/a&gt;, so far nothing changes the end result and I always end up with the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/lib/libc/minimal/include/errno.h#L113"&gt;ENOTCONN&lt;/a&gt; (-128) error which according to its comment is related to some &lt;strong&gt;socket&lt;/strong&gt; and not with the credentials (I saw many cases where people get error 111, regarding the credentials).&amp;nbsp;[/quote]
&lt;p&gt;This highly depends on how you&amp;#39;ve setup the project to load certificates.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I used AT%CMNG, via the &amp;quot;certificate manager&amp;quot;, where I manually copied in each certificate:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/0005.pastedimage1697806001277v1.png" alt=" " /&gt;&lt;/p&gt;
[quote user="Ivan Popov"]with and without an empty new line after the closing line (-----END CERTIFICATE-----)[/quote]
&lt;p&gt;Do not remove these, or alter the certificate in any way.&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: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452586?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 15:15:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a7a0cb6-97b2-417f-b859-32ea3d61528d</guid><dc:creator>Ivan Popov</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Håkon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you please provide a procedure for provisioning the certificates that is correct? Because out of the several variants available in different part of the &lt;a href="https://docs.nordicsemi.com/bundle/nrf-asset-tracker-v1.6.x/page/docs/devices/FlashingCertificate/Desktop.html"&gt;Nordic documentation&lt;/a&gt;, so far nothing changes the end result and I always end up with the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/lib/libc/minimal/include/errno.h#L113"&gt;ENOTCONN&lt;/a&gt; (-128) error which according to its comment is related to some &lt;strong&gt;socket&lt;/strong&gt; and not with the credentials (I saw many cases where people get error 111, regarding the credentials).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I worked exclusively with the Certificate Manager (in the Cellular Monitor application) and rewrote the certificates several times with:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;different security tags (never the one reserved for the nRF Cloud)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;with and without an empty new line after the closing line (-----END CERTIFICATE-----)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;I even tried to add them into the dedicated files in the source tree (perfectly realising that this is most probably a deprecated practice)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6648.Screenshot-from-2023_2D00_10_2D00_19-16_2D00_54_2D00_30.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Beyond that I tried your proposal:&lt;/p&gt;
[quote userid="2115" url="~/f/nordic-q-a/104132/weird-output-from-serial-port/450966"]Note that you should set your client id + hostname according to the AWS IoT settings, similar to this (XXYYZZ11 used as example here):[/quote]
&lt;p&gt;although it doesn&amp;#39;t make sense for the following reasons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;As AWS describe it in their &lt;a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-connect-devices.html?icmpid=docs_iot_hp_settings#iot-connect-device-endpoints"&gt;own documentation&lt;/a&gt; - the first part of the broker host name is &amp;quot;an account specific prefix&amp;quot; and can&amp;#39;t be matched to an individual devise (but even it it could then which one of the myriad registered devices?)&lt;/li&gt;
&lt;li&gt;In our system we&amp;#39;ve registered so far some other types of devices too and the and it always worked this way: the Client ID is the unique ID given to the device by the AWS IoT Core registry and the broker host name is an MQTT endpoint for all the devices to connect to and is expected to always have the same constant value.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;Eventually, I&amp;#39;m still revolving around this state:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4505.Screenshot-from-2023_2D00_10_2D00_19-17_2D00_11_2D00_32.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and wonder how this socket connection requirement can be satisfied.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ivan&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452585?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2023 07:42:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b159994a-e9b4-48a3-90bc-fbac2bc178bc</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ivan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I believe that the certificates are not correctly provisioned.&lt;/p&gt;
&lt;p&gt;You should have seen something like this in the log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;I: AWS_IOT_EVT_CONNECTING
+CSCON: 1
I: RRC mode: Connected
I: AWS_IOT_EVT_CONNECTED
I: Publishing: {
        &amp;quot;state&amp;quot;:        {
                &amp;quot;reported&amp;quot;:     {
                        &amp;quot;app_version&amp;quot;:  &amp;quot;v1.0.0&amp;quot;,
                        &amp;quot;batv&amp;quot;: 4414,
                        &amp;quot;ts&amp;quot;:   1697613890218
                }
        }
} to AWS IoT broker
+CEREG: 5,&amp;quot;08FF&amp;quot;,&amp;quot;0201EE0C&amp;quot;,7,,,&amp;quot;00100001&amp;quot;,&amp;quot;00000110&amp;quot;
I: PSM parameter update: TAU: 3600, Active time: 60
I: AWS_IOT_EVT_READY
I: AWS_IOT_EVT_PUBACK, message ID: 38561
I: AWS_IOT_EVT_DATA_RECEIVED
I: Data received from AWS IoT console: Topic: $aws/things/client-id/shadow/get/accepted Message: {
        &amp;quot;state&amp;quot;:        {
                &amp;quot;desired&amp;quot;:      {
                        &amp;quot;welcome&amp;quot;:      &amp;quot;aws-iot&amp;quot;
                },
                &amp;quot;reported&amp;quot;:     {
                        &amp;quot;welcome&amp;quot;:      &amp;quot;aws-iot&amp;quot;,
                        &amp;quot;app_version&amp;quot;:  &amp;quot;v1.0.0&amp;quot;,
                        &amp;quot;batv&amp;quot;: 4414,
                        &amp;quot;ts&amp;quot;:   1697613890218
                }
        },
        &amp;quot;metadata&amp;quot;:     {
                &amp;quot;desired&amp;quot;:      {
                        &amp;quot;welcome&amp;quot;:      {
                                &amp;quot;timestamp&amp;quot;:    1611324816
                        }
                },
                &amp;quot;reported&amp;quot;:     {
                        &amp;quot;welcome&amp;quot;:      {
                                &amp;quot;timestamp&amp;quot;:    1611324816
                        },
                        &amp;quot;app_version&amp;quot;:  {
                                &amp;quot;timestamp&amp;quot;:    1697613890
                        },
                        &amp;quot;batv&amp;quot;: {
                                &amp;quot;timestamp&amp;quot;:    1697613890
                        },
                        &amp;quot;ts&amp;quot;:   {
                                &amp;quot;timestamp&amp;quot;:    1697613890
                        }
                }
        },
        &amp;quot;version&amp;quot;:      241,
        &amp;quot;timestamp&amp;quot;:    1697613891
}
+CSCON: 0
I: RRC mode: Idle
I: Publishing: {
        &amp;quot;state&amp;quot;:        {
                &amp;quot;reported&amp;quot;:     {
                        &amp;quot;batv&amp;quot;: 4414,
                        &amp;quot;ts&amp;quot;:   1697613950219
                }
        }
} to AWS IoT broker
I: Next data publication in 60 seconds&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to reprovision your certificates?&lt;/p&gt;
&lt;p&gt;You should provide the &amp;quot;*-certificate.pem&amp;quot;, &amp;quot;*-private.pem&amp;quot; and &amp;quot;AmazonRootCA1.pem&amp;quot; while provisioning.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that you should set your client id + hostname according to the AWS IoT settings, similar to this (XXYYZZ11 used as example here):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_AWS_IOT_CLIENT_ID_STATIC=&amp;quot;XXYYZZ11&amp;quot;
CONFIG_AWS_IOT_BROKER_HOST_NAME=&amp;quot;xxyyzz11-ats.iot.eu-north-1.amazonaws.com&amp;quot;&lt;/pre&gt;&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: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452584?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2023 08:13:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a18802c-2d0b-4127-9818-5039af660490</guid><dc:creator>Ivan Popov</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Håkon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As you can see from the AWS&amp;#39; MQTT Client the communication goes successfully in both directions, which means the certificates and the security tag can not be the problem:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6433.Screenshot-from-2023_2D00_10_2D00_17-10_2D00_54_2D00_13.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4370.Screenshot-from-2023_2D00_10_2D00_17-10_2D00_54_2D00_32.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is the log you requested:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;&lt;pre class="ui-code" data-mode="text"&gt;2023-10-17T07:44:22.207Z DEBUG Application data folder: /home/jp/.config/nrfconnect/pc-nrfconnect-linkmonitor
2023-10-17T07:44:22.288Z DEBUG App pc-nrfconnect-linkmonitor v2.0.4 local
2023-10-17T07:44:22.289Z DEBUG App path: /home/jp/.nrfconnect-apps/node_modules/pc-nrfconnect-linkmonitor
2023-10-17T07:44:22.289Z DEBUG nRFConnect 4.2.1, required by the app is (&amp;gt;=4.0.0)
2023-10-17T07:44:22.289Z DEBUG nRFConnect path: /tmp/.mount_nrfcon9UKuUf/resources/app.asar
2023-10-17T07:44:22.289Z DEBUG HomeDir: /home/jp
2023-10-17T07:44:22.289Z DEBUG TmpDir: /tmp
2023-10-17T07:44:22.307Z INFO Using nrf-device-lib-js version: 0.6.12
2023-10-17T07:44:22.307Z INFO Using nrf-device-lib version: 0.15.3
2023-10-17T07:44:22.307Z INFO Using nrfjprog DLL version: 10.19.1
2023-10-17T07:44:22.307Z INFO Using JLink version: JLink_V7.80c
2023-10-17T07:44:50.227Z INFO Modem port is opened
2023-10-17T07:44:50.252Z DEBUG modem &amp;gt;&amp;gt; AT+CFUN?
2023-10-17T07:44:50.279Z DEBUG modem &amp;lt;&amp;lt; +CFUN: 1
2023-10-17T07:44:50.285Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.311Z DEBUG modem &amp;gt;&amp;gt; AT+CGSN=1
2023-10-17T07:44:50.323Z DEBUG modem &amp;lt;&amp;lt; +CGSN: &amp;quot;-------------&amp;quot;
2023-10-17T07:44:50.328Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.334Z DEBUG modem &amp;gt;&amp;gt; AT+CGMI
2023-10-17T07:44:50.351Z DEBUG modem &amp;lt;&amp;lt; Nordic Semiconductor ASA
2023-10-17T07:44:50.358Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.366Z DEBUG modem &amp;gt;&amp;gt; AT+CGMM
2023-10-17T07:44:50.376Z DEBUG modem &amp;lt;&amp;lt; nRF9160-SICA
2023-10-17T07:44:50.382Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.392Z DEBUG modem &amp;gt;&amp;gt; AT+CGMR
2023-10-17T07:44:50.403Z DEBUG modem &amp;lt;&amp;lt; mfw_nrf9160_1.3.4
2023-10-17T07:44:50.414Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.421Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.3.4] SerNr: ------------
2023-10-17T07:44:50.426Z DEBUG modem &amp;gt;&amp;gt; AT+CEMODE?
2023-10-17T07:44:50.437Z DEBUG modem &amp;lt;&amp;lt; +CEMODE: 0
2023-10-17T07:44:50.445Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.467Z DEBUG modem &amp;gt;&amp;gt; AT%XCBAND=?
2023-10-17T07:44:50.481Z DEBUG modem &amp;lt;&amp;lt; %XCBAND: (1,2,3,4,5,8,12,13,17,19,20,25,26,28,66)
2023-10-17T07:44:50.485Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.503Z DEBUG modem &amp;gt;&amp;gt; AT+CMEE?
2023-10-17T07:44:50.513Z DEBUG modem &amp;lt;&amp;lt; +CMEE: 0
2023-10-17T07:44:50.517Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.525Z DEBUG modem &amp;gt;&amp;gt; AT+CMEE=1
2023-10-17T07:44:50.533Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.541Z DEBUG modem &amp;gt;&amp;gt; AT+CNEC?
2023-10-17T07:44:50.551Z DEBUG modem &amp;lt;&amp;lt; +CNEC: 0
2023-10-17T07:44:50.557Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.565Z DEBUG modem &amp;gt;&amp;gt; AT+CNEC=24
2023-10-17T07:44:50.575Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.580Z DEBUG modem &amp;gt;&amp;gt; AT+CGEREP?
2023-10-17T07:44:50.591Z DEBUG modem &amp;lt;&amp;lt; +CGEREP: 0,0
2023-10-17T07:44:50.596Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.600Z DEBUG modem &amp;gt;&amp;gt; AT+CGDCONT?
2023-10-17T07:44:50.616Z DEBUG modem &amp;lt;&amp;lt; +CGDCONT: 0,&amp;quot;IP&amp;quot;,&amp;quot;iot.1nce.net&amp;quot;,&amp;quot;10.137.163.1&amp;quot;,0,0
2023-10-17T07:44:50.623Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.650Z DEBUG modem &amp;gt;&amp;gt; AT+CGACT?
2023-10-17T07:44:50.664Z DEBUG modem &amp;lt;&amp;lt; +CGACT: 0,1
2023-10-17T07:44:50.668Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.681Z DEBUG modem &amp;gt;&amp;gt; AT+CGEREP=1
2023-10-17T07:44:50.690Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.695Z DEBUG modem &amp;gt;&amp;gt; AT+CIND=1,1,1
2023-10-17T07:44:50.706Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.712Z DEBUG modem &amp;gt;&amp;gt; AT+CEREG=5
2023-10-17T07:44:50.720Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.728Z DEBUG modem &amp;gt;&amp;gt; AT+CEREG?
2023-10-17T07:44:50.742Z DEBUG modem &amp;lt;&amp;lt; +CEREG: 5,5,&amp;quot;00C7&amp;quot;,&amp;quot;011707CB&amp;quot;,9,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
2023-10-17T07:44:50.746Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.761Z DEBUG modem &amp;gt;&amp;gt; AT+COPS=3,2
2023-10-17T07:44:50.771Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.776Z DEBUG modem &amp;gt;&amp;gt; AT+COPS?
2023-10-17T07:44:50.786Z DEBUG modem &amp;lt;&amp;lt; +COPS: 0,2,&amp;quot;28401&amp;quot;,9
2023-10-17T07:44:50.791Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.809Z DEBUG modem &amp;gt;&amp;gt; AT%XCBAND
2023-10-17T07:44:50.819Z DEBUG modem &amp;lt;&amp;lt; %XCBAND: 8
2023-10-17T07:44:50.824Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.845Z DEBUG modem &amp;gt;&amp;gt; AT+CGDCONT?
2023-10-17T07:44:50.864Z DEBUG modem &amp;lt;&amp;lt; +CGDCONT: 0,&amp;quot;IP&amp;quot;,&amp;quot;iot.1nce.net&amp;quot;,&amp;quot;10.137.163.1&amp;quot;,0,0
2023-10-17T07:44:50.869Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.890Z DEBUG modem &amp;gt;&amp;gt; AT+CGACT?
2023-10-17T07:44:50.900Z DEBUG modem &amp;lt;&amp;lt; +CGACT: 0,1
2023-10-17T07:44:50.904Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.918Z DEBUG modem &amp;gt;&amp;gt; AT%CESQ=1
2023-10-17T07:44:50.929Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.934Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:44:50.944Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,26,60
2023-10-17T07:44:50.951Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.974Z DEBUG modem &amp;gt;&amp;gt; AT%XSIM=1
2023-10-17T07:44:50.984Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:50.995Z DEBUG modem &amp;gt;&amp;gt; AT%XSIM?
2023-10-17T07:44:51.009Z DEBUG modem &amp;lt;&amp;lt; %XSIM: 1
2023-10-17T07:44:51.013Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:51.027Z DEBUG modem &amp;gt;&amp;gt; AT+CPIN?
2023-10-17T07:44:51.039Z DEBUG modem &amp;lt;&amp;lt; +CPIN: READY
2023-10-17T07:44:51.043Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:51.059Z DEBUG modem &amp;gt;&amp;gt; AT+CPINR=&amp;quot;SIM PIN&amp;quot;
2023-10-17T07:44:51.078Z DEBUG modem &amp;lt;&amp;lt; +CPINR: &amp;quot;SIM PIN&amp;quot;,3
2023-10-17T07:44:51.083Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:51.103Z DEBUG modem &amp;gt;&amp;gt; AT+CIMI
2023-10-17T07:44:51.113Z DEBUG modem &amp;lt;&amp;lt; ---------
2023-10-17T07:44:51.118Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:44:51.122Z INFO IMSIdentity: ----------
2023-10-17T07:44:51.161Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 60,3,27,3
2023-10-17T07:44:52.232Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:44:52.247Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,24,60
2023-10-17T07:44:52.254Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:45:02.611Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:45:02.616Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:45:08.352Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:45:08.361Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:45:08.712Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,21,3
2023-10-17T07:45:18.601Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:45:18.623Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:45:18.709Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 60,3,27,3
2023-10-17T07:45:18.927Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:45:18.948Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:45:22.232Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:45:22.259Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,24,59
2023-10-17T07:45:22.272Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:45:23.068Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 59,2,22,3
2023-10-17T07:45:26.519Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,27,3
2023-10-17T07:45:32.388Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:45:32.408Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:45:38.113Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:45:38.119Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:45:38.472Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,21,3
2023-10-17T07:45:47.499Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 59,2,26,3
2023-10-17T07:45:48.603Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:45:48.615Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:45:49.007Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:45:49.013Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:45:52.232Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:45:52.256Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,24,58
2023-10-17T07:45:52.266Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:46:05.491Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:46:05.500Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:46:11.233Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:46:11.252Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:46:13.067Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 60,3,20,2
2023-10-17T07:46:18.605Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:46:18.611Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:46:18.709Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,27,3
2023-10-17T07:46:18.928Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:46:18.934Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:46:22.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:46:22.259Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,25,61
2023-10-17T07:46:22.268Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:46:32.851Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:46:32.860Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:46:38.595Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:46:38.615Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:46:43.783Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 64,3,20,2
2023-10-17T07:46:48.607Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:46:48.622Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:46:48.709Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,27,3
2023-10-17T07:46:49.007Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:46:49.023Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:46:52.236Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:46:52.258Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,25,63
2023-10-17T07:46:52.265Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:47:02.291Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:47:02.312Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:47:08.033Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:47:08.053Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:47:08.395Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 60,3,22,3
2023-10-17T07:47:18.611Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:47:18.630Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:47:18.690Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,28,4
2023-10-17T07:47:18.929Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:47:18.950Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:47:22.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:47:22.282Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,29,62
2023-10-17T07:47:22.288Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:47:33.011Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:47:33.019Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:47:38.753Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:47:38.773Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:47:40.107Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,22,3
2023-10-17T07:47:48.612Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:47:48.616Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:47:48.709Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 59,2,27,3
2023-10-17T07:47:49.007Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:47:49.012Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:47:52.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:47:52.280Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,25,61
2023-10-17T07:47:52.289Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:48:02.131Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:48:02.148Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:48:07.873Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:48:07.880Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:48:08.235Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,22,3
2023-10-17T07:48:18.614Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:48:18.634Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:48:18.928Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:48:18.939Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:48:22.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:48:22.283Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,24,60
2023-10-17T07:48:22.290Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:48:27.522Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,27,3
2023-10-17T07:48:33.624Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:48:33.645Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:48:39.393Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:48:39.415Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:48:46.678Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,21,3
2023-10-17T07:48:48.616Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:48:48.635Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:48:48.709Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,29,4
2023-10-17T07:48:49.007Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:48:49.027Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:48:52.236Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:48:52.262Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,27,63
2023-10-17T07:48:52.271Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:48:52.842Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,24,3
2023-10-17T07:49:03.236Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:49:03.243Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:49:03.410Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 64,3,29,4
2023-10-17T07:49:08.993Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:49:09.013Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:49:09.355Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,23,3
2023-10-17T07:49:17.397Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 57,2,22,3
2023-10-17T07:49:18.618Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:49:18.624Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:49:18.712Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 60,3,28,4
2023-10-17T07:49:18.929Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:49:18.941Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:49:22.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:49:22.281Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,25,59
2023-10-17T07:49:22.287Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:49:23.068Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 59,2,23,3
2023-10-17T07:49:31.851Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 54,2,22,3
2023-10-17T07:49:31.908Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:49:31.913Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:49:37.633Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:49:37.652Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:49:48.621Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:49:48.636Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:49:49.008Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:49:49.024Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:49:52.239Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:49:52.285Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,22,56
2023-10-17T07:49:52.291Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:49:53.402Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 59,2,24,3
2023-10-17T07:50:03.908Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:50:03.914Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:50:07.971Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,29,4
2023-10-17T07:50:09.633Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:50:09.651Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:50:09.837Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,21,3
2023-10-17T07:50:18.623Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:50:18.644Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:50:18.789Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,27,3
2023-10-17T07:50:19.087Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:50:19.096Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:50:22.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:50:22.284Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,26,62
2023-10-17T07:50:22.290Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:50:33.332Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:50:33.351Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:50:39.073Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:50:39.092Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:50:39.275Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,22,3
2023-10-17T07:50:48.625Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:50:48.644Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:50:48.730Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 66,3,29,4
2023-10-17T07:50:49.007Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:50:49.014Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:50:52.239Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:50:52.285Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,27,65
2023-10-17T07:50:52.292Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:50:52.850Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 64,3,24,3
2023-10-17T07:50:58.587Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 65,3,29,4
2023-10-17T07:51:02.451Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:51:02.471Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:51:08.193Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:51:08.198Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:51:08.395Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 64,3,22,3
2023-10-17T07:51:18.627Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:51:18.648Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:51:18.709Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 63,3,27,3
2023-10-17T07:51:18.927Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:51:18.946Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:51:22.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:51:22.285Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,25,64
2023-10-17T07:51:22.292Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:51:32.388Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:51:32.393Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:51:38.113Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:51:38.134Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:51:40.747Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 65,3,20,2
2023-10-17T07:51:48.630Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:51:48.651Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:51:48.730Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 64,3,26,3
2023-10-17T07:51:49.007Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:51:49.028Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:51:52.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:51:52.249Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,26,64
2023-10-17T07:51:52.256Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:52:04.036Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:52:04.042Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:52:09.793Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:52:09.814Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:52:10.154Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,21,3
2023-10-17T07:52:18.631Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:52:18.637Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:52:18.729Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 63,3,26,3
2023-10-17T07:52:18.927Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:52:18.932Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:52:22.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:52:22.295Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,25,61
2023-10-17T07:52:22.305Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:52:32.388Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:52:32.413Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:52:38.113Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:52:38.133Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:52:48.635Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:52:48.656Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:52:49.007Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:52:49.028Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:52:52.238Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:52:52.287Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,26,62
2023-10-17T07:52:52.294Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:53:03.093Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:53:03.100Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:53:07.611Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 58,2,27,3
2023-10-17T07:53:08.835Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:53:08.847Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:53:09.035Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,22,3
2023-10-17T07:53:18.636Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:53:18.642Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:53:18.729Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 60,3,27,3
2023-10-17T07:53:18.927Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:53:18.933Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:53:22.236Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:53:22.266Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,25,61
2023-10-17T07:53:22.273Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:53:33.959Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:53:33.979Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:53:39.713Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:53:39.729Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:53:43.627Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,19,2
2023-10-17T07:53:48.638Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:53:48.644Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:53:48.829Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,27,3
2023-10-17T07:53:49.007Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:53:49.018Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:53:52.236Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:53:52.247Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,24,62
2023-10-17T07:53:52.255Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:54:02.469Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:54:02.492Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:54:08.193Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:54:08.200Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:54:14.347Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 63,3,21,3
2023-10-17T07:54:18.641Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:54:18.649Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:54:18.730Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,28,4
2023-10-17T07:54:18.927Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:54:18.949Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:54:22.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:54:22.268Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,24,61
2023-10-17T07:54:22.275Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:54:22.362Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,23,3
2023-10-17T07:54:28.295Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 56,2,23,3
2023-10-17T07:54:31.891Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:54:31.897Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:54:37.633Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:54:37.640Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:54:37.995Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,23,3
2023-10-17T07:54:48.643Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:54:48.651Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:54:49.007Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:54:49.012Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:54:51.588Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,28,4
2023-10-17T07:54:52.236Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:54:52.288Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,27,62
2023-10-17T07:54:52.295Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:54:53.442Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 60,3,23,3
2023-10-17T07:55:02.235Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,28,4
2023-10-17T07:55:03.588Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:55:03.595Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:55:09.313Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:55:09.320Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:55:10.678Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 60,3,20,2
2023-10-17T07:55:18.645Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:55:18.660Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:55:18.729Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 60,3,27,3
2023-10-17T07:55:18.928Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:55:18.955Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:55:22.236Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:55:22.269Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,26,61
2023-10-17T07:55:22.276Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:55:33.474Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:55:33.480Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:55:39.233Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:55:39.245Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:55:39.435Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 60,3,21,3
2023-10-17T07:55:48.647Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:55:48.656Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:55:48.749Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 60,3,28,4
2023-10-17T07:55:49.007Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:55:49.013Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:55:52.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:55:52.297Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,24,62
2023-10-17T07:55:52.303Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:56:02.133Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:56:02.142Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:56:07.874Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:56:07.889Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:56:08.235Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 63,3,22,3
2023-10-17T07:56:18.649Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:56:18.667Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:56:18.749Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 60,3,27,3
2023-10-17T07:56:18.928Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:56:18.949Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:56:22.236Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:56:22.284Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,26,61
2023-10-17T07:56:22.289Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:56:37.491Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:56:37.500Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:56:43.233Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:56:43.249Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:56:47.948Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,19,2
2023-10-17T07:56:48.652Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:56:48.659Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:56:48.749Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,29,4
2023-10-17T07:56:49.008Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:56:49.030Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:56:52.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:56:52.289Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,26,63
2023-10-17T07:56:52.295Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:56:55.908Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,24,3
2023-10-17T07:57:02.435Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:57:02.455Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:57:08.194Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:57:08.215Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:57:18.654Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:57:18.675Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:57:18.719Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,19,2
2023-10-17T07:57:18.753Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,26,3
2023-10-17T07:57:18.928Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:57:18.950Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:57:22.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:57:22.291Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,23,59
2023-10-17T07:57:22.297Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:57:32.854Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:57:32.878Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:57:38.593Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:57:38.615Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:57:44.280Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 59,2,21,3
2023-10-17T07:57:48.657Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:57:48.676Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:57:48.750Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 60,3,26,3
2023-10-17T07:57:49.008Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:57:49.025Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:57:52.236Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:57:52.272Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,26,60
2023-10-17T07:57:52.278Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:58:04.037Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:58:04.059Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:58:09.794Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:58:09.814Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:58:14.988Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,18,2
2023-10-17T07:58:18.658Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:58:18.666Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:58:18.749Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 59,2,24,3
2023-10-17T07:58:18.928Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:58:18.950Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:58:22.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:58:22.296Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,24,61
2023-10-17T07:58:22.302Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:58:32.853Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:58:32.878Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:58:35.730Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 64,3,28,4
2023-10-17T07:58:38.593Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:58:38.613Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:58:38.955Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,21,3
2023-10-17T07:58:45.739Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,26,3
2023-10-17T07:58:48.660Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:58:48.721Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:58:49.008Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:58:49.028Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:58:52.236Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:58:52.248Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,24,61
2023-10-17T07:58:52.258Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:59:02.469Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:59:02.492Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:59:08.193Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:59:08.213Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:59:11.307Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 63,3,19,2
2023-10-17T07:59:16.459Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,24,3
2023-10-17T07:59:18.663Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:59:18.685Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:59:18.928Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:59:18.949Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:59:22.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:59:22.294Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,26,61
2023-10-17T07:59:22.301Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T07:59:33.012Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T07:59:33.020Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T07:59:38.491Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,29,4
2023-10-17T07:59:38.754Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T07:59:38.775Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T07:59:39.115Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 64,3,23,3
2023-10-17T07:59:48.666Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T07:59:48.688Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T07:59:48.749Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 64,3,29,4
2023-10-17T07:59:49.008Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T07:59:49.029Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T07:59:51.642Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,24,3
2023-10-17T07:59:52.237Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T07:59:52.293Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,25,62
2023-10-17T07:59:52.299Z DEBUG modem &amp;lt;&amp;lt; OK
2023-10-17T08:00:02.277Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_DISCONNECTED
2023-10-17T08:00:02.289Z DEBUG modem &amp;lt;&amp;lt; E: Cloud MQTT input error: -128
2023-10-17T08:00:03.763Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 64,3,29,4
2023-10-17T08:00:08.033Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 0
2023-10-17T08:00:08.054Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Idle
2023-10-17T08:00:08.235Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 63,3,24,3
2023-10-17T08:00:12.747Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 62,3,19,2
2023-10-17T08:00:18.667Z DEBUG modem &amp;lt;&amp;lt; I: Next connection retry in 30 seconds
2023-10-17T08:00:18.672Z DEBUG modem &amp;lt;&amp;lt; I: AWS_IOT_EVT_CONNECTING
2023-10-17T08:00:18.769Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 61,3,27,3
2023-10-17T08:00:19.087Z DEBUG modem &amp;lt;&amp;lt; +CSCON: 1
2023-10-17T08:00:19.096Z DEBUG modem &amp;lt;&amp;lt; I: RRC mode: Connected
2023-10-17T08:00:22.236Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ
2023-10-17T08:00:22.266Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,25,62
2023-10-17T08:00:22.274Z DEBUG modem &amp;lt;&amp;lt; OK&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;And it goes like this. The error seems to persist but it obviously doesn&amp;#39;t hinder the communication.&lt;/pre&gt;
&lt;p&gt;It looks like some sort of handshake fails.&lt;/p&gt;
&lt;p&gt;One question: In the Asset Tracker code sample I see there is a lot of features added for different purposes. Can you tell me which part of the code (and on what configuration it depends) is responsible for reading the the sensor outputs (+ the battery state) and prepares the data for the cloud?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ivan Popov&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452583?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 12:29:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd58d4c7-075e-4472-90b9-25fa67a4226c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ivan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It successfully connects to a network now, but you get a -128 return, which resolves to ENOTCONN, ie. not connected.&lt;/p&gt;
&lt;p&gt;Can you share a log from reset and to the point where the problem occurs?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;All certifications etc are provisioned correctly to the configured SEC_TAG?&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: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452582?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 07:35:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:418573b9-d93f-433a-aa24-cccfe33d2bd0</guid><dc:creator>Ivan Popov</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Håkon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This&amp;nbsp;is a promising start of the week. Maybe we&amp;#39;re onto something with it. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The UART indicator is still blinking between yellow and red, after I added this property tothe configuration but at least there is more significant info in the interface and the log (Operator, MQTT status, etc.):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6406.Screenshot-from-2023_2D00_10_2D00_16-10_2D00_30_2D00_06.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ivan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452581?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 07:04:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66a9c98e-b39c-448c-8efb-2f27fa5ddbba</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ivan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the added info. The screenshots still show no coverage.&lt;/p&gt;
&lt;p&gt;Have you ensured at NB-IoT is enabled in firmware?&lt;/p&gt;
&lt;p&gt;For instance by selecting:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LTE_NETWORK_MODE_NBIOT_GPS=y&lt;/pre&gt;&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: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452580?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 13:15:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a6514e7-ba20-42e3-a983-3e8d2049f8e5</guid><dc:creator>Ivan Popov</dc:creator><description>&lt;p&gt;Oh, I&amp;#39;m sorry!&lt;/p&gt;
&lt;p&gt;I probably had to share that information earlier (I guess I forgot about this because it was covered in a &lt;a href="https://devzone.nordicsemi.com/support/309294"&gt;previous ticket&lt;/a&gt;) - there is not LTE-M coverage in the country. There is maybe like one and a half (the second one is not official) provision of NB-IoT from the local operators. So we used that in order to register the Thingy in the nRFCloud initially (we used 1nce, because iBasis provided only LTE-M here).&lt;/p&gt;
&lt;p&gt;So, with that in the context, here are two more screenshots:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6076.Screenshot-from-2023_2D00_10_2D00_13-14_2D00_13_2D00_08.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;and&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/5226.Screenshot-from-2023_2D00_10_2D00_13-14_2D00_32_2D00_48.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;which I hope provide some relevant information. On the second one the UART indicator in the top-left corner constantly changes between yellow and red.&lt;/p&gt;
&lt;p&gt;And no - there no any other logs in the console over time. I really hoped to see something like &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.2/nrf/samples/nrf9160/aws_iot/README.html#sample-output"&gt;this&lt;/a&gt; already.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ivan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452579?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 10:54:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d8c74f7-2508-46a2-b577-22e56a5e13f5</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ivan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The output from the serial app shows that logs are now working.&lt;/p&gt;
&lt;p&gt;The &amp;quot;I:&amp;quot; indicate that it is outputted from a LOG_INF() call.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The return from CEREG: 4 indicate that there&amp;#39;s likely no cells in the area:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/cereg_read.html?cp=2_1_7_6_1"&gt;https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/cereg_read.html?cp=2_1_7_6_1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could it be that the modem reset loop restriction has occurred?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/nwp_042/WP/nwp_042/intro.html?cp=2_0_6_1"&gt;https://infocenter.nordicsemi.com/topic/nwp_042/WP/nwp_042/intro.html?cp=2_0_6_1&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there any other logs that are printed over time?&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: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452578?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 08:56:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f1e8e68-6fc8-4dca-80a3-5128059c458b</guid><dc:creator>Ivan Popov</dc:creator><description>&lt;p&gt;Well,&lt;/p&gt;
&lt;p&gt;Adding those properties to the config file gives me the following warning:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/1565.Screenshot-from-2023_2D00_10_2D00_13-11_2D00_42_2D00_28.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;But the build passed successfully, and I flashed the image.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The result was having the usual MQTT communication in AWS and only this output in the ST:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/2146.Screenshot-from-2023_2D00_10_2D00_13-11_2D00_49_2D00_49.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Trying with Putty again gives me nothing when clicking on the &amp;#39;Open&amp;#39; button.&lt;/p&gt;
&lt;p&gt;I was supposed to put those properties in the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;strong&gt;prj.conf&lt;/strong&gt;&lt;/span&gt; file, right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Ivan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452577?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 08:27:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:318987d0-3323-4224-9b69-ecc7633db36b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ivan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;No worries, keep the case open until we have all the&amp;nbsp;issues ironed out.&lt;/p&gt;
&lt;p&gt;Were you able to get the debug log output on UART with these configurations?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG=y
CONFIG_LOG_BACKEND_UART=y
CONFIG_UART_CONSOLE=y
CONFIG_CONSOLE=y&lt;/pre&gt;&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: Weird output from serial port</title><link>https://devzone.nordicsemi.com/thread/452576?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 07:54:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64c533b7-b965-4bf7-84dd-82222019cccb</guid><dc:creator>Ivan Popov</dc:creator><description>&lt;p&gt;OK, I guess, I understand.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think I should run a few tests first (may be for a day or two) and when I confirm that I really have the understanding, I will mark the case as closed. I hope this is OK with you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ivan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>