Module sms
Expand description
See: <ql_mcm_sms.h>
Structs§
Constants§
- CB_
MSG_ HEAD_ LENGTH_ V01 - SMS CB head length.
- MAX_
ADDR_ LEN - Maximum string length.
- MAX_
MT_ MSG_ LEN - Maximum length of an SMS.
- MAX_
SCA_ TYPE_ LEN - Maximum string length.
Functions§
- add_
msg_ ⚠async_ cb Non- ag35 - Add callback function for asynchronous SMS response.
- add_
rx_ ⚠msg_ handler Non- ag35 - Add callback function, if any new msg arrived, it will notify app.
- client_
deinit ⚠Non- ag35 - DeInit SMS module and release resource, this should be called in the last one.
- client_
init ⚠Non- ag35 - Init SMS module, this should be called before any other ones.
- send_
sms ⚠Non- ag35 - Send sms, you just need to fill format/src_addr/sms_data_len/sms_data, if format is UCS2, the data should be Unicode-BE format.
- send_
sms_ ⚠async Non- ag35 - Send sms asynchronously, you just need to fill format/src_addr/sms_data_len/sms_data, if format is UCS2, the data should be Unicode-BE format.
Type Aliases§
- Handle
- MsgAsync
Callback Fn - RxMsg
Handler Fn - Callback function registered to
add_rx_msg_handler.