This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF9160 AGPS sample and nRF Cloud

I am using

MF V1.3

NCS V1.6.0

nRF9160Dk V0.15.0

Project: AGPS Sample

If i set the Interval in the gps_config structure to any number under 240 and run the sample i will see a message received in the terminal window of the nRF Cloud after every FIX and "GPS Position Sent to Cloud" message in the LTE Link Monitor.

struct gps_config gps_cfg = {
		.nav_mode = GPS_NAV_MODE_PERIODIC,
		.power_mode = GPS_POWER_MODE_DISABLED,
		.timeout = 120,
		.interval = 200,  //WRC changed to 200
		.priority = true,
	};

If i set the interval to greater than 300 i only get the message in the nRF Cloud after bootup, but never get another message received even though the LTE link Monitor says there is a FIX and "GPS Position Sent to Cloud"

D: NMEA: Position fix
I: GPS position sent to cloud

thoughts?

Parents Reply
  • Hey Wes, 

    Here is an update from the cloud team: 

    "I did make some general improvements to the nRF Cloud use of MQTT to help detect and report NAT-timeout-caused disconnects. They were merged into the sdk-nrf main branch earlier this week.

    I suggest the customer set the keepalive shorter (to 250 or so) as a stop-gap measure. The design of the keepalive mechanism is such that if the application has sent or received data with the cloud the keepalive will be delayed, so it does not unnecessarily send keepalives when they are not needed."

    Any updates from your side or should we close this ticket?

    Kind regards,
    Øyvind

Children
No Data
Related