public async Task SendCommandAsync(BciCommand cmd)
        {
            if (_port == null)
            {
                throw new InvalidOperationException("Serial port disposed");
            }
            bool success = await _port.Send(cmd.CommandBytes);

            if (!success)
            {
                throw new IOException("Command transmitting unsuccessfull");
            }
        }