edgeport - v1.0.3
    Preparing search index...

    Type Alias DecodedPdu

    DecodedPdu:
        | PduHeader & {
            command: BindTransmitterResp
            | BindReceiverResp
            | BindTransceiverResp;
            systemId: string;
            tlvs: Tlv[];
        }
        | PduHeader & { command: SubmitSmResp; messageId: string }
        | PduHeader & { command: SubmitSm } & SmBody
        | PduHeader & { command: DeliverSm } & SmBody
        | PduHeader & { command: DeliverSmResp; messageId: string }
        | PduHeader & { command: EnquireLink }
        | PduHeader & { command: EnquireLinkResp }
        | PduHeader & { command: Unbind }
        | PduHeader & { command: UnbindResp }
        | PduHeader & { command: GenericNack }

    A decoded SMPP PDU as a tag-on-command discriminated 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.

    Type Declaration

    1.0.3