nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ sms_submit_send()

int sms_submit_send ( const char *  number,
const uint8_t *  data,
uint16_t  data_len,
enum sms_data_type  type 
)

Send SMS message, which is called SMS-SUBMIT message in SMS protocol.

SMS-SUBMIT message format is specified in 3GPP TS 23.040 chapter 9.2.2.2.

Parameters
[in]numberRecipient number.
[in]dataData to be sent.
[in]data_lenData length.
[in]typeInput data type.
Return values
-EINVALInvalid parameter.
Returns
Zero on success, otherwise error code.