Hello,
I am using the Quec-open SDK on RM520N.
I am calling the function ql_dm_get_modem_state which is returning QL_ERR_OK and state “ONLINE” - its working fine.
Question: please can you list the possible states that can be output from this function and describe what they mean?
Thank you!
Puck-Q
2
Hi @ben.campbell
Basically you can refer the following about the API.
Prototype
int ql_dm_get_modem_state(char *state, int state_len)
Parameter:
state:
[Out] Modem states, which are listed as follows:
OFFLINING
OFFLINE
ONLINE
state_len:
[In] Length of state
Return Value
QL_ERR_OK : Successful execution
Other values : Failed execution. See ql_type.h for error codes.
Thanks
Thank you Puck-Q - super help