pub fn parse(message: &str) -> Result<MtStructured, ParseError>Expand description
Tries to parse a “MT Serial Out Packet Format” message.
§Notes
- Checksum is not calculated here.
§Examples
use wte_mt_rx_parser::mt_structured;
let parsed = mt_structured::parse("MT1001000AL400C592753572B323433212S1723756E4706").unwrap();
// ...§Message format
Data provided should be in the following format:
MT1UUUNNNTFHHHHHHHHHHHHHHHSS112233N4445566WYYYY