Arch GPRS MQTT demo

Dependencies:   GPRSInterface USBDevice mbed

Fork of Seeed_HTTPClient_GPRSInterface_HelloWorld by Seeed

Files at this revision

API Documentation at this revision

Comitter:
yihui
Date:
Fri Apr 03 09:51:32 2015 +0000
Parent:
3:9dc67659d945
Commit message:
update

Changed in this revision

GPRSInterface.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/GPRSInterface.lib	Fri Apr 03 08:29:43 2015 +0000
+++ b/GPRSInterface.lib	Fri Apr 03 09:51:32 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/lawliet/code/GPRSInterface/#379ce1d51b88
+http://mbed.org/users/lawliet/code/GPRSInterface/#3c6454f033ac
--- 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: