Expand description
§smpp34
A pure-Rust implementation of the SMPP 3.4 protocol (Short Message Peer-to-Peer): PDU codec plus async (tokio) client and server built on a listener-trait model.
SmppClientbinds to an SMSC as an ESME (TX / RX / TRX) and sendssubmit_sm/data_sm; inbounddeliver_smand lifecycle events are delivered to yourSmppClientListener.SmppServeraccepts ESME binds and dispatchessubmit_sm,data_sm,cancel_sm, etc. to yourSmppServerListener; theESMEhandle sendsdeliver_sm.- The wire codec for every PDU lives in
common, including optionalTlvparameters.
Sessions manage the SMPP timers (session_init, enquire_link, inactivity, response),
sequence-number windowing, and (optionally) TLS.
See the crate README for a runnable bind → submit_sm example.
Re-exports§
pub use server::SmppServer;pub use server::SmppServerListener;pub use common::tlv::decode_tlvs;pub use common::tlv::encode_tlvs;pub use common::tlv::tlvs_encoded_len;pub use common::tlv::Tlv;pub use common::tlv::TlvList;pub use common::tlv::TlvTag;pub use common::*;