A simple IoTHub sample using HTTP as transport
Dependencies: EthernetInterface NTPClient iothub_client iothub_http_transport mbed-rtos mbed wolfSSL serializer azure_c_shared_utility
This sample showcases the usage of Azure IoT client libraries with the HTTP transport for sending/receiving raw messages from an IoT Hub.
Diff: simplesample_http.c
- Revision:
- 7:b2c9d461ef42
- Parent:
- 0:a00ac564e057
- Child:
- 8:a9db8d5c22ee
--- a/simplesample_http.c Thu Sep 17 00:14:36 2015 -0700 +++ b/simplesample_http.c Thu Sep 17 00:26:54 2015 -0700 @@ -135,9 +135,6 @@ } else { - - /* Setup IoTHub client configuration */ - IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle = IoTHubClient_LL_CreateFromConnectionString(connectionString, IoTHubTransportHttp_ProvideTransportInterface); if (iotHubClientHandle == NULL)