30#define LUAT_MSG_MAX_ADDR_LEN 80
31#define LUAT_SMS_MAX_TXT_SIZE 640
32#define LUAT_SMS_MAX_PDU_SIZE 180
33#define LUAT_SMS_MAX_LENGTH_OF_ADDRESS_VALUE 40
34#define LUAT_SMS_MAX_ADDR_STR_MAX_LEN ((LUAT_SMS_MAX_LENGTH_OF_ADDRESS_VALUE + 1) * 4)
void luat_sms_send_msg_register_handler(LUAT_SMS_HANDLE_SEND_CB callback_fun)
发送短信回调
void(* LUAT_SMS_HANDLE_CB)(uint8_t event, void *param)
int luat_sms_send_msg(uint8_t *p_input, char *p_des, bool is_pdu, int input_pdu_len)
发送短信
void(* LUAT_SMS_HANDLE_SEND_CB)(int ret)
#define LUAT_MSG_MAX_ADDR_LEN
void luat_sms_recv_msg_register_handler(LUAT_SMS_HANDLE_CB callback_fun)
接受短信回调
#define LUAT_SMS_MAX_TXT_SIZE
void luat_sms_init(void)
初始化短信
@ SMS_UNSUPPORT_TEXT_WITH_CHINESE
@ SMS_OPERATION_NOT_ALLOWED
@ SMS_OPERATION_NOT_SUPPORTED
@ SMS_INVALID_PDU_MODE_PARAMETER
@ SMS_NO_CNMA_ACK_EXPECTED
@ SMS_INVALID_TEXT_MODE_PARAMETER
LUAT_SMS_HANDLE_SEND_CB send_cb
LUAT_SMS_RECV_MSG_DCS_T dcs_info
LUAT_SMS_RECV_MSG_TIME_T time