A decoded SMPP PDU as a tag-on-command discriminated union.
command
decodePdu returns one of these; branch on command (a Command) to read the command-specific fields. The header fields (commandLength, status, sequence) are spread onto every member.
commandLength
status
sequence
The SMSC's system id echoed back in the bind response.
Optional parameters (e.g. sc_interface_version).
sc_interface_version
The SMSC-assigned message id (empty on a non-zero status).
The message id echoed back (usually empty).
1.0.3
A decoded SMPP PDU as a tag-on-
commanddiscriminated union.decodePdu returns one of these; branch on
command(a Command) to read the command-specific fields. The header fields (commandLength,status,sequence) are spread onto every member.