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.
certs.c@56:99dabe3ce9ff, 2017-01-28 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Sat Jan 28 09:37:24 2017 -0800
- Revision:
- 56:99dabe3ce9ff
- Parent:
- 53:9efaa552a407
- Child:
- 59:387e4a62097b
1.1.6
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AzureIoTClient | 21:2fcd0b75d093 | 1 | // Copyright (c) Microsoft. All rights reserved. |
AzureIoTClient | 21:2fcd0b75d093 | 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
AzureIoTClient | 21:2fcd0b75d093 | 3 | |
AzureIoTClient | 21:2fcd0b75d093 | 4 | /* This file contains certs needed to communicate with Azure (IoT) */ |
AzureIoTClient | 21:2fcd0b75d093 | 5 | |
AzureIoTClient | 53:9efaa552a407 | 6 | #include "certs.h" |
AzureIoTClient | 53:9efaa552a407 | 7 | |
AzureIoTClient | 21:2fcd0b75d093 | 8 | const char certificates[] = |
AzureIoTClient | 21:2fcd0b75d093 | 9 | /* Baltimore */ |
AzureIoTClient | 21:2fcd0b75d093 | 10 | "-----BEGIN CERTIFICATE-----\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 11 | "MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJ\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 12 | "RTESMBAGA1UEChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYD\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 13 | "VQQDExlCYWx0aW1vcmUgQ3liZXJUcnVzdCBSb290MB4XDTAwMDUxMjE4NDYwMFoX\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 14 | "DTI1MDUxMjIzNTkwMFowWjELMAkGA1UEBhMCSUUxEjAQBgNVBAoTCUJhbHRpbW9y\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 15 | "ZTETMBEGA1UECxMKQ3liZXJUcnVzdDEiMCAGA1UEAxMZQmFsdGltb3JlIEN5YmVy\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 16 | "VHJ1c3QgUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKMEuyKr\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 17 | "mD1X6CZymrV51Cni4eiVgLGw41uOKymaZN+hXe2wCQVt2yguzmKiYv60iNoS6zjr\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 18 | "IZ3AQSsBUnuId9Mcj8e6uYi1agnnc+gRQKfRzMpijS3ljwumUNKoUMMo6vWrJYeK\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 19 | "mpYcqWe4PwzV9/lSEy/CG9VwcPCPwBLKBsua4dnKM3p31vjsufFoREJIE9LAwqSu\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 20 | "XmD+tqYF/LTdB1kC1FkYmGP1pWPgkAx9XbIGevOF6uvUA65ehD5f/xXtabz5OTZy\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 21 | "dc93Uk3zyZAsuT3lySNTPx8kmCFcB5kpvcY67Oduhjprl3RjM71oGDHweI12v/ye\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 22 | "jl0qhqdNkNwnGjkCAwEAAaNFMEMwHQYDVR0OBBYEFOWdWTCCR1jMrPoIVDaGezq1\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 23 | "BE3wMBIGA1UdEwEB/wQIMAYBAf8CAQMwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 24 | "DQEBBQUAA4IBAQCFDF2O5G9RaEIFoN27TyclhAO992T9Ldcw46QQF+vaKSm2eT92\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 25 | "9hkTI7gQCvlYpNRhcL0EYWoSihfVCr3FvDB81ukMJY2GQE/szKN+OMY3EU/t3Wgx\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 26 | "jkzSswF07r51XgdIGn9w/xZchMB5hbgF/X++ZRGjD8ACtPhSNzkE1akxehi/oCr0\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 27 | "Epn3o0WC4zxe9Z2etciefC7IpJ5OCBRLbf1wbWsaY71k5h+3zvDyny67G7fyUIhz\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 28 | "ksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9HRCwBXbsdtTLS\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 29 | "R9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp\r\n" |
AzureIoTClient | 21:2fcd0b75d093 | 30 | "-----END CERTIFICATE-----\r\n"; |