IoTHub raw messaging client sample using AMQP
Dependencies: iothub_client EthernetInterface NTPClient iothub_amqp_transport azure_c_shared_utility mbed-rtos mbed azure_uamqp_c wolfSSL
This sample showcases the usage of Azure IoT client libraries with the AMQP transport for sending/receiving raw messages from an IoT Hub.
Diff: iothub_client_sample_amqp.c
- Revision:
- 20:ef0d1001c8f0
- Parent:
- 19:de28463ff3cc
- Child:
- 26:9a91eb828b15
--- a/iothub_client_sample_amqp.c Mon Nov 02 19:21:30 2015 -0800 +++ b/iothub_client_sample_amqp.c Thu Dec 17 18:23:53 2015 -0800 @@ -14,6 +14,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]"; static int callbackCounter;