fork from simple sample of mqtt

Dependencies:   azure_c_shared_utility azure_umqtt_c iothub_client iothub_mqtt_transport serializer wolfSSL

Fork of simplesample_mqtt by Azure IoT

Committer:
Azure.IoT Build
Date:
Fri Mar 25 16:10:49 2016 -0700
Revision:
2:eef448cf9eb7
Child:
27:f85d634ae232
1.0.3

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Azure.IoT Build 2:eef448cf9eb7 1 // Copyright (c) Microsoft. All rights reserved.
Azure.IoT Build 2:eef448cf9eb7 2 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
Azure.IoT Build 2:eef448cf9eb7 3
Azure.IoT Build 2:eef448cf9eb7 4 /* This file contains certs needed to communicate with Azure (IoT) */
Azure.IoT Build 2:eef448cf9eb7 5
Azure.IoT Build 2:eef448cf9eb7 6 const char certificates[] =
Azure.IoT Build 2:eef448cf9eb7 7 /* Baltimore */
Azure.IoT Build 2:eef448cf9eb7 8 "-----BEGIN CERTIFICATE-----\r\n"
Azure.IoT Build 2:eef448cf9eb7 9 "MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJ\r\n"
Azure.IoT Build 2:eef448cf9eb7 10 "RTESMBAGA1UEChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYD\r\n"
Azure.IoT Build 2:eef448cf9eb7 11 "VQQDExlCYWx0aW1vcmUgQ3liZXJUcnVzdCBSb290MB4XDTAwMDUxMjE4NDYwMFoX\r\n"
Azure.IoT Build 2:eef448cf9eb7 12 "DTI1MDUxMjIzNTkwMFowWjELMAkGA1UEBhMCSUUxEjAQBgNVBAoTCUJhbHRpbW9y\r\n"
Azure.IoT Build 2:eef448cf9eb7 13 "ZTETMBEGA1UECxMKQ3liZXJUcnVzdDEiMCAGA1UEAxMZQmFsdGltb3JlIEN5YmVy\r\n"
Azure.IoT Build 2:eef448cf9eb7 14 "VHJ1c3QgUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKMEuyKr\r\n"
Azure.IoT Build 2:eef448cf9eb7 15 "mD1X6CZymrV51Cni4eiVgLGw41uOKymaZN+hXe2wCQVt2yguzmKiYv60iNoS6zjr\r\n"
Azure.IoT Build 2:eef448cf9eb7 16 "IZ3AQSsBUnuId9Mcj8e6uYi1agnnc+gRQKfRzMpijS3ljwumUNKoUMMo6vWrJYeK\r\n"
Azure.IoT Build 2:eef448cf9eb7 17 "mpYcqWe4PwzV9/lSEy/CG9VwcPCPwBLKBsua4dnKM3p31vjsufFoREJIE9LAwqSu\r\n"
Azure.IoT Build 2:eef448cf9eb7 18 "XmD+tqYF/LTdB1kC1FkYmGP1pWPgkAx9XbIGevOF6uvUA65ehD5f/xXtabz5OTZy\r\n"
Azure.IoT Build 2:eef448cf9eb7 19 "dc93Uk3zyZAsuT3lySNTPx8kmCFcB5kpvcY67Oduhjprl3RjM71oGDHweI12v/ye\r\n"
Azure.IoT Build 2:eef448cf9eb7 20 "jl0qhqdNkNwnGjkCAwEAAaNFMEMwHQYDVR0OBBYEFOWdWTCCR1jMrPoIVDaGezq1\r\n"
Azure.IoT Build 2:eef448cf9eb7 21 "BE3wMBIGA1UdEwEB/wQIMAYBAf8CAQMwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3\r\n"
Azure.IoT Build 2:eef448cf9eb7 22 "DQEBBQUAA4IBAQCFDF2O5G9RaEIFoN27TyclhAO992T9Ldcw46QQF+vaKSm2eT92\r\n"
Azure.IoT Build 2:eef448cf9eb7 23 "9hkTI7gQCvlYpNRhcL0EYWoSihfVCr3FvDB81ukMJY2GQE/szKN+OMY3EU/t3Wgx\r\n"
Azure.IoT Build 2:eef448cf9eb7 24 "jkzSswF07r51XgdIGn9w/xZchMB5hbgF/X++ZRGjD8ACtPhSNzkE1akxehi/oCr0\r\n"
Azure.IoT Build 2:eef448cf9eb7 25 "Epn3o0WC4zxe9Z2etciefC7IpJ5OCBRLbf1wbWsaY71k5h+3zvDyny67G7fyUIhz\r\n"
Azure.IoT Build 2:eef448cf9eb7 26 "ksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9HRCwBXbsdtTLS\r\n"
Azure.IoT Build 2:eef448cf9eb7 27 "R9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp\r\n"
Azure.IoT Build 2:eef448cf9eb7 28 "-----END CERTIFICATE-----\r\n"
Azure.IoT Build 2:eef448cf9eb7 29 /* MSIT */
Azure.IoT Build 2:eef448cf9eb7 30 "-----BEGIN CERTIFICATE-----\r\n"
Azure.IoT Build 2:eef448cf9eb7 31 "MIIFhjCCBG6gAwIBAgIEByeaqTANBgkqhkiG9w0BAQsFADBaMQswCQYDVQQGEwJJ\r\n"
Azure.IoT Build 2:eef448cf9eb7 32 "RTESMBAGA1UEChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYD\r\n"
Azure.IoT Build 2:eef448cf9eb7 33 "VQQDExlCYWx0aW1vcmUgQ3liZXJUcnVzdCBSb290MB4XDTEzMTIxOTIwMDczMloX\r\n"
Azure.IoT Build 2:eef448cf9eb7 34 "DTE3MTIxOTIwMDY1NVowgYsxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5n\r\n"
Azure.IoT Build 2:eef448cf9eb7 35 "dG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9y\r\n"
Azure.IoT Build 2:eef448cf9eb7 36 "YXRpb24xFTATBgNVBAsTDE1pY3Jvc29mdCBJVDEeMBwGA1UEAxMVTWljcm9zb2Z0\r\n"
Azure.IoT Build 2:eef448cf9eb7 37 "IElUIFNTTCBTSEEyMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0eg3\r\n"
Azure.IoT Build 2:eef448cf9eb7 38 "p3aKcEsZ8CA3CSQ3f+r7eOYFumqtTicN/HJq2WwhxGQRlXMQClwle4hslAT9x9uu\r\n"
Azure.IoT Build 2:eef448cf9eb7 39 "e9xKCLM+FvHQrdswbdcaHlK1PfBHGQPifaa9VxM/VOo6o7F3/ELwY0lqkYAuMEnA\r\n"
Azure.IoT Build 2:eef448cf9eb7 40 "iusrr/466wddBvfp/YQOkb0JICnobl0JzhXT5+/bUOtE7xhXqwQdvDH593sqE8/R\r\n"
Azure.IoT Build 2:eef448cf9eb7 41 "PVGvG8W1e+ew/FO7mudj3kEztkckaV24Rqf/ravfT3p4JSchJjTKAm43UfDtWBpg\r\n"
Azure.IoT Build 2:eef448cf9eb7 42 "lPbEk9jdMCQl1xzrGZQ1XZOyrqopg3PEdFkFUmed2mdROQU6NuryHnYrFK7sPfkU\r\n"
Azure.IoT Build 2:eef448cf9eb7 43 "mYsHbrznDFberL6u23UykJ5jvXS/4ArK+DSWZ4TN0UI4eMeZtgzOtg/pG8v0Wb4R\r\n"
Azure.IoT Build 2:eef448cf9eb7 44 "DsssMsj6gylkeTyLS/AydGzzk7iWa11XWmjBzAx5ihne9UkCXgiAAYkMMs3S1pbV\r\n"
Azure.IoT Build 2:eef448cf9eb7 45 "S6Dz7L+r9H2zobl82k7X5besufIlXwHLjJaoKK7BM1r2PwiQ3Ov/OdgmyBKdHJqq\r\n"
Azure.IoT Build 2:eef448cf9eb7 46 "qcAWjobtZ1KWAH8Nkj092XA25epCbx+uleVbXfjQOsfU3neG0PyeTuLiuKloNwnE\r\n"
Azure.IoT Build 2:eef448cf9eb7 47 "OeOFuInzH263bR9KLxgJb95KAY8Uybem7qdjnzOkVHxCg2i4pd+/7LkaXRM72a1o\r\n"
Azure.IoT Build 2:eef448cf9eb7 48 "/SAKVZEhZPnXEwGgCF1ZiRtEr6SsxwUQ+kFKqPsCAwEAAaOCASAwggEcMBIGA1Ud\r\n"
Azure.IoT Build 2:eef448cf9eb7 49 "EwEB/wQIMAYBAf8CAQAwUwYDVR0gBEwwSjBIBgkrBgEEAbE+AQAwOzA5BggrBgEF\r\n"
Azure.IoT Build 2:eef448cf9eb7 50 "BQcCARYtaHR0cDovL2N5YmVydHJ1c3Qub21uaXJvb3QuY29tL3JlcG9zaXRvcnku\r\n"
Azure.IoT Build 2:eef448cf9eb7 51 "Y2ZtMA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUH\r\n"
Azure.IoT Build 2:eef448cf9eb7 52 "AwIwHwYDVR0jBBgwFoAU5Z1ZMIJHWMys+ghUNoZ7OrUETfAwQgYDVR0fBDswOTA3\r\n"
Azure.IoT Build 2:eef448cf9eb7 53 "oDWgM4YxaHR0cDovL2NkcDEucHVibGljLXRydXN0LmNvbS9DUkwvT21uaXJvb3Qy\r\n"
Azure.IoT Build 2:eef448cf9eb7 54 "MDI1LmNybDAdBgNVHQ4EFgQUUa8kJpz0aCJXgCYrO0ZiFXsezKUwDQYJKoZIhvcN\r\n"
Azure.IoT Build 2:eef448cf9eb7 55 "AQELBQADggEBAHaFxSMxH7Rz6qC8pe3fRUNqf2kgG4Cy+xzdqn+I0zFBNvf7+2ut\r\n"
Azure.IoT Build 2:eef448cf9eb7 56 "mIx4H50RZzrNS+yovJ0VGcQ7C6eTzuj8nVvoH8tWrnZDK8cTUXdBqGZMX6fR16p1\r\n"
Azure.IoT Build 2:eef448cf9eb7 57 "xRspTMn0baFeoYWTFsLLO6sUfUT92iUphir+YyDK0gvCNBW7r1t/iuCq7UWm6nnb\r\n"
Azure.IoT Build 2:eef448cf9eb7 58 "2DVmVEPeNzPR5ODNV8pxsH3pFndk6FmXudUu0bSR2ndx80oPSNI0mWCVN6wfAc0Q\r\n"
Azure.IoT Build 2:eef448cf9eb7 59 "negqpSDHUJuzbEl4K1iSZIm4lTaoNKrwQdKVWiRUl01uBcSVrcR6ozn7eQaKm6ZP\r\n"
Azure.IoT Build 2:eef448cf9eb7 60 "2SL6RE4288kPpjnngLJev7050UblVUfbvG4=\r\n"
Azure.IoT Build 2:eef448cf9eb7 61 "-----END CERTIFICATE-----\r\n"
Azure.IoT Build 2:eef448cf9eb7 62 /* *.azure-devices.net */
Azure.IoT Build 2:eef448cf9eb7 63 "-----BEGIN CERTIFICATE-----\r\n"
Azure.IoT Build 2:eef448cf9eb7 64 "MIIGcjCCBFqgAwIBAgITWgABtrNbz7vBeV0QWwABAAG2szANBgkqhkiG9w0BAQsF\r\n"
Azure.IoT Build 2:eef448cf9eb7 65 "ADCBizELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcT\r\n"
Azure.IoT Build 2:eef448cf9eb7 66 "B1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEVMBMGA1UE\r\n"
Azure.IoT Build 2:eef448cf9eb7 67 "CxMMTWljcm9zb2Z0IElUMR4wHAYDVQQDExVNaWNyb3NvZnQgSVQgU1NMIFNIQTIw\r\n"
Azure.IoT Build 2:eef448cf9eb7 68 "HhcNMTUwODI3MDMxODA0WhcNMTcwODI2MDMxODA0WjAeMRwwGgYDVQQDDBMqLmF6\r\n"
Azure.IoT Build 2:eef448cf9eb7 69 "dXJlLWRldmljZXMubmV0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\r\n"
Azure.IoT Build 2:eef448cf9eb7 70 "nXC/qBUdlnfIm5K3HYu0o/Mb5tNNcsr0xy4Do0Puwq2W1tz0ZHvIIS9VOANhkNCb\r\n"
Azure.IoT Build 2:eef448cf9eb7 71 "VyOncnP6dvmM/rYYKth/NQ8RUiZOYlROZ0SYC8cvxq9WOln4GXtEU8vNVqJbYrJj\r\n"
Azure.IoT Build 2:eef448cf9eb7 72 "rPMHfxqLzTE/0ZnQffnDT3iMUE9kFLHow0YgaSRU0KZsc9KAROmzBzu+QIB1WGKX\r\n"
Azure.IoT Build 2:eef448cf9eb7 73 "D7CN361tG1UuN68Bz7MSnbgk98Z+DjDxfusoDhiiy/Y9MLOJMt4WIy5BqL3lfLnn\r\n"
Azure.IoT Build 2:eef448cf9eb7 74 "r+JLqmpiFuyVUDacFQDprYJ1/AFgcsKYu/ydmASARPzqJhOGaC2sZP0U5oBOoBzI\r\n"
Azure.IoT Build 2:eef448cf9eb7 75 "bz4tfn8Bi0kJKmS53mQt+wIDAQABo4ICOTCCAjUwCwYDVR0PBAQDAgSwMB0GA1Ud\r\n"
Azure.IoT Build 2:eef448cf9eb7 76 "JQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAdBgNVHQ4EFgQUKpYehBSNA53Oxivn\r\n"
Azure.IoT Build 2:eef448cf9eb7 77 "aLCz3+eFUJ0wXQYDVR0RBFYwVIITKi5henVyZS1kZXZpY2VzLm5ldIIaKi5hbXFw\r\n"
Azure.IoT Build 2:eef448cf9eb7 78 "d3MuYXp1cmUtZGV2aWNlcy5uZXSCISouc3UubWFuYWdlbWVudC1henVyZS1kZXZp\r\n"
Azure.IoT Build 2:eef448cf9eb7 79 "Y2VzLm5ldDAfBgNVHSMEGDAWgBRRryQmnPRoIleAJis7RmIVex7MpTB9BgNVHR8E\r\n"
Azure.IoT Build 2:eef448cf9eb7 80 "djB0MHKgcKBuhjZodHRwOi8vbXNjcmwubWljcm9zb2Z0LmNvbS9wa2kvbXNjb3Jw\r\n"
Azure.IoT Build 2:eef448cf9eb7 81 "L2NybC9tc2l0d3d3Mi5jcmyGNGh0dHA6Ly9jcmwubWljcm9zb2Z0LmNvbS9wa2kv\r\n"
Azure.IoT Build 2:eef448cf9eb7 82 "bXNjb3JwL2NybC9tc2l0d3d3Mi5jcmwwcAYIKwYBBQUHAQEEZDBiMDwGCCsGAQUF\r\n"
Azure.IoT Build 2:eef448cf9eb7 83 "BzAChjBodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL21zY29ycC9tc2l0d3d3\r\n"
Azure.IoT Build 2:eef448cf9eb7 84 "Mi5jcnQwIgYIKwYBBQUHMAGGFmh0dHA6Ly9vY3NwLm1zb2NzcC5jb20wTgYDVR0g\r\n"
Azure.IoT Build 2:eef448cf9eb7 85 "BEcwRTBDBgkrBgEEAYI3KgEwNjA0BggrBgEFBQcCARYoaHR0cDovL3d3dy5taWNy\r\n"
Azure.IoT Build 2:eef448cf9eb7 86 "b3NvZnQuY29tL3BraS9tc2NvcnAvY3BzADAnBgkrBgEEAYI3FQoEGjAYMAoGCCsG\r\n"
Azure.IoT Build 2:eef448cf9eb7 87 "AQUFBwMBMAoGCCsGAQUFBwMCMA0GCSqGSIb3DQEBCwUAA4ICAQCrjzOSW+X6v+UC\r\n"
Azure.IoT Build 2:eef448cf9eb7 88 "u+JkYyuypXN14pPLcGFbknJWj6DAyFWXKC8ihIYdtf/szWIO7VooplSTZ05u/JYu\r\n"
Azure.IoT Build 2:eef448cf9eb7 89 "ZYh7fAw27qih9CLhhfncXi5yzjgLMlD0mlbORvMJR/nMl7Yh1ki9GyLnpOqMmO+E\r\n"
Azure.IoT Build 2:eef448cf9eb7 90 "yTpOiE07Uyt2uWelLHjMY8kwy2bSRXIp7/+A8qHRaIIdXNtAKIK5jo068BJpo77h\r\n"
Azure.IoT Build 2:eef448cf9eb7 91 "4PljCb9JFdEt6sAKKuaP86Y+8oRZ7YzU4TLDCiK8P8n/gQXH0vvhOE/O0n7gWPqB\r\n"
Azure.IoT Build 2:eef448cf9eb7 92 "n8KxsnRicop6tB6GZy32Stn8w0qktmQNXOGU+hp8OL6irULWZw/781po6d78nmwk\r\n"
Azure.IoT Build 2:eef448cf9eb7 93 "1IFl2TB4+jgyblvJdTM0rx8vPf3F2O2kgsRNs9M5qCI7m+he43Bhue0Fj/h3oIIo\r\n"
Azure.IoT Build 2:eef448cf9eb7 94 "Qx7X/uqc8j3VTNE9hf2A4wksSRgRydjAYoo+bduNagC5s7Eucb4mBG0MMk7HAQU9\r\n"
Azure.IoT Build 2:eef448cf9eb7 95 "m/gyaxqth6ygDLK58wojSV0i4RiU01qZkHzqIWv5FhhMjbFwyKEc6U35Ps7kP/1O\r\n"
Azure.IoT Build 2:eef448cf9eb7 96 "fdGm13ONaYqDl44RyFsLFFiiDYxZFDSsKM0WDxbl9ULAlVc3WR85kEBK6I+pSQj+\r\n"
Azure.IoT Build 2:eef448cf9eb7 97 "7/Z5z2zTz9qOFWgB15SegTbjSR7uk9mEVnj9KDlGtG8W1or0EGrrEDP2CMsp0oEj\r\n"
Azure.IoT Build 2:eef448cf9eb7 98 "VTJbZAxEaZ3cVCKva5sQUxFMjwG32g==\r\n"
Azure.IoT Build 2:eef448cf9eb7 99 "-----END CERTIFICATE-----\r\n";