A simple IoTHub sample using AMQP as transport
Dependencies: EthernetInterface NTPClient iothub_amqp_transport iothub_client mbed-rtos mbed azure_c_shared_utility serializer wolfSSL azure_uamqp_c
This sample showcases the usage of Azure IoT client libraries with the AMQP transport for sending/receiving raw messages from an IoT Hub.
Diff: simplesample_amqp.c
- Revision:
- 18:a3ec1aab72dc
- Parent:
- 16:b2c6de619743
- Child:
- 19:eae21b79ceff
diff -r 4769541ef212 -r a3ec1aab72dc simplesample_amqp.c --- a/simplesample_amqp.c Fri Oct 23 01:40:48 2015 +0000 +++ b/simplesample_amqp.c Thu Dec 17 18:24:08 2015 -0800 @@ -17,6 +17,8 @@ #include "certs.h" #endif // MBED_BUILD_TIMESTAMP +/*String containing Hostname, Device Id & Device Key in the format: */ +/* "HostName=<host_name>;DeviceId=<device_id>;SharedAccessKey=<device_key>" */ static const char* connectionString = "[device connection string]"; // Define the Model