Arch GPRS MQTT demo
Dependencies: GPRSInterface USBDevice mbed
Fork of Seeed_HTTPClient_GPRSInterface_HelloWorld by
Diff: main.cpp
- Revision:
- 4:14a9621ec99c
- Parent:
- 3:9dc67659d945
--- a/main.cpp Fri Apr 03 08:29:43 2015 +0000 +++ b/main.cpp Fri Apr 03 09:51:32 2015 +0000 @@ -96,8 +96,8 @@ char clientID[] = "1095"; /*Client nanme show for MQTT server*/ char user[] = "yihui"; char password[] = "cLkFPjQa"; - char pub_topic[] = "/users/yihui/test"; /*Publish to topic : "/users/kinan/test" */ - char sub_topic[] = "/users/yihui/test"; /*Subscribe to topic : "/users/kinan/test" */ + char pub_topic[] = "/users/yihui/test"; + char sub_topic[] = "/users/yihui/test"; mqtt_connect: