subscribe something

This commit is contained in:
Wolfgang Hottgenroth 2020-11-13 14:30:41 +01:00
parent 6ba5e088b6
commit 943dab7594
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -22,7 +22,7 @@ uint16_t brokerPort = 1883;
// typedef void (*callback_t)(char*, uint8_t*, uint16_t);
static void mqttCallback(char *topic, uint8_t *payload, uint16_t payloadLength) {
logMsg("mcb");
logMsg("mcb: %s : %*s", topic, payloadLength, payload);
}
@ -79,7 +79,7 @@ void mqttTestHandler(void *handle) {
break;
case 5:
coloredMsg(LOG_YELLOW, "mth, waiting");
// coloredMsg(LOG_YELLOW, "mth, waiting");
break;
case 255: