Commit 5f3edcbc authored by Ian Craggs's avatar Ian Craggs

Add unsubscribe to MQTTClient_subscribe #204

parent 0ff7e219
......@@ -88,6 +88,7 @@ int main(int argc, char* argv[])
ch = getchar();
} while(ch!='Q' && ch != 'q');
MQTTClient_unsubscribe(client, TOPIC);
MQTTClient_disconnect(client, 10000);
MQTTClient_destroy(&client);
return rc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment