Datavenue Live Objects basic sample using liveobjects-iotsoftbox-mqtt library.
Dependencies: MQTTPacket
Diff: main.cpp
- Revision:
- 8:82317399e4ce
- Parent:
- 4:919c25da5ec8
--- a/main.cpp Tue Apr 04 14:38:50 2017 +0200 +++ b/main.cpp Tue Apr 04 16:17:23 2017 +0200 @@ -22,7 +22,7 @@ #include "mbed.h" #include "rtos.h" -static const char* appv_version = "MBED SAMPLE V03.02"; +static const char* appv_version = "MBED SAMPLE V04.01"; #define MEASURES_ENABLED_AT_INIT 0 #define STREAM_PREFIX 1 @@ -1072,6 +1072,7 @@ output.printf("\n\r !!!! ERROR(%d) to start thread : thread_input_cons\r\n", ret); } +#if 1 output.printf(" ---- Start thread : thread_appli ....\r\n"); ret = appli_thread.start(thread_appli); if (ret) { @@ -1080,6 +1081,7 @@ wait_ms(1000); #endif +#endif // Enable the receipt of commands ret = LiveObjectsClient_ControlCommands(true);