<?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>Location library - separating cloud and GNSS requests.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118868/location-library---separating-cloud-and-gnss-requests</link><description>Hello, 
 I’m wondering if there is a way to separate CELL and Wi-Fi location data from GNSS location data in the Location library. Currently, we use nRF Cloud for location services, which works well. However, we believe using our own cloud as a proxy</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Apr 2025 08:18:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118868/location-library---separating-cloud-and-gnss-requests" /><item><title>RE: Location library - separating cloud and GNSS requests.</title><link>https://devzone.nordicsemi.com/thread/530559?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 08:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6c4c30c-ab15-4c10-92e5-d6cfc923ecf1</guid><dc:creator>Maximilian Deubel</dc:creator><description>&lt;p&gt;Hi! I think enabling &lt;code&gt;CONFIG_LOCATION_SERVICE_EXTERNAL&lt;/code&gt; is the correct approach. This will force you to implement the callbacks, but doesn&amp;#39;t necessarily mean that you have to use a proxy for AGNSS. You can essentially copy the method_gnss_nrf_cloud_agnss_request function. Note that there are different versions for different backends. Please let me know if you need further assistance on this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Location library - separating cloud and GNSS requests.</title><link>https://devzone.nordicsemi.com/thread/522932?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 16:35:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f1dd5c2-2186-48c3-90f8-e41c7cbd0d12</guid><dc:creator>Roman Veselskyi</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/muhdevzone"&gt;Cole Hafner&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p data-start="0" data-end="71"&gt;Thank you for your response&amp;mdash;I wasn&amp;rsquo;t aware of the Location History API.&lt;/p&gt;
&lt;p data-start="73" data-end="243"&gt;I have a question regarding C2C. Is it possible to separate the CELL and Wi-Fi data so they go through the proxy, while allowing the GNSS portion to use a direct request?&lt;/p&gt;
&lt;p data-start="245" data-end="379"&gt;I&amp;rsquo;m wondering if we can configure the library to collect only Wi-Fi and CELL data, and then, for example, respond to the library with:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;location_cloud_location_ext_result_set(LOCATION_EVT_RESULT_UNKNOWN)&lt;/pre&gt;&lt;br /&gt;once the collection is done. However, doing this seems to require enabling &lt;code data-start="531" data-end="565"&gt;CONFIG_LOCATION_SERVICE_EXTERNAL&lt;/code&gt;, which would then force all A-GPS requests through the proxy as well. Is that correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Location library - separating cloud and GNSS requests.</title><link>https://devzone.nordicsemi.com/thread/522923?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 15:54:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cd6ab0b-2abd-489c-98eb-732cdcc3bd96</guid><dc:creator>Cole Hafner</dc:creator><description>&lt;p&gt;That makes sense.&amp;nbsp;You could use&amp;nbsp;our&amp;nbsp;C2C model in which&amp;nbsp;you proxy requests from&amp;nbsp;your devices to&amp;nbsp;your servers to nRF Cloud. This would work well for your use case.&amp;nbsp;Here is &lt;a href="https://docs.nordicsemi.com/bundle/nrf-cloud/page/LocationServices/CloudToCloud.html"&gt;a guide&lt;/a&gt; for using the nRF Cloud API from your proxy server. The firmware would be custom.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;An alternative is to use nRF Cloud location history API from your portal. nRF Cloud tracks your device&amp;#39;s location history and makes it available via &lt;a href="https://api.nrfcloud.com/#tag/Location-History/operation/GetLocationHistory"&gt;the location history API endpoint&lt;/a&gt;. This would sidestep the need to send this data to your servers.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;
&lt;p&gt;Cole&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Location library - separating cloud and GNSS requests.</title><link>https://devzone.nordicsemi.com/thread/522834?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 11:51:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43d6b1a9-ae4b-4185-8297-3f5a3602bf7a</guid><dc:creator>Roman Veselskyi</dc:creator><description>&lt;p data-start="0" data-end="6"&gt;Hello,&lt;/p&gt;
&lt;p data-start="8" data-end="159"&gt;Yes, we are using the location service library, and it is working correctly. The problem is that we want the fastest possible response from the device.&lt;/p&gt;
&lt;p data-start="161" data-end="243"&gt;Currently, if we trigger the device to send location data, we must wait for it to:&lt;/p&gt;
&lt;ol data-start="244" data-end="411"&gt;
&lt;li data-start="244" data-end="276"&gt;Collect cell and Wi-Fi data&lt;/li&gt;
&lt;li data-start="277" data-end="309"&gt;Send that data to nRF Cloud&lt;/li&gt;
&lt;li data-start="310" data-end="362"&gt;Receive the location information from nRF Cloud&lt;/li&gt;
&lt;li data-start="363" data-end="411"&gt;Then finally send the data to our own cloud&lt;/li&gt;
&lt;/ol&gt;
&lt;p data-start="413" data-end="548"&gt;Only after all these steps are completed does the device receive confirmation that the data has been delivered and return to idle mode.&lt;/p&gt;
&lt;p data-start="550" data-end="701"&gt;However, since the device itself does not need the location information (the user sees everything on the portal), we think we can simplify the process:&lt;/p&gt;
&lt;ol data-start="703" data-end="870"&gt;
&lt;li data-start="703" data-end="721"&gt;Trigger event&lt;/li&gt;
&lt;li data-start="722" data-end="754"&gt;Collect cell and Wi-Fi data&lt;/li&gt;
&lt;li data-start="755" data-end="791"&gt;Send data directly to our cloud&lt;/li&gt;
&lt;li data-start="792" data-end="845"&gt;Receive confirmation that the data was delivered&lt;/li&gt;
&lt;li data-start="846" data-end="870"&gt;Return to idle mode&lt;/li&gt;
&lt;/ol&gt;
&lt;p data-start="872" data-end="984" data-is-last-node=""&gt;By removing the step of waiting for the location data from nRF Cloud, we can speed up the overall response time. Especially on the NB-IoT network.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Location library - separating cloud and GNSS requests.</title><link>https://devzone.nordicsemi.com/thread/522750?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 00:52:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ef4c1d3-3474-45cd-8919-10809e743ac9</guid><dc:creator>Cole Hafner</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;This could be done by creating custom firmware. Have you tested our location service library and found it to be inefficient?&lt;/p&gt;
&lt;p&gt;Omitting the response in order to close the radios a bit earlier&amp;nbsp;could yield longer battery life, but I suspect the differences to be negligible. What is your use case?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Cole&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>