nwam_enm_get_state
ret = nwam_enm_get_state(handle, &state, &astate);
extern nwam_error_t nwam_enm_get_state(nwam_enm_handle_t, nwam_state_t *,