The term Mobile Terminated SMS (MT-SMS) encompasses SMS messages destined for a specific device. As 1NCE connectivity focuses on IoT applications, sending SMS messages from device to device (P2P) is not possible. Therefore, sending messages from a phone or other device towards a terminal with a 1NCE SIM is not possible. The 1NCE SMS Service offers two methods of sending messages towards an device.
An easy-to-use and very intuitive tool for sending MT-SMS to individual devices with 1NCE SIM is the Connectivity Management Platform (CMP). This method is ideal for debugging and testing purposes as it offers an easy-to-use user interface for sending and monitoring SMS messages. Details on using the CMP interface for sending SMS to devices can be found in the Getting Started. For sending and receiving larger amounts of SMS and automating this process over longer periods, the 1NCE API is recommended.
For larger batches or automated messages, the 1NCE API offers a HTTP REST interface for processing requests. Compared to the CMP, the API offers more flexibility for automation and optional configuration of advanced SMS parameters (UDH, DCS and Expiry Date). The Data Coding Scheme (DCS) parameter enables GSM 7-bit default alphabet text messages and 8-bit binary data messages. The User Data Header (UDH) is an optional parameter which specifies how a message should be formatted and processed. It is useful for sending concatenated SMS messages consisting of two or more parts. How concatenated messages can be submitted is shown in the Concatenated SMS Messages section. Details on using the API and example requests can be found in the 1NCE API documentation.
The Data Coding Scheme (DCS) is a value which transports information about how the recipient device shall handle the the transferred data payload. In principle, the DCS specifies the character set of your payload. Based on the chosen DCS the message length varies. The maximum length of a SMS is 160 character using the default GSM character set. You can use another character set and the maximum number of characters which can be used might shrink. In the following table you can see some DCS values and its short descriptions:
Payload for API
7-Bit Alphabet Text
Message Payload as String
8-Bit Binary Data
Binary Payload as Hex Encoded String
In the User Data Header (UDH), the format and processing of an SMS message is specified. This header information is useful for sending a concatenated message which is longer than the 160 character limit. To split a message into multiple parts, each part needs to be sent via a separate API call with the correct UDH header. An example is shown below:
User Data Header
1 of 3
050003CC 03 01
Message Part 01
2 of 3
050003CC 03 02
Message Part 02
3 of 3
050003CC 03 03
Message Part 03
The UDH needs to be accounted for in the total size of the SMS message. Therefore, only 153 7-bit character parts can be sent in one message when the UDH is used to concatenate messages. The UDH consists of six-byte fields:
- The total length of UDH
- The Information Element Identifier (IEI)
- The header length without the first two fields (IEIL)
- CSMS reference ID
- Total number of SMS parts
- Part number
For more information about the UDH and SMS concatenation see GSM 03.38 and GSM 03.40.
While it is not possible to directly send MT-SMS with the SMS Forwarding Service, it is possible to receive Delivery Reports (DLR). These reports are sent via the configured forwarding URL, indicating that the MT-SMS was delivered to the target device with a 1NCE SIM. Further details about this service can be found in the SMS Forwarding Service section.
Updated 3 months ago