smppex v2.3.3 SMPPEX.Pdu.Factory View Source

Module for convenient generation of the most common PDUs.

Link to this section Summary

Link to this section Types

Link to this type message() View Source
message() :: String.t() | {data_coding :: non_neg_integer(), String.t()}
Link to this type message_state() View Source
message_state() :: non_neg_integer() | atom()

Link to this section Functions

Link to this function bind(command_name, opts) View Source
bind(atom(), map()) :: SMPPEX.Pdu.t()
Link to this function bind(command_name, system_id, password, opts \\ %{}) View Source
bind(atom(), String.t(), String.t(), map()) :: SMPPEX.Pdu.t()
Link to this function bind_receiver(system_id, password, opts \\ %{}) View Source
bind_receiver(String.t(), String.t(), map()) :: SMPPEX.Pdu.t()
Link to this function bind_receiver_resp(command_status, system_id \\ "") View Source
bind_receiver_resp(non_neg_integer(), String.t()) :: SMPPEX.Pdu.t()
Link to this function bind_resp(command_id, command_status, system_id) View Source
Link to this function bind_transceiver(system_id, password, opts \\ %{}) View Source
bind_transceiver(String.t(), String.t(), map()) :: SMPPEX.Pdu.t()
Link to this function bind_transceiver_resp(command_status, system_id \\ "") View Source
bind_transceiver_resp(non_neg_integer(), String.t()) :: SMPPEX.Pdu.t()
Link to this function bind_transmitter(system_id, password, opts \\ %{}) View Source
bind_transmitter(String.t(), String.t(), map()) :: SMPPEX.Pdu.t()
Link to this function bind_transmitter_resp(command_status, system_id \\ "") View Source
bind_transmitter_resp(non_neg_integer(), String.t()) :: SMPPEX.Pdu.t()
Link to this function deliver_sm(source, dest, message) View Source
Link to this function deliver_sm_resp(command_status \\ 0) View Source
deliver_sm_resp(non_neg_integer()) :: SMPPEX.Pdu.t()
Link to this function delivery_report(message_id, source, dest, message \\ "", message_state \\ :DELIVERED) View Source
Link to this function delivery_report_for_submit_sm(message_id, submit_sm, message \\ "", message_state \\ :DELIVERED) View Source
delivery_report_for_submit_sm(
  String.t(),
  SMPPEX.Pdu.t(),
  String.t(),
  message_state()
) :: SMPPEX.Pdu.t()
Link to this function enquire_link() View Source
enquire_link() :: SMPPEX.Pdu.t()
Link to this function submit_sm(source, dest, message, registered_delivery \\ 0) View Source
Link to this function submit_sm_resp(command_status, message_id \\ "") View Source
submit_sm_resp(non_neg_integer(), String.t()) :: SMPPEX.Pdu.t()
Link to this function unbind_resp(command_status \\ 0) View Source
unbind_resp(non_neg_integer()) :: SMPPEX.Pdu.t()