|
243 | 243 | /**
|
244 | 244 | * @def MY_RS485_HWSERIAL
|
245 | 245 | * @brief Define this if RS485 is connected to a hardware serial port.
|
| 246 | + * |
| 247 | + * Example: @code #define MY_RS485_HWSERIAL Serial1 @endcode |
246 | 248 | */
|
247 | 249 | //#define MY_RS485_HWSERIAL (Serial1)
|
248 | 250 | /** @}*/ // End of RS485SettingGrpPub group
|
|
1404 | 1406 |
|
1405 | 1407 | /**
|
1406 | 1408 | * @def MY_IP_ADDRESS
|
1407 |
| - * @brief Static ip address of gateway (if this is not defined, DHCP will be used). |
| 1409 | + * @brief Static ip address of gateway. If not defined, DHCP will be used. |
| 1410 | + * |
| 1411 | + * Example: @code #define MY_IP_ADDRESS 192,168,178,66 @endcode |
1408 | 1412 | */
|
1409 | 1413 | //#define MY_IP_ADDRESS 192,168,178,66
|
1410 | 1414 |
|
|
1437 | 1441 | * @brief If this is defined, gateway will act as a client trying to contact controller on
|
1438 | 1442 | * @ref MY_PORT using this IP address.
|
1439 | 1443 | *
|
| 1444 | + * Example: @code #define MY_CONTROLLER_IP_ADDRESS 192,168,178,254 @endcode |
| 1445 | + * |
1440 | 1446 | * If left un-defined, gateway acts as server allowing incoming connections.
|
1441 | 1447 | */
|
1442 | 1448 | //#define MY_CONTROLLER_IP_ADDRESS 192,168,178,254
|
|
1535 | 1541 | * @brief Enables SW backed signing functionality and encryption functionality in library and uses
|
1536 | 1542 | * provided password as key.
|
1537 | 1543 | *
|
| 1544 | + * Example: @code #define MY_SECURITY_SIMPLE_PASSWD "MyInsecurePassword" @endcode |
| 1545 | + * |
1538 | 1546 | * For details on the effects, see the references.
|
1539 | 1547 | * @see MY_SIGNING_SIMPLE_PASSWD, MY_ENCRYPTION_SIMPLE_PASSWD
|
1540 | 1548 | */
|
|
1582 | 1590 | * to accommodate the key size in question. A 32 character password is the maximum length. Any
|
1583 | 1591 | * password longer than that will be truncated.
|
1584 | 1592 | *
|
| 1593 | + * Example: @code #define MY_SIGNING_SIMPLE_PASSWD "MyInsecurePassword" @endcode |
| 1594 | + * |
1585 | 1595 | * @see MY_SECURITY_SIMPLE_PASSWD
|
1586 | 1596 | *
|
1587 | 1597 | */
|
|
1659 | 1669 | * the signed message.
|
1660 | 1670 | *
|
1661 | 1671 | * It is legal to only have one node with a whitelist for this reason but it is not required.
|
| 1672 | + * |
| 1673 | + * Example: @code #define MY_SIGNING_NODE_WHITELISTING {{.nodeId = GATEWAY_ADDRESS,.serial = {0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01}}} @endcode |
1662 | 1674 | */
|
1663 | 1675 | //#define MY_SIGNING_NODE_WHITELISTING {{.nodeId = GATEWAY_ADDRESS,.serial = {0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01}}}
|
1664 | 1676 |
|
|
1731 | 1743 | * to accommodate the key size in question. A 16 character password is the maximum length. Any
|
1732 | 1744 | * password longer than that will be truncated.
|
1733 | 1745 | *
|
| 1746 | + * Example: @code #define MY_ENCRYPTION_SIMPLE_PASSWD "MyInsecurePassword" @endcode |
| 1747 | + * |
1734 | 1748 | * @see MY_SECURITY_SIMPLE_PASSWD
|
1735 | 1749 | */
|
1736 | 1750 | //#define MY_ENCRYPTION_SIMPLE_PASSWD "MyInsecurePassword"
|
|
2094 | 2108 | #define MY_GATEWAY_ESP32
|
2095 | 2109 | #define MY_GATEWAY_LINUX
|
2096 | 2110 | #define MY_GATEWAY_TINYGSM
|
2097 |
| -#define MY_IP_ADDRESS 192,168,178,66 |
| 2111 | +#define MY_IP_ADDRESS |
2098 | 2112 | #define MY_USE_UDP
|
2099 |
| -#define MY_CONTROLLER_IP_ADDRESS 192,168,178,254 |
| 2113 | +#define MY_CONTROLLER_IP_ADDRESS |
2100 | 2114 | // TinyGSM
|
2101 | 2115 | /**
|
2102 | 2116 | * @def MY_GSM_APN
|
|
2143 | 2157 | #define MY_DEFAULT_TX_LED_PIN
|
2144 | 2158 | #define MY_DEFAULT_RX_LED_PIN
|
2145 | 2159 | // signing
|
2146 |
| -#define MY_SECURITY_SIMPLE_PASSWD "MyInsecurePassword" |
2147 |
| -#define MY_SIGNING_SIMPLE_PASSWD "MyInsecurePassword" |
2148 |
| -#define MY_ENCRYPTION_SIMPLE_PASSWD "MyInsecurePassword" |
| 2160 | +#define MY_SECURITY_SIMPLE_PASSWD |
| 2161 | +#define MY_SIGNING_SIMPLE_PASSWD |
| 2162 | +#define MY_ENCRYPTION_SIMPLE_PASSWD |
2149 | 2163 | #define MY_SIGNING_ATSHA204
|
2150 | 2164 | #define MY_SIGNING_SOFT
|
2151 | 2165 | #define MY_SIGNING_REQUEST_SIGNATURES
|
2152 | 2166 | #define MY_SIGNING_WEAK_SECURITY
|
2153 |
| -#define MY_SIGNING_NODE_WHITELISTING {{.nodeId = GATEWAY_ADDRESS,.serial = {0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01}}} |
| 2167 | +#define MY_SIGNING_NODE_WHITELISTING |
2154 | 2168 | #define MY_DEBUG_VERBOSE_SIGNING
|
2155 | 2169 | #define MY_SIGNING_FEATURE
|
2156 | 2170 | #define MY_ENCRYPTION_FEATURE
|
|
2159 | 2173 | #define MY_OTA_USE_I2C_EEPROM
|
2160 | 2174 | // RS485
|
2161 | 2175 | #define MY_RS485
|
2162 |
| -#define MY_RS485_HWSERIAL (Serial1) |
| 2176 | +#define MY_RS485_HWSERIAL |
2163 | 2177 | // RF24
|
2164 | 2178 | #define MY_RADIO_RF24
|
2165 | 2179 | #define MY_DEBUG_VERBOSE_RF24
|
|
0 commit comments