subscribe something

This commit is contained in:
Wolfgang Hottgenroth 2020-11-13 14:25:48 +01:00
parent 77e83a3d44
commit 6ba5e088b6
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -72,6 +72,13 @@ void mqttTestHandler(void *handle) {
break; break;
case 4: case 4:
coloredMsg(LOG_YELLOW, "mth, subscribe something");
res = subscribe(&mqttClient, "wiznet/helloback", MQTTQOS0);
coloredMsg(LOG_YELLOW, "mth, subscribe returned %d", res);
state = 5;
break;
case 5:
coloredMsg(LOG_YELLOW, "mth, waiting"); coloredMsg(LOG_YELLOW, "mth, waiting");
break; break;