smppex v0.3.1 SMPPEX.Pdu.MessageState
Module for operating with deliver_sm
message states.
Summary
Functions
Converts atom representing message state to integer value
Converts integer message state value to string representation
Types
state :: integer
state_name :: atom
Functions
Specs
code_by_name(state_name) :: state
Converts atom representing message state to integer value.
Example
iex(1)> SMPPEX.Pdu.MessageState.code_by_name(:DELIVERED)
2