int ntn_location_set(double latitude, double longitude, float altitude, uint32_t validity)
Set location to the modem.
int ntn_location_invalidate(void)
Invalidate location.
ntn_evt_type
NTN event types.
Definition ntn.h:31
@ NTN_EVT_LOCATION_REQUEST
Definition ntn.h:55
void ntn_register_handler(ntn_evt_handler_t handler)
Register an event handler.
void(* ntn_evt_handler_t)(const struct ntn_evt *evt)
Event handler prototype.
Definition ntn.h:88
struct ntn_location_request location_request
Definition ntn.h:79
enum ntn_evt_type type
Definition ntn.h:74
NTN event.
Definition ntn.h:72
uint32_t accuracy
Definition ntn.h:66
bool requested
Definition ntn.h:63
Location update request.
Definition ntn.h:61