Linux: Serial minor update (#1053)
- The symlink name for the PTY device is set using --my-serial-port making --my-serial-pty deprecated - Replace MY_LINUX_IS_SERIAL_PTY with MY_LINUX_SERIAL_IS_PTY - MY_DEBUGDEVICE can be used to print debug messages from MySensors (as it is currently in the other architectures) - Rename SerialSimulator class to StdInOutStream - Remove old deprecated option --my-radio
This commit is contained in:
@@ -31,11 +31,10 @@
|
||||
|
||||
// Serial config
|
||||
// Enable this if you are using an Arduino connected to the USB
|
||||
//#define MY_LINUX_SERIAL_PORT "/dev/ttyACM0"
|
||||
//#define MY_LINUX_SERIAL_PORT "/dev/ttyUSB0"
|
||||
// Enable this if you need to connect to a controller running on the same device
|
||||
//#define MY_LINUX_IS_SERIAL_PTY
|
||||
// Choose a symlink name for the PTY device
|
||||
//#define MY_LINUX_SERIAL_PTY "/dev/ttyMySensorsGateway"
|
||||
// You also need to define MY_LINUX_SERIAL_PORT above with the symlink name for the PTY device
|
||||
//#define MY_LINUX_SERIAL_IS_PTY
|
||||
// Grant access to the specified system group for the serial device
|
||||
//#define MY_LINUX_SERIAL_GROUPNAME "tty"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user