SMPPEX.Pdu.Factory (smppex v3.0.4) View Source
Module for convenient generation of the most common PDUs.
Link to this section Summary
Link to this section Types
Specs
message() :: String.t() | {data_coding :: non_neg_integer(), String.t()}
Specs
message_state() :: non_neg_integer() | atom()
Link to this section Functions
Specs
bind(atom(), map()) :: SMPPEX.Pdu.t()
Specs
bind(atom(), String.t(), String.t(), map()) :: SMPPEX.Pdu.t()
Specs
bind_receiver(String.t(), String.t(), map()) :: SMPPEX.Pdu.t()
Specs
bind_receiver_resp(non_neg_integer(), String.t()) :: SMPPEX.Pdu.t()
Specs
bind_resp(non_neg_integer(), non_neg_integer(), String.t()) :: SMPPEX.Pdu.t()
Specs
bind_transceiver(String.t(), String.t(), map()) :: SMPPEX.Pdu.t()
Specs
bind_transceiver_resp(non_neg_integer(), String.t()) :: SMPPEX.Pdu.t()
Specs
bind_transmitter(String.t(), String.t(), map()) :: SMPPEX.Pdu.t()
Specs
bind_transmitter_resp(non_neg_integer(), String.t()) :: SMPPEX.Pdu.t()
Specs
deliver_sm( SMPPEX.Pdu.addr() | String.t(), SMPPEX.Pdu.addr() | String.t(), message() ) :: SMPPEX.Pdu.t()
Specs
deliver_sm_resp(non_neg_integer()) :: SMPPEX.Pdu.t()
Link to this function
delivery_report(message_id, source, dest, message \\ "", message_state \\ :DELIVERED)
View SourceSpecs
delivery_report( String.t(), SMPPEX.Pdu.addr(), SMPPEX.Pdu.addr(), String.t(), message_state() ) :: SMPPEX.Pdu.t()
Link to this function
delivery_report_for_submit_sm(message_id, submit_sm, message \\ "", message_state \\ :DELIVERED)
View SourceSpecs
delivery_report_for_submit_sm( String.t(), SMPPEX.Pdu.t(), String.t(), message_state() ) :: SMPPEX.Pdu.t()
Specs
enquire_link() :: SMPPEX.Pdu.t()
Specs
enquire_link_resp(non_neg_integer()) :: SMPPEX.Pdu.t()
Specs
submit_sm( SMPPEX.Pdu.addr() | String.t(), SMPPEX.Pdu.addr() | String.t(), message(), non_neg_integer() ) :: SMPPEX.Pdu.t()
Specs
submit_sm_resp(non_neg_integer(), String.t()) :: SMPPEX.Pdu.t()
Specs
unbind() :: SMPPEX.Pdu.t()
Specs
unbind_resp(non_neg_integer()) :: SMPPEX.Pdu.t()