Lines Matching refs:command
145 public ParsedCommand(string command) in ParsedCommand() argument
147 if(!command.StartsWith("AT", true, CultureInfo.InvariantCulture)) in ParsedCommand()
152 if(command.EndsWith("=?")) // Test command in ParsedCommand()
154 Command = command.Substring(0, command.Length - 2); in ParsedCommand()
157 else if(command.EndsWith("?")) // Read command in ParsedCommand()
159 Command = command.Substring(0, command.Length - 1); in ParsedCommand()
162 else if(command.Contains("=")) // Write command in ParsedCommand()
164 var parts = command.Split(new [] { '=' }, 2); in ParsedCommand()
174 if(char.IsDigit(command.Last())) in ParsedCommand()
176 arguments = command.Last().ToString(); in ParsedCommand()
177 command = command.Substring(0, command.Length - 1); in ParsedCommand()
179 Command = command; in ParsedCommand()
185 public static bool TryParse(string command, out ParsedCommand parsed) in TryParse() argument
189 parsed = new ParsedCommand(command); in TryParse()
201 get => command;
202 private set => command = value.ToUpper();
207 private string command; field in Antmicro.Renode.Peripherals.Network.AtCommandModem.ParsedCommand