<?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>No socket recv() while gnss active?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93639/no-socket-recv-while-gnss-active</link><description>I have TCP client socket and a thread blocking on `recv()`. I noticed that while gnss is active (trying to get a fix without any assistance), no data is received until I call `send()` (on the same socket) from another context/thread. I suspect data is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Nov 2022 09:56:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93639/no-socket-recv-while-gnss-active" /><item><title>RE: No socket recv() while gnss active?</title><link>https://devzone.nordicsemi.com/thread/394628?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 09:56:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d8795dc-e698-454f-a6f0-65be1c6be3a0</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;The documentation is available here&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.1/nrf/ug_nrf91_features.html#gnss"&gt;Features of nRF91 Series &amp;mdash; nRF Connect SDK 2.1.1 documentation (nordicsemi.com)&lt;/a&gt;. nRF91 GNSS related samples also show how it works in real applications.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No socket recv() while gnss active?</title><link>https://devzone.nordicsemi.com/thread/394579?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 07:04:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb5390a8-c7d2-42fd-a154-224008ea29cf</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;AFAIK, it&amp;#39;s not possible to have the GNSS receiver and the modem active at the same time. Usually the modem communication takes precedence and when the modem sleeps (or is in RRC idle), the GNSS gets activated. Once the GNSS is active, the modem is not longer able to receive data. That requires to pause the GNSS and activate the modem again. Sending data triggers that.&lt;/p&gt;
&lt;p&gt;If you search the forum, you will find a lot of ideas around that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No socket recv() while gnss active?</title><link>https://devzone.nordicsemi.com/thread/394414?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 12:42:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4727732a-738e-4b01-84a8-8129aec2272f</guid><dc:creator>sfrank</dc:creator><description>&lt;p&gt;Perhaps `send()` somehow forces a LTE_LC_EVT_RRC_UPDATE with rrc_mode:Connected, and this causes `recv()` to unblock?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>