nRF Connect SDK API 2.8.99
|
Public APIs of the SMS subscriber manager module. More...
Data Structures | |
struct | sms_time |
SMS time information specified in 3GPP TS 23.040 Section 9.2.3.11. More... | |
struct | sms_address |
SMS address, i.e., phone number. More... | |
struct | sms_udh_concat |
SMS concatenated short message information. More... | |
struct | sms_udh_app_port |
SMS application port addressing information. More... | |
struct | sms_deliver_header |
SMS-DELIVER message header. More... | |
union | sms_header |
SMS header. More... | |
struct | sms_data |
SMS PDU data. More... | |
Macros | |
#define | SMS_MAX_PAYLOAD_LEN_CHARS 160 |
Maximum length of SMS in number of characters as specified in 3GPP TS 23.038 Section 4 and Section 6.1.2.1.1. | |
#define | SMS_MAX_ADDRESS_LEN_CHARS 20 |
Maximum length of SMS address, i.e., phone number, in characters as specified in 3GPP TS 23.040 Section 9.1.2.5. | |
Typedefs | |
typedef void(* | sms_callback_t) (struct sms_data *const data, void *context) |
SMS listener callback function. | |
Enumerations | |
enum | sms_type { SMS_TYPE_DELIVER , SMS_TYPE_STATUS_REPORT } |
SMS message type. More... | |
enum | sms_data_type { SMS_DATA_TYPE_ASCII , SMS_DATA_TYPE_GSM7BIT } |
SMS data type. More... | |
Functions | |
int | sms_register_listener (sms_callback_t listener, void *context) |
Register a new listener to SMS library. | |
void | sms_unregister_listener (int handle) |
Unregister a listener. | |
int | sms_send_text (const char *number, const char *text) |
Send SMS message as ASCII string with ISO-8859-15 extension. | |
int | sms_send (const char *number, const uint8_t *data, uint16_t data_len, enum sms_data_type type) |
Send SMS message in given message type. | |
Public APIs of the SMS subscriber manager module.