This is a program that turns your mbed device into a FireFly gateway, that publishes data from FireFly BLE modules to the IBM Watson IoT Platform.
Dependencies: C12832 EthernetInterface MQTT mbed-rtos mbed
Fork of IBMIoTClientEthernetExample by
Revision 7:63a7aa4deaf8, committed 2014-08-20
- Comitter:
- samdanbury
- Date:
- Wed Aug 20 13:46:35 2014 +0000
- Parent:
- 6:37b6d0d56190
- Child:
- 8:80d49dd91542
- Commit message:
- Add AUTH_METHOD credential
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Aug 20 12:45:14 2014 +0000 +++ b/main.cpp Wed Aug 20 13:46:35 2014 +0000 @@ -28,12 +28,14 @@ #if (QUICKSTARTMODE) #define ORG "quickstart" #define ID "" +#define AUTH_METHOD "" #define AUTH_TOKEN "" #define TYPE DEFAULT_TYPE_NAME #else #define ORG "Replace with your org" #define ID "Replace with your id" #define TYPE "Replace with your type" +#define AUTH_METHOD "Replace with your auth-method" #define AUTH_TOKEN "Replace with your auth-token" #endif