Home
last modified time | relevance | path

Searched refs:parse_at_command_data (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/
Dat_command_parser.rs63 pub fn parse_at_command_data(at_string: String) -> Result<AtCommand, String> { in parse_at_command_data() function
282 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 …]
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_media.rs36 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()