Encodes a bind PDU (bind_transmitter, bind_receiver, or bind_transceiver).
bind_transmitter
bind_receiver
bind_transceiver
The three bind commands share one body layout, so command selects which one is written.
command
One of Command.BindTransmitter, Command.BindReceiver, or Command.BindTransceiver.
The sequence_number.
sequence_number
The system id, password, and address fields.
The complete bind PDU bytes.
1.0.3
import { encodeBind, Command } from 'edgeport/smpp';const bytes = encodeBind(Command.BindTransceiver, 1, { systemId: 'esme', password: 'secret' }); Copy
import { encodeBind, Command } from 'edgeport/smpp';const bytes = encodeBind(Command.BindTransceiver, 1, { systemId: 'esme', password: 'secret' });
Encodes a bind PDU (
bind_transmitter,bind_receiver, orbind_transceiver).The three bind commands share one body layout, so
commandselects which one is written.