<?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>A-GPS Data Consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67644/a-gps-data-consumption</link><description>Hello, 
 What the average data consumption for using A-GPS on the nRF9160 to download the Almanac and Ephemeris data? I would like to know how much data is billed through my carrier for performing this operation. 
 Regards, 
 Akash Patel</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Nov 2020 15:51:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67644/a-gps-data-consumption" /><item><title>RE: A-GPS Data Consumption</title><link>https://devzone.nordicsemi.com/thread/278141?ContentTypeID=1</link><pubDate>Mon, 02 Nov 2020 15:51:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb18969d-81fe-43fc-839b-2e24a589377a</guid><dc:creator>Didrik Rokhaug</dc:creator><description>[quote user="AkashPatel"]If I write this A-GPS data, use GPS for 5 minutes, power cycle, turn on GPS again, will I have to rewrite the A-GPS data or the GPS will be able to perform a hot start?[/quote]
&lt;p&gt;&amp;nbsp;Yes, I believe that is the case.&lt;/p&gt;
&lt;p&gt;However, if you turn the modem off gracefully with AT+CFUN=0, it should store the data to non-volatile memory so that you would not have to fetch it all again after a power cycle.&lt;/p&gt;
&lt;p&gt;Although there is still information that has to be fetched each time, such as time, approximate location, etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS Data Consumption</title><link>https://devzone.nordicsemi.com/thread/277898?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 20:31:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32b337cb-4928-474f-975d-62e6e479278b</guid><dc:creator>Akash Patel</dc:creator><description>&lt;p&gt;Hi Didrik,&lt;/p&gt;
&lt;p&gt;Looks like we are using this &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/drivers/gps/nrf9160_gps/nrf9160_gps.c#L846"&gt;agps_write&lt;/a&gt;&amp;nbsp;function to write the A-GPS data we have received to the modem before we switch to GPS mode. When we write the almanac/ephemeris data to the modem, is that get erased when we do a power cycle?&lt;/p&gt;
&lt;p&gt;From my understanding the almanac data should be valid for a several weeks and the ephemeris data should be valid for up to 2 hours. So essentially, If I write this A-GPS data, use GPS for 5 minutes, power cycle, turn on GPS again, will I have to rewrite the A-GPS data or the GPS will be able to perform a hot start?&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: A-GPS Data Consumption</title><link>https://devzone.nordicsemi.com/thread/277427?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 14:36:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e60ebbe-b970-4f73-9c64-032bc54094ac</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Another developer on the apps team did some cold start tests with an nRF9160 Feather which is running the A-GPS sample and using a hologram.io SIM. Those tests showed 16.91kB data used:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8625.pastedimage1603895646733v1.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Note that these numbers include all the data sent between the device and the cloud, including the TLS handshakes which uses ~10kB data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS Data Consumption</title><link>https://devzone.nordicsemi.com/thread/277395?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 13:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:141b47db-5283-4057-a2a2-607c918f0cca</guid><dc:creator>Didrik Rokhaug</dc:creator><description>[quote user="AkashPatel"]Also, does that mean that nRF Cloud is not using SUPL? What is it using?[/quote]
&lt;p&gt;&amp;nbsp;No, it is not using SUPL. According to the software roadmap, it is using a &amp;quot;packed binary format&amp;quot;, which is sent over the MQTT connection that has already been established.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="AkashPatel"]The nRF Cloud 4.5kB is for a cold start or warm start? What is it for the other?[/quote]
&lt;p&gt;&amp;nbsp;I asked the application team if they had any more information. This is the answer I got:&lt;/p&gt;
&lt;div&gt;
&lt;dl style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0;text-transform:none;white-space:normal;"&gt;
&lt;dd&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;It looks like the total TCP payload is about 3.5 kB for A-GPS request and response, but this may vary a bit&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0;text-transform:none;white-space:normal;"&gt;
&lt;dd&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;For a cold start all assistance data is fetched, ie almanac, ephemeris, time, location estimate etc&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl style="font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0;text-transform:none;white-space:normal;"&gt;
&lt;dd&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;For a warm start, it&amp;#39;s assumed that only ephemeris&amp;nbsp;is needed, which is about 2k for all satellites&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A-GPS Data Consumption</title><link>https://devzone.nordicsemi.com/thread/277217?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 17:37:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56866c39-bc5d-4523-b2fa-1afc690b15e4</guid><dc:creator>Akash Patel</dc:creator><description>&lt;p&gt;Hi Didrik,&lt;/p&gt;
&lt;p&gt;The nRF Cloud 4.5kB is for a cold start or warm start? What is it for the other?&lt;/p&gt;
&lt;p&gt;Also, does that mean that nRF Cloud is not using SUPL? What is it using?&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: A-GPS Data Consumption</title><link>https://devzone.nordicsemi.com/thread/277148?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 13:14:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35205e44-3bcf-403b-91cd-273cfa068915</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Exactly how much data is used depends on the protocol used, the data available, etc.&lt;/p&gt;
&lt;p&gt;There was some numbers in the nRF91 Software roadmap from February:&lt;/p&gt;
&lt;p&gt;(with SUPL, if I understood the powerpoint correctly):&lt;/p&gt;
&lt;p&gt;- Cold start, All/most ephemeris/almanac data: 10s of kB&lt;/p&gt;
&lt;p&gt;- Warm start, some ephemeris data: 1-10kB&lt;/p&gt;
&lt;p&gt;- Hot start, no new data needed: 0B&lt;/p&gt;
&lt;p&gt;Meanwhile, A-GPS through nRF Cloud was said to use ~4.5kB.&lt;/p&gt;
&lt;p&gt;But you should be able to measure it yourself by using the %XCONNSTAT AT command.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>