<?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>MQTT blocks restarting GPS?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50707/mqtt-blocks-restarting-gps</link><description>Hi, 
 I&amp;#39;m writing a program that swaps between LTE and GPS to send the device&amp;#39;s location to AWS over MQTT. I am able to connect to LTE and AWS, then swap to GPS and get a fix, and swap back to LTE. However, when I then try to go back to GPS, I get a bsd</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 14 Sep 2019 11:59:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50707/mqtt-blocks-restarting-gps" /><item><title>RE: MQTT blocks restarting GPS?</title><link>https://devzone.nordicsemi.com/thread/209711?ContentTypeID=1</link><pubDate>Sat, 14 Sep 2019 11:59:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d92acab8-0432-42d4-9d06-8eb41c9bfe8f</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;I solved it. Previously I names &amp;quot;nrf_rallare&amp;quot;. I changed it to &amp;quot;nrf&amp;quot; then worked out.&lt;/p&gt;
&lt;p&gt;Why don&amp;#39;t you merge the udp_gps program to the official nrf folder?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT blocks restarting GPS?</title><link>https://devzone.nordicsemi.com/thread/207008?ContentTypeID=1</link><pubDate>Fri, 30 Aug 2019 07:39:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03bc104f-caf8-4dc6-b14b-89de6d7c2f15</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Alan,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;You have an outdated west tool.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Please upgrade with the command:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;pip install west -U&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then to check the version:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;west --version&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f8c902a3330c409b9ea4356f2228868b/pastedimage1567150760735v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT blocks restarting GPS?</title><link>https://devzone.nordicsemi.com/thread/206948?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2019 17:12:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d3e044f-ea6c-49d7-bdc6-7ee5f9d1d5e0</guid><dc:creator>Alan Hasty</dc:creator><description>&lt;p&gt;Hey! - I&amp;#39;m trying to pull this project and put the Rallare fork into my current tree in place of the existing nrf directory as described above.&lt;/p&gt;
&lt;p&gt;However, when I do the west update I get the following. What is wrong?&lt;/p&gt;
&lt;p&gt;$ west update&lt;br /&gt;validation.invalid&lt;br /&gt;&amp;nbsp;--- All found errors ---&lt;br /&gt;["Key 'repo-path' was not defined. Path: '/projects/0'", "Key 'repo-path' was not defined. Path: '/projects/3'", "Key 'repo-path' was not defined. Path: '/projects/4'", "Key 'repo-path' was not defined. Path: '/projects/5'", "Key 'repo-path' was not defined. Path: '/projects/6'", "Key 'repo-path' was not defined. Path: '/projects/10'"]&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\wrk\SmartTrackTech\boohoo_nrf\.west\west\src\west\manifest.py&amp;quot;, line 153, in __init__&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; schema_files=[_SCHEMA_PATH[key]]&lt;br /&gt;&amp;nbsp; File &amp;quot;c:\python37\lib\site-packages\pykwalify\core.py&amp;quot;, line 167, in validate&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; error_msg=u&amp;#39;.\n - &amp;#39;.join(self.validation_errors)))&lt;br /&gt;pykwalify.errors.SchemaError: &amp;lt;SchemaError: error code 2: Schema validation failed:&lt;br /&gt;&amp;nbsp;- Key &amp;#39;repo-path&amp;#39; was not defined. Path: &amp;#39;/projects/0&amp;#39;.&lt;br /&gt;&amp;nbsp;- Key &amp;#39;repo-path&amp;#39; was not defined. Path: &amp;#39;/projects/3&amp;#39;.&lt;br /&gt;&amp;nbsp;- Key &amp;#39;repo-path&amp;#39; was not defined. Path: &amp;#39;/projects/4&amp;#39;.&lt;br /&gt;&amp;nbsp;- Key &amp;#39;repo-path&amp;#39; was not defined. Path: &amp;#39;/projects/5&amp;#39;.&lt;br /&gt;&amp;nbsp;- Key &amp;#39;repo-path&amp;#39; was not defined. Path: &amp;#39;/projects/6&amp;#39;.&lt;br /&gt;&amp;nbsp;- Key &amp;#39;repo-path&amp;#39; was not defined. Path: &amp;#39;/projects/10&amp;#39;.: Path: &amp;#39;/&amp;#39;&amp;gt;&lt;br /&gt;&lt;br /&gt;During handling of the above exception, another exception occurred:&lt;br /&gt;&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt;&amp;nbsp; File &amp;quot;c:\python37\lib\runpy.py&amp;quot;, line 193, in _run_module_as_main&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;__main__&amp;quot;, mod_spec)&lt;br /&gt;&amp;nbsp; File &amp;quot;c:\python37\lib\runpy.py&amp;quot;, line 85, in _run_code&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exec(code, run_globals)&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\Python37\Scripts\west.exe\__main__.py&amp;quot;, line 9, in &amp;lt;module&amp;gt;&lt;br /&gt;&amp;nbsp; File &amp;quot;c:\python37\lib\site-packages\west\_bootstrap\main.py&amp;quot;, line 499, in main&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wrap(wrap_argv)&lt;br /&gt;&amp;nbsp; File &amp;quot;c:\python37\lib\site-packages\west\_bootstrap\main.py&amp;quot;, line 485, in wrap&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; west.main.main(argv)&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\wrk\SmartTrackTech\boohoo_nrf\.west\west\src\west\main.py&amp;quot;, line 569, in main&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; extensions = get_extension_commands()&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\wrk\SmartTrackTech\boohoo_nrf\.west\west\src\west\main.py&amp;quot;, line 531, in get_extension_commands&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; extensions = extension_commands()&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\wrk\SmartTrackTech\boohoo_nrf\.west\west\src\west\commands\command.py&amp;quot;, line 181, in extension_commands&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; manifest = Manifest.from_file()&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\wrk\SmartTrackTech\boohoo_nrf\.west\west\src\west\manifest.py&amp;quot;, line 91, in from_file&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return Manifest(source_file=source_file, sections=sections)&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\wrk\SmartTrackTech\boohoo_nrf\.west\west\src\west\manifest.py&amp;quot;, line 156, in __init__&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; self._malformed(e, key)&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\wrk\SmartTrackTech\boohoo_nrf\.west\west\src\west\manifest.py&amp;quot;, line 226, in _malformed&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; complaint))&lt;br /&gt;west.manifest.MalformedManifest: Malformed manifest file C:\wrk\SmartTrackTech\boohoo_nrf\nrf\west.yml (schema: C:\wrk\SmartTrackTech\boohoo_nrf\.west\west\src\west\manifest-schema.yml):&lt;br /&gt;&amp;lt;SchemaError: error code 2: Schema validation failed:&lt;br /&gt;&amp;nbsp;- Key &amp;#39;repo-path&amp;#39; was not defined. Path: &amp;#39;/projects/0&amp;#39;.&lt;br /&gt;&amp;nbsp;- Key &amp;#39;repo-path&amp;#39; was not defined. Path: &amp;#39;/projects/3&amp;#39;.&lt;br /&gt;&amp;nbsp;- Key &amp;#39;repo-path&amp;#39; was not defined. Path: &amp;#39;/projects/4&amp;#39;.&lt;br /&gt;&amp;nbsp;- Key &amp;#39;repo-path&amp;#39; was not defined. Path: &amp;#39;/projects/5&amp;#39;.&lt;br /&gt;&amp;nbsp;- Key &amp;#39;repo-path&amp;#39; was not defined. Path: &amp;#39;/projects/6&amp;#39;.&lt;br /&gt;&amp;nbsp;- Key &amp;#39;repo-path&amp;#39; was not defined. Path: &amp;#39;/projects/10&amp;#39;.: Path: &amp;#39;/&amp;#39;&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT blocks restarting GPS?</title><link>https://devzone.nordicsemi.com/thread/206017?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2019 07:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a751902a-745c-4561-add6-39aca41c27fa</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Yusuke,&lt;/p&gt;
&lt;p&gt;If you are using the Rallare fork, and want to use the nrf9160 samples you need to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160" rel="noopener noreferrer" target="_blank"&gt;checkout the correct branch.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cd ncs/nrf
git checkout nrf9160_samples
west update&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then you should be able to open and run the samples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT blocks restarting GPS?</title><link>https://devzone.nordicsemi.com/thread/205938?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2019 15:23:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5556f1fc-4311-4b99-ad34-6e26b027523d</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Hi, Martin. I followed your instruction, but I got this error. Could you give me any advice?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Loading solution udp_gps.emProject
Executing load commands
/usr/local/bin/cmake -GNinja -DBOARD=nrf9160_pca10090ns -DBOARD_DIR=/Users/fukuharayuusuke/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/opt/gnuarmemb -B/Users/fukuharayuusuke/nRF9160/ncs/nrf_rallare/samples/nrf9160/udp_gps/build_nrf9160_pca10090ns -H/Users/fukuharayuusuke/nRF9160/ncs/nrf_rallare/samples/nrf9160/udp_gps -DPYTHON_EXECUTABLE=/usr/local/bin/python3 -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja -DDTC=/usr/local/bin/dtc -D WEST=~/.local/bin/west -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/Applications/arm_segger_embedded_studio_v416_macos_x64_nordic/html/configure_nordic_project_menuconfig.py
-- Using application from &amp;#39;/Users/fukuharayuusuke/nRF9160/ncs/nrf_rallare/samples/nrf9160/udp_gps&amp;#39;
Zephyr version: 1.14.99
-- Found PythonInterp: /usr/local/bin/python3 (found suitable version &amp;quot;3.7.3&amp;quot;, minimum required is &amp;quot;3.4&amp;quot;) 
-- Selected BOARD nrf9160_pca10090ns
-- Found west: /Users/fukuharayuusuke/.local/bin/west (found suitable version &amp;quot;0.6.0&amp;quot;, minimum required is &amp;quot;0.5.6&amp;quot;)
-- Cache files will be written to: /Users/fukuharayuusuke/Library/Caches/zephyr
-- Loading /Users/fukuharayuusuke/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
-- Overlaying /Users/fukuharayuusuke/nRF9160/ncs/zephyr/dts/common/common.dts
nrf9160_pca10090ns.dts.pre.tmp:269.19-275.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000)

/Users/fukuharayuusuke/nRF9160/ncs/nrf_rallare/samples/nrf9160/udp_gps/prj.conf:36: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol NRF9160_GPS

/Users/fukuharayuusuke/nRF9160/ncs/nrf_rallare/samples/nrf9160/udp_gps/prj.conf:37: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol NRF9160_GPS_LOG_LEVEL_DBG
Parsing Kconfig tree in /Users/fukuharayuusuke/nRF9160/ncs/nrf_rallare/samples/nrf9160/udp_gps/Kconfig
Loading /Users/fukuharayuusuke/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig as base
Merging /Users/fukuharayuusuke/nRF9160/ncs/nrf_rallare/samples/nrf9160/udp_gps/prj.conf

Error: Aborting due to non-whitelisted Kconfig warning
&amp;#39;/Users/fukuharayuusuke/nRF9160/ncs/nrf_rallare/samples/nrf9160/udp_gps/prj.conf:36: warning:
attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol NRF9160_GPS&amp;#39;. Note: If this warning doesn&amp;#39;t
point to an actual problem, you can add it to the whitelist at the top of
/Users/fukuharayuusuke/nRF9160/ncs/zephyr/scripts/kconfig/kconfig.py.

CMake Error at /Users/fukuharayuusuke/nRF9160/ncs/zephyr/cmake/kconfig.cmake:200 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  /Users/fukuharayuusuke/nRF9160/ncs/zephyr/cmake/app/boilerplate.cmake:543 (include)
  CMakeLists.txt:9 (include)


-- Configuring incomplete, errors occurred!
Project load failed
Reported error: solution load command failed (1)
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;What I did&lt;/p&gt;
&lt;p&gt;1. Download the Rallare nrf folder and&amp;nbsp;place it under ncs folder.&lt;br /&gt;2. Run &amp;quot;git checkout master&amp;quot;, &amp;quot;git pull&amp;quot;, and &amp;quot;west update&amp;quot; under the nrf_rallare folder&lt;br /&gt;3. Try to open the folder =&amp;gt; got error&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/_B930AF30EA30FC30F330B730E730C330C830_-2019_2D00_08_2D00_24-0.20.17.png" /&gt;&lt;/p&gt;
&lt;p&gt;modem: v1.0.0&lt;br /&gt;nrf tag: v1.0.0&lt;br /&gt;SES: v4.16&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT blocks restarting GPS?</title><link>https://devzone.nordicsemi.com/thread/204451?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2019 10:31:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:060b6a49-ebab-4af8-9a12-fb2921cdfb98</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Johnny,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Good news&lt;/strong&gt;.&lt;br /&gt;A stripped-down and a more user-friendly sample has been made with GPS + LTE.&lt;br /&gt;Please find the sample here:&amp;nbsp;&amp;nbsp;&lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/udp_gps"&gt;https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/udp_gps&lt;/a&gt;&amp;nbsp;&lt;br /&gt;You could either add that sample in your NCS environment or copy the whole repository of &amp;quot;rallare&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(remember to do a &amp;#39;west update&amp;#39; in the nrf folder so you get the other repositories in the correct state&lt;/em&gt;)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;If you are only going to copy that sample to your NCS, you need to use the master branch.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;cd ncs/nrf
git checkout master
git pull
west update&lt;/pre&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: MQTT blocks restarting GPS?</title><link>https://devzone.nordicsemi.com/thread/204393?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2019 06:42:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:206646d1-5427-496a-92e3-09c57c69fae4</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Johnny,&lt;/p&gt;
&lt;p&gt;I can understand that it can be a bit difficult to see what you would need from that pull request.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. What you should&amp;nbsp;take&amp;nbsp;from the pull request is the &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/943/commits/a2ad41dbe6d76865f794e0059620e691f0e7f893" rel="noopener noreferrer" target="_blank"&gt;GPS driver &lt;/a&gt;and add that to your NCS.&lt;/p&gt;
&lt;p&gt;2. Then add &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/943/commits/b60afaa39e59d26a26f968e6a032ca96b1dce375" rel="noopener noreferrer" target="_blank"&gt;this change in the lte_lc driver&lt;/a&gt;, so the GPS can be used together with LTE-M.&lt;/p&gt;
&lt;p&gt;3. You should&amp;nbsp;add the&amp;nbsp; &amp;quot;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/tree/47ac0f4d375966d8b1c16e30439aef3024a65075/applications/asset_tracker/src/gps_controller" rel="noopener noreferrer" target="_blank"&gt;GPS controller&amp;quot; into your project.&lt;br /&gt;&lt;/a&gt;Then the configurations listed in &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/47ac0f4d375966d8b1c16e30439aef3024a65075/applications/asset_tracker/src/gps_controller/Kconfig" rel="noopener noreferrer" target="_blank"&gt;the Kconfig&lt;/a&gt;&amp;nbsp;will be available for you to configure to your liking in your project.&lt;/p&gt;
&lt;p&gt;Then you can see how the GPS controller is &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/47ac0f4d375966d8b1c16e30439aef3024a65075/applications/asset_tracker/src/main.c#L1023" rel="noopener noreferrer" target="_blank"&gt;initialized&lt;/a&gt; in the asset tracker sample and used&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT blocks restarting GPS?</title><link>https://devzone.nordicsemi.com/thread/204233?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2019 08:25:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97bd71bf-de55-4ea6-b392-a34e16e4dd81</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Johnny,&lt;br /&gt;&lt;em&gt;I cannot comment on the future of the modem firmware of what is planed. If you want to know roadmap information about the features planned please contact your Regional Sales Manager. (If you do not know who that is please send me a direct message on Devzone and I will direct you to the correct person)&lt;/em&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;span&gt;The network state must be in &amp;quot;power saving mode&amp;quot; (PSM) for the GPS to be active, as shown in the release notes for the&lt;/span&gt;&lt;a href="https://www.nordicsemi.com/Products/Low-power-cellular-IoT/nRF9160/Download#infotabs" rel="noopener noreferrer" target="_blank"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;v1.0.0 modem fw:&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Support for simultaneous GNSS and LTE (M1 or NB1) system modes. GPS reception during
LTE Power Saving Mode (PSM) active periods.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;After sending data over the LTE network, you will remain active for a given time period afterward before going back to PSM.&lt;/p&gt;
&lt;p&gt;The active time can be requested using this config:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/drivers/lte_link_control/Kconfig#L45"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/drivers/lte_link_control/Kconfig#L45&lt;/a&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;The default request is 1 minute, but by setting for instance &amp;quot;00000001&amp;quot; you request 2 second active time (see the 3gpp spec chapter reference for the definition of the GPRS timer 2).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: The PSM timeout uses GPRS Timer 3, which has a different bit definition than GPRS timer 2.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;span&gt;You can request intervals, but its the LTE network that sets it for you. To read your current settings, send these AT commands:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT+CEREG=5
AT+CEREG?&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The last two-bit patterns will then be the active time and TAU, as described here:&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"&gt;https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/cereg_read.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;hr /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT blocks restarting GPS?</title><link>https://devzone.nordicsemi.com/thread/204173?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 21:36:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22be02a0-5d71-401f-af25-34fafa6bbda8</guid><dc:creator>jlienau03</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Thanks for the response. Is there any plans to address switching on and off the modem switching back and for the GPS issue?&lt;/p&gt;
&lt;p&gt;I&amp;#39;d very much like to have GPS operational during PSM. I&amp;#39;ve seen in many tickets references to that pull request. However, I and others on this site&amp;nbsp;have trouble interpreting that application. There is little to no commenting or documentation, especially when it comes to how PSM and GPS are supposed to be set up to act concurrently. It seems almost specific to the&amp;nbsp;asset&amp;nbsp;tracker project itself,&amp;nbsp;making it incredibly difficult to do it in a custom program.&lt;/p&gt;
&lt;p&gt;If the procedure moving forward for ALL projects using GPS and LTE with the nRF9160&amp;nbsp;is to use GPS while LTE is in PSM, I suggest an example that demonstrates just that. Or, a paragraph or two explaining the procedure to have PSM and GPS activated at the same time in any project&amp;nbsp;would be incredibly helpful.&lt;/p&gt;
&lt;p&gt;For context, I&amp;#39;ve tried activating GPS as shown in the GPS example after calling modem_configure() and lte_lc_psm_req(true) and have not been successful. I&amp;#39;ve also&amp;nbsp;used a power analyzer to verify I&amp;#39;ve entered PSM, then tried activating the GPS, to no avail.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT blocks restarting GPS?</title><link>https://devzone.nordicsemi.com/thread/203992?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 08:47:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3ee11f9-feaa-4799-b0db-4744d8f56085</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Johnny,&lt;br /&gt;The modem firmware v1.0.0 introduces GPS in PSM mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have seen that switching OFF the modem and switching back and forth the GPS can cause unwanted behavior.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;The recommended way is to use the GPS when the LTE-M is in PSM mode.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You can see an example of this in the &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/943" rel="noopener noreferrer" target="_blank"&gt;PR#943&lt;/a&gt;, which introduces GPS in PSM mode in the Asset tracker application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT blocks restarting GPS?</title><link>https://devzone.nordicsemi.com/thread/202847?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2019 13:30:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afa111b4-015e-454f-8898-50f02e9e6971</guid><dc:creator>jlienau03</dc:creator><description>&lt;p&gt;Hi Carl,&lt;/p&gt;
&lt;p&gt;I suspected too that it has to do with the handling of the sockets. As far as I can tell, I&amp;#39;m handling the GPS socket as appropriately as possible, so I figure it has to do with the sockets involving MQTT.&lt;/p&gt;
&lt;p&gt;The board I&amp;#39;m using has MFW v1.0.0 and I am running ncs version v1.0.0.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT blocks restarting GPS?</title><link>https://devzone.nordicsemi.com/thread/202748?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2019 07:28:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cdc46a0-0767-462c-8f96-6bda15d28b7e</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t know why MQTT is causing this problem, but I suspect it could be related to issues with the sockets.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Which modem firmware(MFW) and NCS version are you running? I know there have been some issues with the older MFWs when it comes to opening and closing sockets often. Furthermore: using the newest MFW I don&amp;#39;t think it&amp;#39;s necessary to change the&amp;nbsp;&lt;strong&gt;systemmode&lt;/strong&gt; each time you switch, it should be possible to have GPS and LTE enabled at the same time.&lt;br /&gt;&lt;br /&gt;All the best,&amp;nbsp;&lt;br /&gt;Carl Richard&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>