Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/
Dat_command_parser.rs9 pub enum AtCommandType { enum
48 pub at_type: AtCommandType,
73 AtCommandType::Set => AT_COMMAND_DELIMITER_SET, in parse_at_command_data()
74 AtCommandType::Query => AT_COMMAND_DELIMITER_QUERY, in parse_at_command_data()
75 AtCommandType::Test => AT_COMMAND_DELIMITER_TEST, in parse_at_command_data()
76 AtCommandType::Execute => "", in parse_at_command_data()
81 .splitn(if at_type == AtCommandType::Execute { 1 } else { 2 }, at_type_delimiter); in parse_at_command_data()
183 fn parse_at_command_type(command: String) -> AtCommandType { in parse_at_command_type() argument
185 return AtCommandType::Test; in parse_at_command_type()
188 return AtCommandType::Query; in parse_at_command_type()
[all …]