extra device topic not needed anymore
This commit is contained in:
@ -15,7 +15,6 @@
|
|||||||
#define AIRSPEED_SIM_DOWN "sim/autopilot/airspeed_down"
|
#define AIRSPEED_SIM_DOWN "sim/autopilot/airspeed_down"
|
||||||
|
|
||||||
#define MQTT_SIM_COMMAND_TOPIC "/xplane/meta/cmnd"
|
#define MQTT_SIM_COMMAND_TOPIC "/xplane/meta/cmnd"
|
||||||
#define MQTT_SIM_DEVICE_TOPIC "/xplane/meta/device"
|
|
||||||
#define MQTT_SIM_LOG_TOPIC "/xplane/meta/log"
|
#define MQTT_SIM_LOG_TOPIC "/xplane/meta/log"
|
||||||
#define MQTT_SIM_VALUE_TOPIC "/xplane/rref/#"
|
#define MQTT_SIM_VALUE_TOPIC "/xplane/rref/#"
|
||||||
|
|
||||||
@ -107,7 +106,7 @@ void setup() {
|
|||||||
while (1);
|
while (1);
|
||||||
} else {
|
} else {
|
||||||
Serial.println("MQTT connected");
|
Serial.println("MQTT connected");
|
||||||
sendMqttMessage(MQTT_SIM_DEVICE_TOPIC, 1, "Master online");
|
sendMqttMessage(MQTT_SIM_LOG_TOPIC, 1, "Master online");
|
||||||
}
|
}
|
||||||
|
|
||||||
// subscribe to MQTT topic
|
// subscribe to MQTT topic
|
||||||
|
Reference in New Issue
Block a user