edgeport - v1.0.3
    Preparing search index...

    Function encodeBind

    • Encodes a bind PDU (bind_transmitter, bind_receiver, or bind_transceiver).

      The three bind commands share one body layout, so command selects which one is written.

      Parameters

      Returns Uint8Array

      The complete bind PDU bytes.

      1.0.3

      import { encodeBind, Command } from 'edgeport/smpp';

      const bytes = encodeBind(Command.BindTransceiver, 1, { systemId: 'esme', password: 'secret' });