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:
- 2:fc3132155be8
- Parent:
- 0:caa8884fe136
- Child:
- 4:02142ed0a6af
diff -r 8240a8fe7694 -r fc3132155be8 simplesample_amqp.c --- a/simplesample_amqp.c Wed Sep 16 21:36:50 2015 +0000 +++ b/simplesample_amqp.c Wed Sep 16 22:43:21 2015 -0700 @@ -15,7 +15,7 @@ #include "certs.h" #endif // MBED_BUILD_TIMESTAMP -static const char* connectionString = "HostName=iot-device-client.df.azure-devices-int.net;CredentialScope=Device;DeviceId=test_dcristo;SharedAccessKey=YBDXkOStSnhSkZaab3E1QOGJdluYtyf/qCBOqEG8xpQ=;"; +static const char* connectionString = "[IoT Connection String goes here]"; // Define the Model BEGIN_NAMESPACE(MyThermostat);