nRF Connect SDK API 2.8.99
|
int sms_send_text | ( | const char * | number, |
const char * | text ) |
#include <include/modem/sms.h>
Send SMS message as ASCII string with ISO-8859-15 extension.
Sending is done with GSM 7bit encoding used to encode textual SMS messages. SMS-SUBMIT message is specified in 3GPP TS 23.040 Section 9.2.2.2 and data encoding in 3GPP TS 23.038 Section 4 and Section 6.2.
This function does the same as if sms_send
would be called with SMS_DATA_TYPE_ASCII type.
This function doesn't support sending of 8 bit binary data messages or UCS2 encoded text.
[in] | number | Recipient number in international format. |
[in] | text | Text to be sent as ASCII string with ISO-8859-15 extension. |
-EINVAL | Invalid parameter. |
nrf_modem_at_err_type
and the error value with nrf_modem_at_err
.