<?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>Getting issue in nRF9160 Application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45113/getting-issue-in-nrf9160-application</link><description>Hi, 
 i am facing two issue in nRF9160 cellular application. 
 1.Asset tracker Application: 
 i loaded Asset tracker example firmware in nRF9160 eval. board. when i run this application, error was displayed on console: &amp;quot;nrf_cloud_connect failed: 60&amp;quot;.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 May 2019 10:17:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45113/getting-issue-in-nrf9160-application" /><item><title>RE: Getting issue in nRF9160 Application</title><link>https://devzone.nordicsemi.com/thread/185423?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 10:17:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7522adc2-4e86-400a-a343-3349032c2cc0</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Mattylce,&lt;/p&gt;
&lt;p&gt;The changes in my custom asset_tracker sample is the ones stated in my first post:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NRF_CLOUD_STATIC_IPV4_ADDR=&amp;lt;ip_address&amp;gt;

CONFIG_LTE_LEGACY_PCO_MODE=y

CONFIG_NRF_CLOUD_STATIC_IPV4=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But when you say &amp;quot;out-of-the box&amp;quot; experience shows that if you have any issues with that, please&amp;nbsp;&lt;strong&gt;first try to update the modem firmware.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Please find the newest version here:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Low-power-cellular-IoT/nRF9160/Download#infotabs"&gt;https://www.nordicsemi.com/Products/Low-power-cellular-IoT/nRF9160/Download#infotabs&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;IMPORTANT NOTE:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;There is a bug in the modem firmware version -&amp;gt; &amp;quot;mfw_nrf9160_0.7.0-15.alpha&amp;quot; which makes it start in &amp;quot;nb-iot mode&amp;quot; as default.&amp;nbsp;&lt;br /&gt;&lt;/strong&gt;To change to the &amp;quot;LTE-M&amp;quot; mode you need to send an&amp;nbsp; AT-Command.&lt;br /&gt;-&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fmob_termination_ctrl_status%2Fxsystemmode_set.html&amp;amp;cp=2_1_3_30_0" rel="noopener noreferrer" target="_blank"&gt;AT%XSYSTEMMODE&lt;/a&gt;=1,0,0,0&amp;nbsp;and then&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fmob_termination_ctrl_status%2Fcfun_set.html" rel="noopener noreferrer" target="_blank"&gt;AT+CFUN=0&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to save the changes into the modem flash.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-db5c140a0de44399972e95ba7063a19d/pastedimage1557137821238v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;When you restart your device it will now go into the LTE-M mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting issue in nRF9160 Application</title><link>https://devzone.nordicsemi.com/thread/184724?ContentTypeID=1</link><pubDate>Wed, 01 May 2019 20:18:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5ecaf0c-99cb-4e1a-8f81-005f65c40f52</guid><dc:creator>MattyIce</dc:creator><description>&lt;p&gt;Out of the box, my nrf9160 never blinked LED 3 and LED 4 at the same time. I programmed Martin&amp;#39;s `asset_tracker.hex` and was able to successfully register my nrf9160 with nrf cloud.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Martin, what was the change to the asset_tracker code? Where can I find this example project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting issue in nRF9160 Application</title><link>https://devzone.nordicsemi.com/thread/178019?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2019 08:59:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d273eccb-0064-46a6-8ff2-67b30c1d833f</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What network are you trying to connect to?&lt;/li&gt;
&lt;li&gt;Which modem firmware are you running?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From your at_client sample log I can see that you get a connection with the base station.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I would like you to p&lt;/em&gt;&lt;em&gt;lease try this (custom) asset_tracker sample: &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-db5c140a0de44399972e95ba7063a19d/asset_5F00_tracker.hex"&gt;devzone.nordicsemi.com/.../asset_5F00_tracker.hex&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;If this one works, we could have a better understanding whats the issue.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Use the command line with &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF5-Command-Line-Tools"&gt;nrfjprog &lt;/a&gt;to flash this sample, with this command:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;nrfjprog --program asset_tracker.hex -f nrf91 --sectorerase -r --verify&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting issue in nRF9160 Application</title><link>https://devzone.nordicsemi.com/thread/178016?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2019 08:52:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:177dcd4d-d0c0-4a0d-8180-13038135cb68</guid><dc:creator>nRF9160</dc:creator><description>&lt;p&gt;In my custom firmware, i tried to get Google&amp;nbsp;IP by calling&amp;nbsp;&lt;span&gt;&amp;quot;getaddrinfo&amp;quot; API with &amp;quot;www.google.com&amp;quot;, but i am getting same error as&amp;nbsp;error 22:No more processes&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting issue in nRF9160 Application</title><link>https://devzone.nordicsemi.com/thread/177989?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2019 04:53:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c6a507b-8d03-4518-86a1-446c812397be</guid><dc:creator>nRF9160</dc:creator><description>&lt;p&gt;I run AT_Client sample and taken logs written below, please check.&lt;/p&gt;
&lt;pre&gt;AT+CEREG?&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;+CEREG: 2,5,&amp;quot;CB32&amp;quot;,&amp;quot;031A8B03&amp;quot;,7&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;OK&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;AT+COPS=3,2&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;OK&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;AT+COPS?&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;+COPS: 0,2,&amp;quot;311480&amp;quot;,7&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;OK&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;AT%XCBAND&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;%XCBAND: 13&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;OK&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;AT+CGDCONT?&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;+CGDCONT: 0,&amp;quot;IP&amp;quot;,&amp;quot;ibasis.iot&amp;quot;,&amp;quot;10.160.171.23&amp;quot;,0,0&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;OK&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;AT+CGACT?&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;+CGACT: 0,1&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;OK&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;AT%CESQ=1&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;OK&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;AT+CESQ&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;+CESQ: 99,99,255,255,255,48&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;OK&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;AT%XSIM=1&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;OK&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;AT%XSIM?&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;%XSIM: 1&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;OK&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;AT+CPIN?&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;+CPIN: READY&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;OK&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;AT+CPINR=&amp;quot;SIM PIN&amp;quot;&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;+CPINR: &amp;quot;SIM PIN&amp;quot;,3&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;OK&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;AT+CIMI&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;204080813514770&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting issue in nRF9160 Application</title><link>https://devzone.nordicsemi.com/thread/177232?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2019 08:07:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc534a51-b7c7-4f53-9e31-7a8205c210b9</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please try to run the AT_Client sample and run the LTE Link Monitor to gather the information from the modem side, and post the results.&lt;/p&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li&gt;What network are you trying to connect to?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I have seen that some few&amp;nbsp;providers do not properly setup DNS autoconfiguration on their side, which can cause similar issues as you see.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;To confirm this you could add this to prj.conf file for asset_tracker:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NRF_CLOUD_STATIC_IPV4_ADDR=&amp;lt;ip_address&amp;gt;

CONFIG_LTE_LEGACY_PCO_MODE=y

CONFIG_NRF_CLOUD_STATIC_IPV4=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You can find the ip address to nrf cloud here:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://whatismyipaddress.com/hostname-ip"&gt;https://whatismyipaddress.com/hostname-ip&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;with the nrf cloud host:&amp;nbsp;&lt;strong&gt;a2n7tk1kp18wix-ats.iot.us-east-1.amazonaws.com&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Then you can add one of the ip-addresses in the prj.conf file.&lt;/p&gt;
&lt;p&gt;Note that these IPs can change, so you may need to update this if you want to prototype with nrf cloud.&lt;/p&gt;
&lt;p&gt;Build/flash/run&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;(note that this needs to be the asset_tracker from &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf"&gt;master branch&lt;/a&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>