fork from simple sample of mqtt
Dependencies: azure_c_shared_utility azure_umqtt_c iothub_client iothub_mqtt_transport serializer wolfSSL
Fork of simplesample_mqtt by
Diff: simplesample_mqtt.c
- Revision:
- 26:3126b9d4187b
- Parent:
- 25:6b2b9feb6dc3
- Child:
- 30:7bb030702a93
--- a/simplesample_mqtt.c Wed Nov 16 21:40:49 2016 -0800 +++ b/simplesample_mqtt.c Wed Dec 14 16:04:11 2016 -0800 @@ -11,11 +11,16 @@ Simply changing the using the convenience layer (functions not having _LL) and removing calls to _DoWork will yield the same results. */ +#ifdef ARDUINO +#include "AzureIoTHub.h" +#else #include "azure_c_shared_utility/threadapi.h" #include "azure_c_shared_utility/platform.h" #include "serializer.h" #include "iothub_client_ll.h" #include "iothubtransportmqtt.h" +#endif + #ifdef MBED_BUILD_TIMESTAMP #include "certs.h" #endif // MBED_BUILD_TIMESTAMP