SMPPEX.Session.handle_unparsed_pdu
You're seeing just the callback
handle_unparsed_pdu
, go back to SMPPEX.Session module for more information.
Specs
handle_unparsed_pdu(pdu :: SMPPEX.RawPdu.t(), error :: term(), state()) :: {:ok, state()} | {:ok, [SMPPEX.Pdu.t()], state()} | {:stop, reason(), state()}
Invoked when the session receives an incoming PDU which couldn't be correctly parsed.
The callback return values indicate the following:
{:ok, state}
— usestate
as the new session state;{:ok, pdus, state}
— usestate
as the new session state and additionally sendpdus
to the connection;{:stop, reason, state}
— stop with reasonreason
and usestate
as the new session state.