<?xml-stylesheet type="text/xsl" href="https://test-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/"><channel><title>Software and Protocols - All Comments</title><link>/guides/cellular-iot-guides/b/software-and-protocols</link><description>Software, GPS, LTE-M, NB-IoT guides </description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><item><title>RE: Connecting to AWS cloud services using the nRF9160</title><link>https://test-devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/connecting-to-aws-cloud-services-using-the-nrf9160</link><pubDate>Wed, 03 Nov 2021 17:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:748d45f8-7c50-4223-b3c1-b1a38ef8b7bb</guid><dc:creator>user107948</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hello Hakan,&lt;br /&gt;Any updates?&lt;br /&gt;Can you please try to run with the latest (1.3.1) firmware drop?&lt;br /&gt;Thanks!&lt;br /&gt;John&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1334&amp;AppID=27&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF9160 DK: Offloading Bluetooth Low Energy related tasks to nRF52840 SoC</title><link>https://test-devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/nrf9160dk-offloading-bluetooth-related-tasks-to-nrf52</link><pubDate>Mon, 05 Jul 2021 09:47:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06cfa916-d4ee-4c53-8ee6-fbe7c30adc28</guid><dc:creator>user84036</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I have questions regarding the communication between nRF52 and nRF91.&lt;/p&gt;
&lt;p&gt;1. Is this UART connection similar to enable interface between two chips, by adding the below line on overlay file?&lt;/p&gt;
&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:17099f24-56d9-4914-8463-48a5b76e9b75:type=c_cpp&amp;text=%23include%20%3Cnrf9160dk_uart1_on_if0_3.dtsi%3E]&lt;/p&gt;
&lt;p&gt;2. In my application, I am using NUS service, and using uart0. Now I want to create another uart, uart1, in order to pass the data I received from BLE on nRF52 to nRF91, and send it over LTE network. But on the nRF52 side, I think it is not working. Probably there is something wrong with the device tree or configuration, since I got the device.&lt;/p&gt;
&lt;p&gt;Do you have any idea? Thank you very much.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1353&amp;AppID=27&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF9160 DK: Offloading Bluetooth Low Energy related tasks to nRF52840 SoC</title><link>https://test-devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/nrf9160dk-offloading-bluetooth-related-tasks-to-nrf52</link><pubDate>Mon, 05 Jul 2021 07:55:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06cfa916-d4ee-4c53-8ee6-fbe7c30adc28</guid><dc:creator>user84036</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thank you for interesting approach.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1353&amp;AppID=27&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF9160 DK: Offloading Bluetooth Low Energy related tasks to nRF52840 SoC</title><link>https://test-devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/nrf9160dk-offloading-bluetooth-related-tasks-to-nrf52</link><pubDate>Mon, 31 May 2021 10:33:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06cfa916-d4ee-4c53-8ee6-fbe7c30adc28</guid><dc:creator>user101635</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Not sure if I should post here, or to the community in general, but .....&lt;br /&gt;&lt;br /&gt;What you have created is&amp;nbsp;basically what I am looking for, a simple way to pass data between the 9160 &amp;amp; 52840.&amp;nbsp; I have pulled the above code, where the 9160 compiles and installs fine, but the 52840 gives an error with&amp;nbsp;respect to&amp;nbsp;&lt;span&gt;CONFIG_BOARD_NRF9160DK_INTERFACE0_MCU&lt;/span&gt;&lt;span&gt;=y and&amp;nbsp;&lt;/span&gt;&lt;span&gt;CONFIG_BOARD_NRF9160DK_INTERFACE1_MCU&lt;/span&gt;&lt;span&gt;=y&lt;br /&gt;&lt;br /&gt;/code/sdk-nrf/samples/nrf9160/nrf9160dk_serial/nrf52840/prj.conf:7: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol BOARD_NRF9160DK_INTERFACE0_MCU&lt;br /&gt;&lt;br /&gt;Did you run into this&amp;nbsp;error - as I didnt see anything in the community when I searched for the error.&lt;br /&gt;&lt;br /&gt;I am running on the 9160dk.&lt;/span&gt;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1353&amp;AppID=27&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF9160 DK: Offloading Bluetooth Low Energy related tasks to nRF52840 SoC</title><link>https://test-devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/nrf9160dk-offloading-bluetooth-related-tasks-to-nrf52</link><pubDate>Fri, 15 Jan 2021 15:05:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06cfa916-d4ee-4c53-8ee6-fbe7c30adc28</guid><dc:creator>user71845</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;This is a really interesting article. How difficult would it be to have a similar approach to other HA protocols?&amp;nbsp;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1353&amp;AppID=27&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enabling and testing TLS in mqtt_simple</title><link>https://test-devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/enabling-and-testing-tls-in-mqtt_5f00_simple</link><pubDate>Wed, 25 Nov 2020 12:44:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c442c7-e167-4efa-b47a-b293cf011c88</guid><dc:creator>user13635</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&lt;span&gt;&amp;nbsp;have followed these instructions and got to the point where it says &amp;quot;&lt;/span&gt;&lt;span&gt;At this point the sample should compile but won&amp;#39;t use TLS&amp;quot;.&amp;nbsp; It does compile but does not make a connection.&amp;nbsp; I am building for 9160-DK (ns) on the command line on MacOS.&amp;nbsp; I suspect that the problem may be that I am trying to use the supplied iBasis SIM straight out of the box.&lt;/span&gt;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1293&amp;AppID=27&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Monitoring nRF9160 data usage with connectivity statistics</title><link>https://test-devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/monitoring-nrf9160-data-usage-with-connectivity-statistics</link><pubDate>Wed, 09 Sep 2020 11:55:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50ca0a16-be84-4188-ac97-ae39299205af</guid><dc:creator>user87816</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;Is there a way to determine air time? Aka how long the modem was in an active state of communications?&lt;br /&gt;AT%XCONNSTAT? only tells you how much data was transmitted.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1332&amp;AppID=27&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How to connect nRF9160 DK to Google Cloud</title><link>https://test-devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/how-to-connect-nrf91-to-google-cloud</link><pubDate>Tue, 28 Jul 2020 20:33:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0456035-0aa1-479a-b5db-65f1536bd8b2</guid><dc:creator>user85877</dc:creator><slash:comments>1</slash:comments><description>&lt;p class="p1"&gt;Thanks for the tutorial Marte!&lt;/p&gt;
&lt;p class="p2"&gt;&lt;/p&gt;
&lt;p class="p1"&gt;For anyone interested, I&amp;#39;ve ported the gcloud library to the latest ncs version and the Thingy91.&lt;/p&gt;
&lt;p class="p1"&gt;This application gets readings from the onboard environmental sensor and publishes to an MQTT topic as described in the post above.&amp;nbsp;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;/p&gt;
&lt;p class="p3"&gt;&lt;span class="s1"&gt;&lt;a href="https://github.com/mcallistertad/nrf_google_iot_core/"&gt;https://github.com/mcallistertad/nrf_google_iot_core/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1259&amp;AppID=27&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enabling and testing TLS in mqtt_simple</title><link>https://test-devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/enabling-and-testing-tls-in-mqtt_5f00_simple</link><pubDate>Wed, 18 Mar 2020 18:22:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c442c7-e167-4efa-b47a-b293cf011c88</guid><dc:creator>user78282</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I added all of the code snippets above to the files indicated. I reloaded the project from the open nfrconnect sdk project. When I look in main.c all of the conditionals for&amp;nbsp;CONFIG_MQTT_LIB_TLS remain grayed out.&amp;nbsp; prj.conf has CONFIG_MQTT_LIB_TLS=y. What am I missing?&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1293&amp;AppID=27&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enabling and testing TLS in mqtt_simple</title><link>https://test-devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/enabling-and-testing-tls-in-mqtt_5f00_simple</link><pubDate>Tue, 03 Mar 2020 23:41:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c442c7-e167-4efa-b47a-b293cf011c88</guid><dc:creator>user87732</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Daniel,&lt;/p&gt;
&lt;p&gt;I have followed these instructions carefully but I am getting the build error:&lt;/p&gt;
&lt;p&gt;&lt;em&gt; &amp;#39;sec_tag_list&amp;#39; undeclared (first use in this function); did you mean &amp;#39;sec_tag_t&amp;#39;?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;from the changes to client_init (error line&amp;nbsp;in bold below):&lt;/p&gt;
&lt;p&gt;&lt;em&gt;#if defined(CONFIG_MQTT_LIB_TLS)&lt;/em&gt;&lt;br /&gt;&lt;em&gt; struct mqtt_sec_config *tls_config = &amp;amp;client-&amp;gt;transport.tls.config;&lt;/em&gt;&lt;br /&gt; &lt;br /&gt;&lt;em&gt; client-&amp;gt;transport.type = MQTT_TRANSPORT_SECURE;&lt;/em&gt;&lt;br /&gt; &lt;br /&gt;&lt;em&gt; tls_config-&amp;gt;peer_verify = CONFIG_PEER_VERIFY;&lt;/em&gt;&lt;br /&gt;&lt;em&gt; tls_config-&amp;gt;cipher_count = 0;&lt;/em&gt;&lt;br /&gt;&lt;em&gt; tls_config-&amp;gt;cipher_list = NULL;&lt;/em&gt;&lt;br /&gt;&lt;em&gt; &lt;strong&gt;tls_config-&amp;gt;sec_tag_count = ARRAY_SIZE(sec_tag_list);&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt; tls_config-&amp;gt;sec_tag_list = sec_tag_list;&lt;/em&gt;&lt;br /&gt;&lt;em&gt; tls_config-&amp;gt;hostname = CONFIG_MQTT_BROKER_HOSTNAME;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;#else &lt;/em&gt;&lt;br /&gt;&lt;em&gt;/* MQTT transport configuration */&lt;/em&gt;&lt;br /&gt;&lt;em&gt; client-&amp;gt;transport.type = MQTT_TRANSPORT_NON_SECURE;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;#endif /* defined(CONFIG_MQTT_LIB_TLS) */&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;maybe I have been looking at this too long and its obvious but any help would be appreciated...&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1293&amp;AppID=27&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enabling and testing TLS in mqtt_simple</title><link>https://test-devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/enabling-and-testing-tls-in-mqtt_5f00_simple</link><pubDate>Sat, 15 Feb 2020 08:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c442c7-e167-4efa-b47a-b293cf011c88</guid><dc:creator>user86377</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;hi nordic&amp;nbsp;&lt;br /&gt;&lt;br /&gt;it have some erro about cred.py,&amp;nbsp;with&amp;nbsp;&lt;span&gt;NRFJPROG DLL: -3 INVALID_PARAMETER&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;quot;&lt;br /&gt;C:\temp\ncs\nrf\samples\nrf9160\mqtt_simple\cred&amp;gt;python cred.py --CA_cert ../build/zephyr/CA.crt --client_cert ../build/zephyr/client.crt --client_private_key ../build/zephyr/client.key --sec_tag 51966 --program_app merged.hex&lt;br /&gt;xxxxxxxxxxxxxxx&lt;br /&gt;error: An error was reported by NRFJPROG DLL: -3 INVALID_PARAMETER.&lt;br /&gt;C:\temp\ncs\nrf\samples\nrf9160\mqtt_simple\cred&amp;gt;nrfjprog.exe -v&lt;br /&gt;nrfjprog version: 9.8.1&lt;br /&gt;JLinkARM.dll version: 6.54c&lt;br /&gt;&amp;quot;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1293&amp;AppID=27&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enabling and testing TLS in mqtt_simple</title><link>https://test-devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/enabling-and-testing-tls-in-mqtt_5f00_simple</link><pubDate>Tue, 04 Feb 2020 14:27:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c442c7-e167-4efa-b47a-b293cf011c88</guid><dc:creator>user77106</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Excellent article!&amp;nbsp; I especially like the trick of the cred.py mini-application to read IMEI and write certificates and application images.&lt;/p&gt;
&lt;p&gt;Heads-up to anyone depending on full TLS validation: it seems that &lt;a href="/f/nordic-q-a/55929/nrf9160-tls_hostname-support"&gt;hostname validation doesn&amp;#39;t work properly&lt;/a&gt; as of right now. It&amp;#39;s a subtle bug that doesn&amp;#39;t complain or fail, but doesn&amp;#39;t actually enable.&amp;nbsp; (i.e. the hostname will never be checked against the cert name)&lt;/p&gt;
&lt;p&gt;The PEER_VERIFY=2 does work on most servers, though, so you can still be sure that the server you&amp;#39;re connecting to is using a cert from the designated CA, which mitigates most of the risk.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1293&amp;AppID=27&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Automating nRF91 TLS credential management via serial port AT commands</title><link>https://test-devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/automating-nrf91-tls-credential-management-via-serial-port-at-commands</link><pubDate>Tue, 14 Jan 2020 16:45:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be5e769a-8096-44ca-8ae9-05089deb3d3c</guid><dc:creator>user75305</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;This is great! I would have had to build something similar myself eventually, so it&amp;#39;s great that you shared this. Regarding the method of finding the correct serial port. From PySerial you can use the serial.tools.list_ports method to find all the ports. It identifies them by Vendor ID, VID, PID, Serial Number, and a few other useful nuggets of info. You can then (usually) find the correct one to use based on this info.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1290&amp;AppID=27&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: The four kinds of data you need to consider when developing an IoT product</title><link>https://test-devzone.nordicsemi.com/guides/cellular-iot-guides/b/software-and-protocols/posts/the-four-kinds-of-data-you-need-to-consider-when-developing-an-iot-product</link><pubDate>Wed, 18 Dec 2019 01:58:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54dbc3ce-0979-43f4-9e32-7dac654249f5</guid><dc:creator>user75091</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I worked on Azure and the concept of device twins looks similar to what I used their for connecting many computers. Surely, the same concept will be very much beneficial for low power embedded devices.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1271&amp;AppID=27&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>