Can any one explain to me how the gps reads are triggered in the asset tracker example? I see it triggered at about 0.5 Hz.
Can any one explain to me how the gps reads are triggered in the asset tracker example? I see it triggered at about 0.5 Hz.
Hi,
The GPS simulator uses "data ready" events to trigger, and the application provides a trigger handler function that's called every time the trigger event occurs. You can see it be configured here:
https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/748375bd74e2e769ff8fedbd0f059674044cd46c/applications/asset_tracker/src/main.c#L1015
The interval between each of these trigger is configured by setting for example
Hi,
The GPS simulator uses "data ready" events to trigger, and the application provides a trigger handler function that's called every time the trigger event occurs. You can see it be configured here:
https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/748375bd74e2e769ff8fedbd0f059674044cd46c/applications/asset_tracker/src/main.c#L1015
The interval between each of these trigger is configured by setting for example