Transmit (TX) SMS - 0x1F
Description
Transmit an SMS message. The frame allows international numbers with or without the + prefix. If you omit + and are dialing internationally, you need to include the proper International Dialing Prefix for your calling region, for example, 011 for the United States.
Note For NB-IoT, SMS support is dependent on the network. Contact your network provider for details.
Format
The following table provides the contents of the frame. For details on frame structure, see API frame format.
Field name | Field value | Data type | Description |
---|---|---|---|
Frame type |
0x1F |
Byte |
|
Frame ID |
|
Byte |
Reference identifier used to match status responses. 0 disables the TX Status frame. |
Options |
|
Byte |
Reserved for future use. |
Phone number |
|
20 byte string |
String representation of phone number terminated with a null (0x0) byte. Use numbers and the + symbol only, no other symbols or letters. |
Payload |
|
Variable (160 characters maximum) |
Data to send as the body of the SMS message. |