Temperature only code for husky showcase

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Committer:
saileshtimilsena
Date:
Tue Mar 23 19:53:09 2021 +0000
Revision:
39:058f19313774
Parent:
35:871447da961d
Updated Temperature Only

Who changed what in which revision?

UserRevisionLine numberNew contents of line
saileshtimilsena 35:871447da961d 1
adustm 4:cf7342047b4d 2 #ifdef MBED_CLOUD_CLIENT_USER_CONFIG_FILE
adustm 4:cf7342047b4d 3 #include MBED_CLOUD_CLIENT_USER_CONFIG_FILE
adustm 4:cf7342047b4d 4 #endif
saileshtimilsena 35:871447da961d 5
adustm 4:cf7342047b4d 6 #include <stdint.h>
saileshtimilsena 35:871447da961d 7
adustm 4:cf7342047b4d 8 #ifdef MBED_CLOUD_DEV_UPDATE_ID
saileshtimilsena 35:871447da961d 9 const uint8_t arm_uc_vendor_id[] = {
saileshtimilsena 35:871447da961d 10 0x92, 0xcc, 0x10, 0xb6, 0xab, 0x40, 0x5e, 0x30, 0x88, 0x6f, 0xa5, 0xcc, 0xc3, 0x22, 0xec, 0x24
saileshtimilsena 35:871447da961d 11 };
adustm 4:cf7342047b4d 12 const uint16_t arm_uc_vendor_id_size = sizeof(arm_uc_vendor_id);
saileshtimilsena 35:871447da961d 13
saileshtimilsena 35:871447da961d 14 const uint8_t arm_uc_class_id[] = {
saileshtimilsena 35:871447da961d 15 0xb2, 0x12, 0xef, 0xa1, 0xf1, 0xa0, 0x58, 0x7e, 0x9f, 0x34, 0xdc, 0x26, 0x5a, 0x1c, 0x58, 0xd5
saileshtimilsena 35:871447da961d 16 };
adustm 4:cf7342047b4d 17 const uint16_t arm_uc_class_id_size = sizeof(arm_uc_class_id);
adustm 4:cf7342047b4d 18 #endif
saileshtimilsena 35:871447da961d 19
adustm 4:cf7342047b4d 20 #ifdef MBED_CLOUD_DEV_UPDATE_CERT
saileshtimilsena 35:871447da961d 21 const uint8_t arm_uc_default_fingerprint[] = {
saileshtimilsena 39:058f19313774 22 0xf7, 0x79, 0xc1, 0x04, 0x7b, 0x2c, 0xc6, 0x00, 0x6a, 0x6b, 0x3a, 0x09, 0x0c, 0xa6, 0x0b, 0xb3,
saileshtimilsena 39:058f19313774 23 0xaf, 0xc2, 0x82, 0x61, 0x2e, 0x07, 0xf2, 0x26, 0xee, 0x9a, 0x95, 0xfd, 0x59, 0x13, 0xc6, 0x99
saileshtimilsena 35:871447da961d 24 };
adustm 4:cf7342047b4d 25 const uint16_t arm_uc_default_fingerprint_size =
adustm 4:cf7342047b4d 26 sizeof(arm_uc_default_fingerprint);
saileshtimilsena 35:871447da961d 27
saileshtimilsena 35:871447da961d 28 const uint8_t arm_uc_default_subject_key_identifier[] = {
saileshtimilsena 35:871447da961d 29 };
saileshtimilsena 35:871447da961d 30 const uint16_t arm_uc_default_subject_key_identifier_size =
saileshtimilsena 35:871447da961d 31 sizeof(arm_uc_default_subject_key_identifier);
saileshtimilsena 35:871447da961d 32
saileshtimilsena 35:871447da961d 33 const uint8_t arm_uc_default_certificate[] = {
saileshtimilsena 39:058f19313774 34 0x30, 0x82, 0x01, 0x4c, 0x30, 0x81, 0xf4, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x14, 0x98, 0xc5,
saileshtimilsena 39:058f19313774 35 0xe0, 0x47, 0x78, 0x4b, 0x32, 0x67, 0x5c, 0x3e, 0x22, 0xa3, 0x08, 0x5f, 0xbd, 0x9c, 0x61, 0xf8,
saileshtimilsena 39:058f19313774 36 0x2d, 0xdb, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x14,
saileshtimilsena 35:871447da961d 37 0x31, 0x12, 0x30, 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
saileshtimilsena 39:058f19313774 38 0x68, 0x6f, 0x73, 0x74, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x33, 0x32, 0x33, 0x31, 0x39,
saileshtimilsena 39:058f19313774 39 0x33, 0x34, 0x35, 0x38, 0x5a, 0x17, 0x0d, 0x32, 0x32, 0x30, 0x33, 0x32, 0x33, 0x30, 0x35, 0x30,
saileshtimilsena 35:871447da961d 40 0x30, 0x30, 0x30, 0x5a, 0x30, 0x14, 0x31, 0x12, 0x30, 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c,
saileshtimilsena 35:871447da961d 41 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07,
saileshtimilsena 35:871447da961d 42 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01,
saileshtimilsena 39:058f19313774 43 0x07, 0x03, 0x42, 0x00, 0x04, 0x05, 0xab, 0x86, 0x61, 0x2f, 0x45, 0xbb, 0x83, 0xa2, 0x3d, 0x81,
saileshtimilsena 39:058f19313774 44 0x36, 0x0b, 0x4f, 0x35, 0xa7, 0xa5, 0x11, 0x99, 0xdc, 0x8c, 0x75, 0x1a, 0x9b, 0x8b, 0xcc, 0x34,
saileshtimilsena 39:058f19313774 45 0x2e, 0x21, 0x38, 0xc0, 0x58, 0x20, 0xfd, 0xd4, 0xb2, 0xa6, 0x34, 0x2d, 0x9b, 0xb7, 0x77, 0x36,
saileshtimilsena 39:058f19313774 46 0xca, 0x07, 0x5e, 0xd5, 0x0b, 0x05, 0x57, 0x1a, 0x9e, 0xfb, 0xa0, 0x66, 0x76, 0xd0, 0xcb, 0xab,
saileshtimilsena 39:058f19313774 47 0xaf, 0x48, 0xc8, 0xc2, 0x09, 0xa3, 0x24, 0x30, 0x22, 0x30, 0x0b, 0x06, 0x03, 0x55, 0x1d, 0x0f,
saileshtimilsena 35:871447da961d 48 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x13, 0x06, 0x03, 0x55, 0x1d, 0x25, 0x04, 0x0c, 0x30,
saileshtimilsena 35:871447da961d 49 0x0a, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x03, 0x30, 0x0a, 0x06, 0x08, 0x2a,
saileshtimilsena 39:058f19313774 50 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0x1a, 0xa9,
saileshtimilsena 39:058f19313774 51 0x38, 0xe1, 0xf5, 0xcd, 0x08, 0x20, 0x66, 0x27, 0x81, 0xae, 0x86, 0xef, 0xd5, 0x18, 0x9b, 0xb9,
saileshtimilsena 39:058f19313774 52 0x51, 0xcb, 0x22, 0x76, 0x53, 0xf1, 0xe4, 0x20, 0x02, 0x5a, 0x0a, 0x78, 0x0c, 0xcf, 0x02, 0x20,
saileshtimilsena 39:058f19313774 53 0xa3, 0xe2, 0x85, 0xfe, 0xeb, 0x6a, 0xbb, 0x84, 0xda, 0xdd, 0x1d, 0x9d, 0x8d, 0x68, 0xd3, 0x67,
saileshtimilsena 39:058f19313774 54 0xee, 0x30, 0x8a, 0xb7, 0x22, 0x4e, 0x5b, 0x70, 0x94, 0x33, 0x15, 0xd0, 0x22, 0x09, 0x6e, 0x15
saileshtimilsena 35:871447da961d 55 };
saileshtimilsena 35:871447da961d 56 const uint16_t arm_uc_default_certificate_size = sizeof(arm_uc_default_certificate);
saileshtimilsena 35:871447da961d 57 #endif
saileshtimilsena 35:871447da961d 58
saileshtimilsena 35:871447da961d 59
saileshtimilsena 35:871447da961d 60 #ifdef MBED_CLOUD_DEV_UPDATE_PSK
saileshtimilsena 35:871447da961d 61 const uint8_t arm_uc_default_psk[] = {
saileshtimilsena 35:871447da961d 62
saileshtimilsena 35:871447da961d 63 };
saileshtimilsena 35:871447da961d 64 const uint8_t arm_uc_default_psk_size = sizeof(arm_uc_default_psk);
saileshtimilsena 35:871447da961d 65 const uint16_t arm_uc_default_psk_bits = sizeof(arm_uc_default_psk)*8;
saileshtimilsena 35:871447da961d 66
saileshtimilsena 35:871447da961d 67 const uint8_t arm_uc_default_psk_id[] = {
saileshtimilsena 35:871447da961d 68
saileshtimilsena 35:871447da961d 69 };
saileshtimilsena 35:871447da961d 70 const uint8_t arm_uc_default_psk_id_size = sizeof(arm_uc_default_psk_id);
saileshtimilsena 35:871447da961d 71 #endif