I have a question on the gnss event type NRF_MODEM_GNSS_EVT_FIX. It seems there's always the NRF_MODEM_GNSS_EVT_PVT event regardless it's a fix or not. The flag can tell us exactly what is. The confusion is once we have a fix, the event handler also gets triggered by an extra NRF_MODEM_GNSS_EVT_FIX event, which seems just a duplication of the same PVT event. Why is that? What's the purpose to have it? I have a separate thread receiving all the events. This does causes confusing because I'm seeing two identical PVT message for every fix. I'm running GPS continuous mode. This is on 9160DK, modem 1.4.1, NCS 1.7.
Second question, when I have a fix, the PVT data flag becomes 0x21. The 0x01 is the 'VALID' bit. But I can;t find any reference to the 0x20 bit. In nrf_modem_gnss.h, the highest bit documented is 0x10(NRF_MODEM_GNSS_PVT_FLAG_NOT_ENOUGH_WINDOW_TIME).
Thanks!