IoTHub raw messaging client sample using MQTT
Dependencies: EthernetInterface NTPClient mbed-rtos mbed wolfSSL azure_c_shared_utility iothub_client azure_umqtt_c iothub_mqtt_transport
Diff: iothub_client_sample_mqtt.c
- Revision:
- 7:02bc67ebbe23
- Parent:
- 6:02304619a9fa
- Child:
- 10:f77bb0044e11
diff -r 02304619a9fa -r 02bc67ebbe23 iothub_client_sample_mqtt.c --- a/iothub_client_sample_mqtt.c Sun Apr 24 16:42:15 2016 -0700 +++ b/iothub_client_sample_mqtt.c Mon May 09 14:38:32 2016 -0700 @@ -15,6 +15,9 @@ #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>" */ +/* "HostName=<host_name>;DeviceId=<device_id>;SharedAccessSignature=<device_sas_token>" */ static const char* connectionString = "[device connection string]"; static int callbackCounter;