Technical Protocols

What is SMPP v3.4? Complete Carrier Architecture & PDU Guide for Telecom Developers

A deep architectural guide to the Short Message Peer-to-Peer (SMPP v3.4) protocol. Learn transceiver binds, sliding-window flow control, PDU commands, DCS character encoding, and DLR mapping for enterprise bulk SMS routing.

1. Introduction to the SMPP v3.4 Protocol

The Short Message Peer-to-Peer (SMPP) protocol is an open, industry-standard telecommunications protocol designed by the SMS Forum to transfer SMS data between Short Message Service Centers (SMSC) and External Short Messaging Entities (ESME), such as enterprise SMS gateways and CPaaS platforms. While modern REST APIs serve transactional web apps well, SMPP remains the unshakeable global backbone for wholesale telecommunications, capable of processing upwards of 10,000 Transactions Per Second (TPS) over persistent, full-duplex TCP/IP connections.

2. Anatomy of an SMPP Session & Bind Types

Unlike HTTP, which opens and closes stateless request-response sockets, an SMPP client establishes an authenticated, long-lived binary TCP socket. The ESME sends an authentication PDU to the SMSC specifying its system_id, password, system_type, and interface_version (0x34 for v3.4).

  • Transmitter (TX - bind_transmitter 0x00000002): Dedicated exclusively to outbound message submission (submit_sm). The SMSC does not send delivery receipts over this session.
  • Receiver (RX - bind_receiver 0x00000001): Dedicated exclusively to inbound traffic reception and incoming delivery receipts (deliver_sm).
  • Transceiver (TRX - bind_transceiver 0x00000009): A bi-directional session allowing simultaneous message transmission and asynchronous DLR delivery receipt streaming over a single TCP socket. NAMX Telecom mandates Transceiver binds for optimal TCP multiplexing and connection efficiency.

3. Wire-Level Protocol Data Units (PDUs)

Every SMPP packet is encoded as a binary Protocol Data Unit (PDU) consisting of a mandatory 16-byte header followed by a command-specific body:

+----------------+----------------+----------------+----------------+
| Command Length |   Command ID   | Command Status | Sequence Number|
|    (4 Octets)  |   (4 Octets)   |   (4 Octets)   |   (4 Octets)   |
+----------------+----------------+----------------+----------------+
|                        PDU Body / TLVs                            |
+-------------------------------------------------------------------+

Key commands in wholesale messaging:

  • submit_sm (0x00000004): Submits a text message containing destination MSISDN, registered sender ID, Data Coding Scheme (DCS), and message payload.
  • submit_sm_resp (0x80000004): Synchronous immediate response from the SMSC returning a unique message_id and command_status (0x00000000 for ESME_ROK).
  • deliver_sm (0x00000005): Asynchronous packet sent by the carrier to notify the ESME of final handset delivery, containing the standard DLR receipt string.
  • enquire_link (0x00000015): Heartbeat probe sent every 30 to 60 seconds to maintain firewall NAT tables and verify socket liveness.

4. Character Sets (DCS) & Concatenation (UDH)

Message encoding is controlled by the Data Coding Scheme (DCS) octet in the PDU:

  • GSM 7-bit (DCS 0x00): Standard Latin cellular alphabet allowing 160 characters per single message segment. When concatenating, 7 bytes are reserved for the User Data Header (UDH), reducing capacity to 153 characters per segment.
  • UCS-2 Unicode (DCS 0x08): 16-bit encoding required for Arabic, Chinese, Cyrillic, Hindi, Japanese, and emojis. A single segment accommodates 70 characters; multi-part segments accommodate 67 characters each.
  • User Data Header (UDH): Standard 6-byte header (05 00 03 XX YY ZZ) where XX is the message reference number, YY is total segment count, and ZZ is the current segment index.

5. Sliding Window Flow Control & Throughput Tuning

To reach speeds exceeding 5,000 TPS, high-throughput aggregators utilize sliding window flow control. Rather than waiting for a submit_sm_resp before sending the next packet, the ESME transmits up to N in-flight PDUs (the window size, typically 16 to 64). If the window fills, transmission pauses until acknowledgements clear the buffer, preventing socket congestion while saturating network bandwidth.

Enterprise Consultation

Start Messaging with NAMX Telecom

Connect directly with our global wholesale connectivity team to discuss Web messaging platform access, SMPP v3.4/v5.0 binds, API connectivity, or custom pricing.

NAMX Telecom Operations

Global Telecom Network Hub 路 International Carrier Exchange

24/7/365 Global Network Operations Center (NOC)
Need to check previously stored inquiry entries?

Request a Wholesale Proposal

Fill in your parameters to receive a custom quote and technical spec.

|
Available on:
Direct delivery to admin@namxtelecom.site & namxtelecom@gmail.com