Local copy
Dependencies: C12832_lcd ConfigFile EthernetInterface LM75B MMA7660 MQTTPacket mbed-rtos mbed
Fork of IBMIoTClientExampleForLPC1768 by
Diff: src/QuickstartClient.h
- Revision:
- 9:cbabd85f2d5d
- Parent:
- 6:a022f983f94b
- Child:
- 12:e9ff8869a99d
--- a/src/QuickstartClient.h Tue Jul 01 10:08:39 2014 +0000 +++ b/src/QuickstartClient.h Tue Jul 01 19:10:47 2014 +0000 @@ -23,7 +23,7 @@ #include <sstream> #include <algorithm> -#define IBM_IOT_BROKER "108.168.183.11"//"108.168.183.11" //-wdc01-2 msproxy //"208.43.110.186" //-wdc01-2 quickstart-msproxy //"37.58.109.238"=old quickstart +#define IBM_IOT_BROKER "5.153.46.201"//"108.168.183.11" //-wdc01-2 msproxy //"208.43.110.186" //-wdc01-2 quickstart-msproxy //"37.58.109.238"=old quickstart #define IBM_IOT_PORT 1883 using namespace std; @@ -50,6 +50,6 @@ void publish(string payload); bool getConnection(); int reconnectDelay(int attempt); - void subscribe(); + int subscribe(); //int* processEvents(char* buf, size_t count); }; \ No newline at end of file