nwam_loc_get_state
ret = nwam_loc_get_state(handle, &state, &astate);
extern nwam_error_t nwam_loc_get_state(nwam_loc_handle_t, nwam_state_t *,