nrf9160

Received SMS notification in PDU mode +CMT

The +CMT command notifies of an unsolicited received message in Protocol Data Unit (PDU) mode. v1.0.xv1.1.xv1.2.xv1.3.x

Terminal Equipment (TE) is expected to ACK received message with the +CNMA command.

For reference, see 3GPP 27.005 Ch. 3.4.1.

The notification is subscribed using the +CNMI command.

Syntax:

+CMT: <alpha>,<length><CR><LF><pdu>
+CMS ERROR code
524 – Manufacturer-specific cause: SMS client has been unregistered.

The notification parameters and their defined values are the following:

<alpha>
String. TP-Originating-Address.
<length>
ASCII, 1–3 characters. Number of hexadecimal octets in <pdu>.
<pdu>
Hexadecimal numbers containing two International Reference Alphabet (IRA) characters per octet.

The following example returns a notification of a received message "Testing a sms messaging over lte" from +358401234567, Service Center Address +44 888 8888:

+CMT: "+358401234567",28<CR><LF>069144888888F8D4F29C9E769F4161D0BC3D07B5CBF379F89C
       769F416F7B590E62D3CB