<?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>nRF9160-DK and lwm2m sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61962/nrf9160-dk-and-lwm2m-sample</link><description>Hi, 
 I&amp;#39;m just getting started and tried to run the lwm2m_client sample from the v1.2.0 release of the nRF Connect SDK which I assume is the latest stable version? However lte_lc_init fails with error code -5 which can be traced to the zephyr message</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 30 May 2020 13:17:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61962/nrf9160-dk-and-lwm2m-sample" /><item><title>RE: nRF9160-DK and lwm2m sample</title><link>https://devzone.nordicsemi.com/thread/252512?ContentTypeID=1</link><pubDate>Sat, 30 May 2020 13:17:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01fa1f07-5fd9-4e2e-97a6-1ba73a229105</guid><dc:creator>Louis</dc:creator><description>&lt;p&gt;Upgraded the modem firmware and I now pass lte_lc_init:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="python"&gt;#!/usr/bin/env python3
#
# Copyright (c) 2019 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic


from pynrfjprog import HighLevel
import wget
import sys

def bar_progress(current, total, width=80):
  progress_message = &amp;quot;Downloading: %d%% [%d / %d] bytes&amp;quot; % (current / total * 100, current, total)
  sys.stdout.write(&amp;quot;\r&amp;quot; + progress_message)
  sys.stdout.flush()

LATEST_FIRMWARE = &amp;quot;mfwnrf9160120.zip&amp;quot;
wget.download(&amp;quot;https://www.nordicsemi.com/-/media/Software-and-other-downloads/Dev-Kits/nRF9160-DK/nRF9160-modem-FW/&amp;quot; + LATEST_FIRMWARE, bar=bar_progress, out=&amp;quot;/tmp/&amp;quot;+LATEST_FIRMWARE)

api = HighLevel.API()
api.open()
snr = api.get_connected_probes()
for s in snr:
    probe = HighLevel.IPCDFUProbe(api, s, HighLevel.CoProcessor.CP_MODEM)
    print(&amp;quot;\nProgramming the new firmware...&amp;quot;)
    probe.program(&amp;quot;/tmp/&amp;quot;+LATEST_FIRMWARE)
    print(&amp;quot;Verifying the new firmware...&amp;quot;)
    probe.verify(&amp;quot;/tmp/&amp;quot;+LATEST_FIRMWARE)
    print(&amp;quot;Done&amp;quot;)
 
api.close()&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160-DK and lwm2m sample</title><link>https://devzone.nordicsemi.com/thread/252492?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 19:18:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c11a248-c753-48f9-a92c-88880044423c</guid><dc:creator>Louis</dc:creator><description>&lt;p&gt;Could it be the SIM card provided with the kit? It shows as &amp;quot;Not connected to any device&amp;quot; on&amp;nbsp;nrfcloud. I also tried the LTE SIM Card from my own cell phone (not sure if it&amp;#39;s even suppose to work on standard LTE) with the same result.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160-DK and lwm2m sample</title><link>https://devzone.nordicsemi.com/thread/252491?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 18:58:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0da1ff2-a35c-465f-8302-d765beaa0707</guid><dc:creator>Louis</dc:creator><description>&lt;p&gt;I believe that this is not an error with the zephyr message queue but the modem that actually &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v1.2-branch/lib/at_cmd/at_cmd.c#L94"&gt;answers &amp;quot;ERROR&amp;quot;&lt;/a&gt; to the command &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v1.2-branch/lib/lte_link_control/lte_lc.c#L110"&gt;&amp;quot;AT%XSYSTEMMODE=1,0,0,0&amp;quot;&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>