MySensors Library & Examples  2.3.2-62-ge298769
Macros
+ Collaboration diagram for Linux:

Detailed Description

These options control Linux specific configurations.

Macros

#define MY_LINUX_SERIAL_PORT
 Serial device port.
 
#define MY_LINUX_SERIAL_PTY
 deprecated option
 
#define MY_LINUX_IS_SERIAL_PTY
 deprecated option
 
#define MY_LINUX_SERIAL_IS_PTY
 Set serial as a pseudo terminal. More...
 
#define MY_LINUX_SERIAL_GROUPNAME
 Grant access to the specified system group for the serial device.
 
#define MY_LINUX_CONFIG_FILE   "/etc/mysensors.conf"
 Sets the filepath for the gateway config file. More...
 

Macro Definition Documentation

◆ MY_LINUX_CONFIG_FILE

#define MY_LINUX_CONFIG_FILE   "/etc/mysensors.conf"

Sets the filepath for the gateway config file.

Note
For now the configuration file is only used to store the emulated eeprom state.

Definition at line 2484 of file MyConfig.h.

◆ MY_LINUX_SERIAL_IS_PTY

#define MY_LINUX_SERIAL_IS_PTY

Set serial as a pseudo terminal.

Enable this if you need to connect to a controller running on the same device. You also need to define MY_LINUX_SERIAL_PORT with the symlink name for the PTY device.

Definition at line 2638 of file MyConfig.h.