Closed teharris1 closed 6 years ago
This change caused things to break for me:
transport, protocol = yield from create_serial_connection(
self._loop, lambda: self.protocol,
self.device.upper(), baudrate=19200)
with this exception:
serial.serialutil.SerialException: [Errno 2] could not open port /DEV/TTYUSB0: [Errno 2] No such file or directory: '/DEV/TTYUSB0'
A previous version did some test about os.name == 'nt' which only did the upper() if you are windows. I think this needs to test whether or not it needs to do that conversion again.
Please don't comment in closed PRs. there is an issue open for Windows support. Please post here:
Addresses the following issues:
98
79
20
Connect to hub v1 via sockets on a configurable port. Default port is 9761. Move from serial.aio to serial_asyncio to provide proper support for sockets and Windows.