Searched refs:parse_at_command_data (Results 1 – 2 of 2) sorted by relevance
63 pub fn parse_at_command_data(at_string: String) -> Result<AtCommand, String> { in parse_at_command_data() function282 let at_command = parse_at_command_data("".to_string()); in test_parse_empty_fails()285 let at_command = parse_at_command_data("+".to_string()); in test_parse_empty_fails()288 let at_command = parse_at_command_data("AT+".to_string()); in test_parse_empty_fails()295 let at_command = parse_at_command_data("+CMD".to_string()).unwrap(); in test_at_string_copied()301 let at_command = parse_at_command_data("CMD=".to_string()).unwrap(); in test_parse_command_type()304 let at_command = parse_at_command_data("CMD?".to_string()).unwrap(); in test_parse_command_type()307 let at_command = parse_at_command_data("CMD=?".to_string()).unwrap(); in test_parse_command_type()310 let at_command = parse_at_command_data("CMD".to_string()).unwrap(); in test_parse_command_type()317 let at_command = parse_at_command_data("CMD".to_string()).unwrap(); in test_parse_command()[all …]
36 use bt_utils::at_command_parser::{calculate_battery_percent, parse_at_command_data};1586 let at_command = match parse_at_command_data(at_string) { in dispatch_hfp_callbacks()