Enable repeater mode for MQTT gateway when radio is attached.

This commit is contained in:
Henrik Ekblad
2015-11-14 20:42:35 +01:00
parent 0b4f6950c7
commit a6a86ba1dd
+4
View File
@@ -89,6 +89,10 @@
// GATEWAY - TRANSPORT
#if defined(MY_GATEWAY_MQTT_CLIENT)
#if defined(MY_RADIO_FEATURE)
// We assume that a gateway having a radio also should act as repeater
#define MY_REPEATER_FEATURE
#endif
// GATEWAY - COMMON FUNCTIONS
// We only support MQTT Client using W5100 and ESP8266 at the moment
#if !defined(MY_CONTROLLER_IP_ADDRESS)