Beispiel #1
0
        private string[] Execute(ATCommand command)
        {
            var stream = serialPort.BaseStream;

            stream.ReadTimeout  = 10000;
            stream.WriteTimeout = 10000;

            return(command.Execute(stream));
        }
Beispiel #2
0
        private IAsyncEnumerable <string> Execute(ATCommand command)
        {
            var stream = connection.GetStream();

            return(command.Execute(stream));
        }