|
1 | 1 | /* |
2 | 2 | * Send & receive arbitrary IR codes via a web server or MQTT. |
3 | | - * Copyright David Conran 2016, 2017, 2018, 2019, 2020 |
| 3 | + * Copyright David Conran 2016-2021 |
4 | 4 | */ |
5 | 5 | #ifndef EXAMPLES_IRMQTTSERVER_IRMQTTSERVER_H_ |
6 | 6 | #define EXAMPLES_IRMQTTSERVER_IRMQTTSERVER_H_ |
@@ -101,8 +101,9 @@ const IPAddress kSubnetMask = IPAddress(255, 255, 255, 0); |
101 | 101 | // The unset default is 8%. |
102 | 102 | // (Uncomment to enable) |
103 | 103 | // Do you want/need mdns enabled? (https://en.wikipedia.org/wiki/Multicast_DNS) |
| 104 | +#ifndef MDNS_ENABLE |
104 | 105 | #define MDNS_ENABLE true // `false` to disable and save ~21k of program space. |
105 | | - |
| 106 | +#endif // MDNS_ENABLE |
106 | 107 | // ----------------------- HTTP Related Settings ------------------------------- |
107 | 108 | #define FIRMWARE_OTA true // Allow remote update of the firmware via http. |
108 | 109 | // Less secure if enabled. |
@@ -197,7 +198,9 @@ const uint16_t kMinUnknownSize = 2 * 10; |
197 | 198 | // can understand the individual settings of the remote. |
198 | 199 | // e.g. Aquire the A/C settings from an actual A/C IR remote and override |
199 | 200 | // any local settings set via MQTT/HTTP etc. |
| 201 | +#ifndef USE_DECODED_AC_SETTINGS |
200 | 202 | #define USE_DECODED_AC_SETTINGS true // `false` to disable. `true` to enable. |
| 203 | +#endif // USE_DECODED_AC_SETTINGS |
201 | 204 | // Should we allow or ignore an A/C IR remote to override the A/C protocol/model |
202 | 205 | // as set via MQTT or HTTP? |
203 | 206 | // e.g. If `true`, you can use any fully supported A/C remote to control |
|
0 commit comments