subscribe something
This commit is contained in:
parent
77e83a3d44
commit
6ba5e088b6
@ -72,6 +72,13 @@ void mqttTestHandler(void *handle) {
|
||||
break;
|
||||
|
||||
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");
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user