ready for tag FIRST_MQTT
This commit is contained in:
parent
fccb9f3b21
commit
56c581080e
@ -14,6 +14,7 @@
|
||||
#include <Streaming.h>
|
||||
#include <Metro.h>
|
||||
#include "config.h"
|
||||
#include "info.h"
|
||||
|
||||
|
||||
const uint8_t POWER_LED = 4;
|
||||
@ -25,6 +26,7 @@ static uint8_t mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xEF };
|
||||
static CmdServer cmdServer(2000);
|
||||
static TestCmd testCmd;
|
||||
static Uptime uptime;
|
||||
static InfoCmd infoCmd;
|
||||
|
||||
static MeterBusMaster meterBusMaster;
|
||||
static MqttClient mqttClient(&meterBusMaster);
|
||||
@ -72,6 +74,7 @@ void setup() {
|
||||
|
||||
cmdServer.begin();
|
||||
testCmd.registerYourself(&cmdServer);
|
||||
infoCmd.registerYourself(&cmdServer);
|
||||
uptime.begin(&cmdServer);
|
||||
|
||||
overCurrentProt.begin(&cmdServer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user