Skip to main content

unbind/
unbind.rs

1use smpp_codec::pdus::UnbindRequest;
2
3fn main() {
4    println!("=== SMPP Unbind Example ===");
5
6    let unbind_req = UnbindRequest::new(99);
7    println!("Unbind Request: {:?}", unbind_req);
8
9    let mut buffer = Vec::new();
10    unbind_req.encode(&mut buffer).unwrap();
11
12    println!("Encoded {} bytes", buffer.len());
13}