<?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 + serial lte modem + gps</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66348/nrf9160-dk-serial-lte-modem-gps</link><description>I am using a nRF9160 DK. I&amp;#39;m using a Windows 10 system and setup the SDK using nRF Connect. 
 I&amp;#39;ve started to experiment with the serial_lte_modem project -- version 1.3.1 using whatever the default settings are. Once I built the fw, I loaded it to the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Sep 2020 06:34:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66348/nrf9160-dk-serial-lte-modem-gps" /><item><title>RE: nRF9160 dk + serial lte modem + gps</title><link>https://devzone.nordicsemi.com/thread/272170?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 06:34:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9e11689-7f76-47fd-9a84-0e15980d7d93</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi fe-hadella,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m glad to hear that the issue was resolved!&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: nRF9160 dk + serial lte modem + gps</title><link>https://devzone.nordicsemi.com/thread/272151?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 23:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e66979eb-5cc3-40ee-931f-1ff3aa6b8ad0</guid><dc:creator>fe-hadella</dc:creator><description>&lt;p&gt;Akash helped me with the ping issue. My program was not pinging correctly due to non-escaped quotes. So, now our board and the DK are working the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 dk + serial lte modem + gps</title><link>https://devzone.nordicsemi.com/thread/272148?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 20:54:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c9cf791-d6b8-4c8c-9298-3ad9813ba769</guid><dc:creator>fe-hadella</dc:creator><description>&lt;p&gt;The only other thing I can think of is the DK&amp;#39;s SIM was used with the asset tracker fw when I first used the unit. I had to load some credentials json file onto it to get it to work. Is this needed for use with the serial lte modem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 dk + serial lte modem + gps</title><link>https://devzone.nordicsemi.com/thread/272144?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 20:31:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fbc07b9-b126-4c3a-9a32-70d1b9d85d36</guid><dc:creator>fe-hadella</dc:creator><description>&lt;p&gt;Hello again. Yesterday, I was able to get GPS working on the nRF9160DK&amp;nbsp;and our board. I am experiencing weird issue with the nRF9160DK compared to our custom board. They are both using the 1.2.1 modem fw, and are loaded with the 1.3.1 version of serial lte modem targeted to the dk board. Our board only has the UART interface and a gpio to toggle power to the nRF9160. The nReset pin is floating normally -- we have this pin routed to a jtag style connector.&lt;/p&gt;
&lt;p&gt;I captured two logs today comparing the DK board to our board. I&amp;#39;ve noticed some commands in the LTE monitor seem to spam other commands as side-effects, so I have repeated those commands using our board too. It seems like the LTE monitor is not operating our custom board via the debug out, so I made the log manually using terminal.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2020_2D00_09_2D00_29T19_5F00_08_5F00_05.836Z_2D00_log.txt"&gt;devzone.nordicsemi.com/.../2020_2D00_09_2D00_29T19_5F00_08_5F00_05.836Z_2D00_log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is a log on our board via terminal output. My lte2 program just sends the AT commands then polls the uart for the responses.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/sirius_5F00_lte_5F00_log.txt"&gt;devzone.nordicsemi.com/.../sirius_5F00_lte_5F00_log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Both SIM cards are Hologram units. The difference between the output is that the DK version is able to perform the XPING command successfully, while our custom board is not. The output otherwise appears the same. Am I missing something in terms of the commands, or is there a possible issue with the SIM card?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;fe-hadella&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 dk + serial lte modem + gps</title><link>https://devzone.nordicsemi.com/thread/271898?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2020 23:31:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87bc3865-b2d5-43eb-9879-7fbfa318bfbe</guid><dc:creator>fe-hadella</dc:creator><description>&lt;p&gt;I was also actually able to enable LTE and have GPS working our board using the PSM command. Below is the output of the `&lt;span&gt;AT+CGDCONT?` command. I can see from the Hologram website that the device is connecting to the network. However, I am not able to ping anything. It seems like the device is connecting to the tower and the network, but not the Internet.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;[root@beaglebone:~/swedar_sirius_linux/build# ./test/lte2 AT+CGDCONT?&lt;br /&gt;+CGDCONT: 0,&amp;quot;IP&amp;quot;,&amp;quot;hologram&amp;quot;,&amp;quot;10.95.222.57&amp;quot;,0,0&lt;br /&gt;OK&lt;/p&gt;
&lt;p&gt;On our device, so far, I am just sending the &amp;quot;AT+CFUN=1&amp;quot; once I power the unit. After a few seconds, I can see the +CGDCONT? returns what looks like an IP.&lt;/p&gt;
&lt;p&gt;In the LTE viewer, when I type &amp;quot;AT+CFUN?&amp;quot; as a side-effect, there are a number of commands which seem to be executed by the program. On the dk, I have been able to both connect to the network and ping things on the Internet. Is there some command necessary to connect to the Internet?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;fe-hadella&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 dk + serial lte modem + gps</title><link>https://devzone.nordicsemi.com/thread/271897?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2020 23:25:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86727109-2c39-47c3-a815-a38a32bbc019</guid><dc:creator>fe-hadella</dc:creator><description>&lt;p&gt;That worked on the dk and our board! Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 dk + serial lte modem + gps</title><link>https://devzone.nordicsemi.com/thread/271893?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2020 22:12:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c5e340a-3353-4c11-adb6-471a2931e74e</guid><dc:creator>Akash Patel</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;fe-hadella&lt;/p&gt;
&lt;p&gt;The command name was changed in NCS v1.3.x. It is now called&amp;nbsp;AT#XGPS=&amp;lt;op&amp;gt;[,&amp;lt;mask&amp;gt;] which you can see &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.3.1/nrf/applications/serial_lte_modem/README.html#gps-at-commands"&gt;here&lt;/a&gt;. There have been a number of changes to the command names for the other commands as well in NCS v1.3.x.&lt;/p&gt;
&lt;p&gt;Here is an example sequence of commands from the boot up of the example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;AT%XSYSTEMMODE=0,0,1,0&lt;/li&gt;
&lt;li&gt;AT%XMAGPIO=1,0,0,1,1,1574,1577 &amp;lt;-- This command is for DK v0.9.0&lt;/li&gt;
&lt;li&gt;AT+CFUN=1&lt;/li&gt;
&lt;li&gt;AT#XGPS=1,3 &amp;lt;-- 3 as the mask shows the satellites in view&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you have not enabled LTE on the board, then you do not need to go into PSM or eDRX to use GPS.&lt;/p&gt;
&lt;p&gt;Here is an example of the commands running on my board and obtaining a fix:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1601331102257v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I was using DK v0.9.0 with modem firmware v1.2.1 and NCS v1.3.1&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Akash&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 dk + serial lte modem + gps</title><link>https://devzone.nordicsemi.com/thread/271886?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2020 20:06:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2c82ad3-66a7-45e6-a645-6dabc90d324b</guid><dc:creator>fe-hadella</dc:creator><description>&lt;p&gt;I loaded the serial lte modem software onto the nRF9160 dk and repeated the test, this time attempting to go into the low power mode. This first run used the AT+CPSMS command.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2020_2D00_09_2D00_28T19_5F00_42_5F00_40.169Z_2D00_log.txt"&gt;devzone.nordicsemi.com/.../2020_2D00_09_2D00_28T19_5F00_42_5F00_40.169Z_2D00_log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I also tried the AT+CEDRXS command.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2020_2D00_09_2D00_28T19_5F00_52_5F00_50.039Z_2D00_log.txt"&gt;devzone.nordicsemi.com/.../2020_2D00_09_2D00_28T19_5F00_52_5F00_50.039Z_2D00_log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I am not sure if there is an order issue or anything. If `AT%XSYSTEMMODE=0,0,1,0` then it would not connect to the lte. When the system mode was &amp;quot;1,0,1,0&amp;quot; then it would connect.&lt;/p&gt;
&lt;p&gt;I did load the gps sample onto the dk board, and was able to verify the gps is working with that firmware. Like I mentioned in the previous post, the gps commands seem to lock up the dk board up.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;fe-hadella&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 dk + serial lte modem + gps</title><link>https://devzone.nordicsemi.com/thread/271768?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2020 12:10:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5458524f-d85e-4776-82ce-2206ef1df9d8</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I see that you&amp;#39;re using a hologram roaming SIM.&lt;/p&gt;
&lt;p&gt;Entering one of the lower power modes, PSM or eDRX successfully, is required for the GPS to be able to run successfully while you have a LTE connection.&lt;/p&gt;
&lt;p&gt;Are you able to enter eDRX or PSM with hologram in your area? You can request PSM by using the AT+CPSMS command, and you should be able to get the intervals by issuing &amp;quot;AT+CEREG=5&amp;quot; and when you have attached fully to the network, issue a &amp;quot;AT+CEREG?&amp;quot; to get the connection details.&lt;/p&gt;
&lt;p&gt;You should now get two bit patterns back, to reflect if PSM is enabled.&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></channel></rss>