Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Revision 39:058f19313774, committed 2021-03-23
- Comitter:
- saileshtimilsena
- Date:
- Tue Mar 23 19:53:09 2021 +0000
- Parent:
- 38:96720926ad4e
- Commit message:
- Updated Temperature Only
Changed in this revision
diff -r 96720926ad4e -r 058f19313774 main.cpp --- a/main.cpp Wed Mar 17 13:44:22 2021 +0000 +++ b/main.cpp Tue Mar 23 19:53:09 2021 +0000 @@ -165,7 +165,7 @@ sen_hum_temp.get_temperature(&temp1_value); - printf("%2.2f C^1",temp1_value); + printf("%2.2f ^1",temp1_value); printf("\n"); wait_us(4000);//Wait until the loop_timer reaches 4000us (250Hz) before starting the next loop
diff -r 96720926ad4e -r 058f19313774 mbed_cloud_dev_credentials.c --- a/mbed_cloud_dev_credentials.c Wed Mar 17 13:44:22 2021 +0000 +++ b/mbed_cloud_dev_credentials.c Tue Mar 23 19:53:09 2021 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. All rights reserved. + * Copyright (c) 2020 Pelion. All rights reserved. * SPDX-License-Identifier: Apache-2.0 * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. @@ -21,9 +21,9 @@ const char MBED_CLOUD_DEV_BOOTSTRAP_ENDPOINT_NAME[] = "01709695143e8ed8eacf68da03c00000"; const char MBED_CLOUD_DEV_ACCOUNT_ID[] = "01708a5b5bfd76d48c989ecc00000000"; const char MBED_CLOUD_DEV_BOOTSTRAP_SERVER_URI[] = "coaps://bootstrap.us-east-1.mbedcloud.com:5684?aid=01708a5b5bfd76d48c989ecc00000000"; -// const char MBED_CLOUD_DEV_BOOTSTRAP_SERVER_URI[] = "coaps://bootstrap-tcp.us-east-1.mbedcloud.com:5684?aid=01708a5b5bfd76d48c989ecc00000000"; -// const char MBED_CLOUD_DEV_BOOTSTRAP_SERVER_URI[] = "coaps://bootstrap-tcp.us-east-1.mbedcloud.com:443?aid=01708a5b5bfd76d48c989ecc00000000"; -// const char MBED_CLOUD_DEV_BOOTSTRAP_SERVER_URI[] = "coaps://bootstrap-udp.us-east-1.mbedcloud.com:5684?aid=01708a5b5bfd76d48c989ecc00000000"; +// const char MBED_CLOUD_DEV_BOOTSTRAP_SERVER_URI[] = "coaps://tcp-bootstrap.us-east-1.mbedcloud.com:5684?aid=01708a5b5bfd76d48c989ecc00000000"; +// const char MBED_CLOUD_DEV_BOOTSTRAP_SERVER_URI[] = "coaps://tcp-bootstrap.us-east-1.mbedcloud.com:443?aid=01708a5b5bfd76d48c989ecc00000000"; +// const char MBED_CLOUD_DEV_BOOTSTRAP_SERVER_URI[] = "coaps://udp-bootstrap.us-east-1.mbedcloud.com:5684?aid=01708a5b5bfd76d48c989ecc00000000"; const uint8_t MBED_CLOUD_DEV_BOOTSTRAP_DEVICE_CERTIFICATE[] = { 0x30, 0x82, 0x02, 0x82, 0x30, 0x82, 0x02, 0x29,
diff -r 96720926ad4e -r 058f19313774 update_certificate.pem --- a/update_certificate.pem Wed Mar 17 13:44:22 2021 +0000 +++ b/update_certificate.pem Tue Mar 23 19:53:09 2021 +0000 @@ -1,9 +1,9 @@ -----BEGIN CERTIFICATE----- -MIIBTDCB9KADAgECAhR6oTELKSDtKYhzmq7yhkXIA+sCzDAKBggqhkjOPQQDAjAU -MRIwEAYDVQQDDAlsb2NhbGhvc3QwHhcNMjAxMDMwMDQzOTMyWhcNMjExMDMwMDQw +MIIBTDCB9KADAgECAhSYxeBHeEsyZ1w+IqMIX72cYfgt2zAKBggqhkjOPQQDAjAU +MRIwEAYDVQQDDAlsb2NhbGhvc3QwHhcNMjEwMzIzMTkzNDU4WhcNMjIwMzIzMDUw MDAwWjAUMRIwEAYDVQQDDAlsb2NhbGhvc3QwWTATBgcqhkjOPQIBBggqhkjOPQMB -BwNCAASLSGWhzJMJ5CqaIEuwiPrG6hoUlVg1XcVx/xyWWG46qnDcFQX/tQxZ0X+D -wGbecdXO0DO5T2OlLKaymzEsd+3loyQwIjALBgNVHQ8EBAMCB4AwEwYDVR0lBAww -CgYIKwYBBQUHAwMwCgYIKoZIzj0EAwIDRwAwRAIgzZkPqx05mTDlrS2LGmvXQEgG -9Q19hDdjnyp9djltMdkCINqOVfy+3SsOuzYHK/ePjXrSg2aqkos6fpH3cjqvBlrf +BwNCAAQFq4ZhL0W7g6I9gTYLTzWnpRGZ3Ix1GpuLzDQuITjAWCD91LKmNC2bt3c2 +ygde1QsFVxqe+6BmdtDLq69IyMIJoyQwIjALBgNVHQ8EBAMCB4AwEwYDVR0lBAww +CgYIKwYBBQUHAwMwCgYIKoZIzj0EAwIDRwAwRAIgGqk44fXNCCBmJ4Guhu/VGJu5 +UcsidlPx5CACWgp4DM8CIKPihf7raruE2t0dnY1o02fuMIq3Ik5bcJQzFdAiCW4V -----END CERTIFICATE-----
diff -r 96720926ad4e -r 058f19313774 update_default_resources.c --- a/update_default_resources.c Wed Mar 17 13:44:22 2021 +0000 +++ b/update_default_resources.c Tue Mar 23 19:53:09 2021 +0000 @@ -19,8 +19,8 @@ #ifdef MBED_CLOUD_DEV_UPDATE_CERT const uint8_t arm_uc_default_fingerprint[] = { - 0xea, 0xce, 0xa3, 0x43, 0xcc, 0x90, 0xe2, 0xdf, 0x35, 0xe2, 0xd5, 0x19, 0x2b, 0x49, 0x16, 0xfd, - 0x65, 0x79, 0xae, 0xd3, 0x38, 0xf6, 0x82, 0xa0, 0x8e, 0xae, 0xdd, 0x3a, 0x51, 0x8b, 0xb9, 0x11 + 0xf7, 0x79, 0xc1, 0x04, 0x7b, 0x2c, 0xc6, 0x00, 0x6a, 0x6b, 0x3a, 0x09, 0x0c, 0xa6, 0x0b, 0xb3, + 0xaf, 0xc2, 0x82, 0x61, 0x2e, 0x07, 0xf2, 0x26, 0xee, 0x9a, 0x95, 0xfd, 0x59, 0x13, 0xc6, 0x99 }; const uint16_t arm_uc_default_fingerprint_size = sizeof(arm_uc_default_fingerprint); @@ -31,27 +31,27 @@ sizeof(arm_uc_default_subject_key_identifier); const uint8_t arm_uc_default_certificate[] = { - 0x30, 0x82, 0x01, 0x4c, 0x30, 0x81, 0xf4, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x14, 0x7a, 0xa1, - 0x31, 0x0b, 0x29, 0x20, 0xed, 0x29, 0x88, 0x73, 0x9a, 0xae, 0xf2, 0x86, 0x45, 0xc8, 0x03, 0xeb, - 0x02, 0xcc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x14, + 0x30, 0x82, 0x01, 0x4c, 0x30, 0x81, 0xf4, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x14, 0x98, 0xc5, + 0xe0, 0x47, 0x78, 0x4b, 0x32, 0x67, 0x5c, 0x3e, 0x22, 0xa3, 0x08, 0x5f, 0xbd, 0x9c, 0x61, 0xf8, + 0x2d, 0xdb, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x14, 0x31, 0x12, 0x30, 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, - 0x68, 0x6f, 0x73, 0x74, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x33, 0x30, 0x30, 0x34, - 0x33, 0x39, 0x33, 0x32, 0x5a, 0x17, 0x0d, 0x32, 0x31, 0x31, 0x30, 0x33, 0x30, 0x30, 0x34, 0x30, + 0x68, 0x6f, 0x73, 0x74, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x33, 0x32, 0x33, 0x31, 0x39, + 0x33, 0x34, 0x35, 0x38, 0x5a, 0x17, 0x0d, 0x32, 0x32, 0x30, 0x33, 0x32, 0x33, 0x30, 0x35, 0x30, 0x30, 0x30, 0x30, 0x5a, 0x30, 0x14, 0x31, 0x12, 0x30, 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, - 0x07, 0x03, 0x42, 0x00, 0x04, 0x8b, 0x48, 0x65, 0xa1, 0xcc, 0x93, 0x09, 0xe4, 0x2a, 0x9a, 0x20, - 0x4b, 0xb0, 0x88, 0xfa, 0xc6, 0xea, 0x1a, 0x14, 0x95, 0x58, 0x35, 0x5d, 0xc5, 0x71, 0xff, 0x1c, - 0x96, 0x58, 0x6e, 0x3a, 0xaa, 0x70, 0xdc, 0x15, 0x05, 0xff, 0xb5, 0x0c, 0x59, 0xd1, 0x7f, 0x83, - 0xc0, 0x66, 0xde, 0x71, 0xd5, 0xce, 0xd0, 0x33, 0xb9, 0x4f, 0x63, 0xa5, 0x2c, 0xa6, 0xb2, 0x9b, - 0x31, 0x2c, 0x77, 0xed, 0xe5, 0xa3, 0x24, 0x30, 0x22, 0x30, 0x0b, 0x06, 0x03, 0x55, 0x1d, 0x0f, + 0x07, 0x03, 0x42, 0x00, 0x04, 0x05, 0xab, 0x86, 0x61, 0x2f, 0x45, 0xbb, 0x83, 0xa2, 0x3d, 0x81, + 0x36, 0x0b, 0x4f, 0x35, 0xa7, 0xa5, 0x11, 0x99, 0xdc, 0x8c, 0x75, 0x1a, 0x9b, 0x8b, 0xcc, 0x34, + 0x2e, 0x21, 0x38, 0xc0, 0x58, 0x20, 0xfd, 0xd4, 0xb2, 0xa6, 0x34, 0x2d, 0x9b, 0xb7, 0x77, 0x36, + 0xca, 0x07, 0x5e, 0xd5, 0x0b, 0x05, 0x57, 0x1a, 0x9e, 0xfb, 0xa0, 0x66, 0x76, 0xd0, 0xcb, 0xab, + 0xaf, 0x48, 0xc8, 0xc2, 0x09, 0xa3, 0x24, 0x30, 0x22, 0x30, 0x0b, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x13, 0x06, 0x03, 0x55, 0x1d, 0x25, 0x04, 0x0c, 0x30, 0x0a, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x03, 0x30, 0x0a, 0x06, 0x08, 0x2a, - 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0xcd, 0x99, - 0x0f, 0xab, 0x1d, 0x39, 0x99, 0x30, 0xe5, 0xad, 0x2d, 0x8b, 0x1a, 0x6b, 0xd7, 0x40, 0x48, 0x06, - 0xf5, 0x0d, 0x7d, 0x84, 0x37, 0x63, 0x9f, 0x2a, 0x7d, 0x76, 0x39, 0x6d, 0x31, 0xd9, 0x02, 0x20, - 0xda, 0x8e, 0x55, 0xfc, 0xbe, 0xdd, 0x2b, 0x0e, 0xbb, 0x36, 0x07, 0x2b, 0xf7, 0x8f, 0x8d, 0x7a, - 0xd2, 0x83, 0x66, 0xaa, 0x92, 0x8b, 0x3a, 0x7e, 0x91, 0xf7, 0x72, 0x3a, 0xaf, 0x06, 0x5a, 0xdf + 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0x1a, 0xa9, + 0x38, 0xe1, 0xf5, 0xcd, 0x08, 0x20, 0x66, 0x27, 0x81, 0xae, 0x86, 0xef, 0xd5, 0x18, 0x9b, 0xb9, + 0x51, 0xcb, 0x22, 0x76, 0x53, 0xf1, 0xe4, 0x20, 0x02, 0x5a, 0x0a, 0x78, 0x0c, 0xcf, 0x02, 0x20, + 0xa3, 0xe2, 0x85, 0xfe, 0xeb, 0x6a, 0xbb, 0x84, 0xda, 0xdd, 0x1d, 0x9d, 0x8d, 0x68, 0xd3, 0x67, + 0xee, 0x30, 0x8a, 0xb7, 0x22, 0x4e, 0x5b, 0x70, 0x94, 0x33, 0x15, 0xd0, 0x22, 0x09, 0x6e, 0x15 }; const uint16_t arm_uc_default_certificate_size = sizeof(arm_uc_default_certificate); #endif