This IOT research work is the working part of the program Change the Wi-Fi ssid and password and program STM32l475 board to see the result on the terminal (C# GUI)
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
update_default_resources.c@37:b7acef59086c, 2021-02-23 (annotated)
- Committer:
- saileshtimilsena
- Date:
- Tue Feb 23 20:03:58 2021 +0000
- Revision:
- 37:b7acef59086c
- Parent:
- 35:871447da961d
Updated Version for the Research Work...; Change the Wi-Fi ssid and password and program STM32L475 board and see the result in GUI with graph
Who changed what in which revision?
User | Revision | Line number | New 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 | 35:871447da961d | 22 | 0xea, 0xce, 0xa3, 0x43, 0xcc, 0x90, 0xe2, 0xdf, 0x35, 0xe2, 0xd5, 0x19, 0x2b, 0x49, 0x16, 0xfd, |
saileshtimilsena | 35:871447da961d | 23 | 0x65, 0x79, 0xae, 0xd3, 0x38, 0xf6, 0x82, 0xa0, 0x8e, 0xae, 0xdd, 0x3a, 0x51, 0x8b, 0xb9, 0x11 |
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 | 35:871447da961d | 34 | 0x30, 0x82, 0x01, 0x4c, 0x30, 0x81, 0xf4, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x14, 0x7a, 0xa1, |
saileshtimilsena | 35:871447da961d | 35 | 0x31, 0x0b, 0x29, 0x20, 0xed, 0x29, 0x88, 0x73, 0x9a, 0xae, 0xf2, 0x86, 0x45, 0xc8, 0x03, 0xeb, |
saileshtimilsena | 35:871447da961d | 36 | 0x02, 0xcc, 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 | 35:871447da961d | 38 | 0x68, 0x6f, 0x73, 0x74, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x33, 0x30, 0x30, 0x34, |
saileshtimilsena | 35:871447da961d | 39 | 0x33, 0x39, 0x33, 0x32, 0x5a, 0x17, 0x0d, 0x32, 0x31, 0x31, 0x30, 0x33, 0x30, 0x30, 0x34, 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 | 35:871447da961d | 43 | 0x07, 0x03, 0x42, 0x00, 0x04, 0x8b, 0x48, 0x65, 0xa1, 0xcc, 0x93, 0x09, 0xe4, 0x2a, 0x9a, 0x20, |
saileshtimilsena | 35:871447da961d | 44 | 0x4b, 0xb0, 0x88, 0xfa, 0xc6, 0xea, 0x1a, 0x14, 0x95, 0x58, 0x35, 0x5d, 0xc5, 0x71, 0xff, 0x1c, |
saileshtimilsena | 35:871447da961d | 45 | 0x96, 0x58, 0x6e, 0x3a, 0xaa, 0x70, 0xdc, 0x15, 0x05, 0xff, 0xb5, 0x0c, 0x59, 0xd1, 0x7f, 0x83, |
saileshtimilsena | 35:871447da961d | 46 | 0xc0, 0x66, 0xde, 0x71, 0xd5, 0xce, 0xd0, 0x33, 0xb9, 0x4f, 0x63, 0xa5, 0x2c, 0xa6, 0xb2, 0x9b, |
saileshtimilsena | 35:871447da961d | 47 | 0x31, 0x2c, 0x77, 0xed, 0xe5, 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 | 35:871447da961d | 50 | 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0xcd, 0x99, |
saileshtimilsena | 35:871447da961d | 51 | 0x0f, 0xab, 0x1d, 0x39, 0x99, 0x30, 0xe5, 0xad, 0x2d, 0x8b, 0x1a, 0x6b, 0xd7, 0x40, 0x48, 0x06, |
saileshtimilsena | 35:871447da961d | 52 | 0xf5, 0x0d, 0x7d, 0x84, 0x37, 0x63, 0x9f, 0x2a, 0x7d, 0x76, 0x39, 0x6d, 0x31, 0xd9, 0x02, 0x20, |
saileshtimilsena | 35:871447da961d | 53 | 0xda, 0x8e, 0x55, 0xfc, 0xbe, 0xdd, 0x2b, 0x0e, 0xbb, 0x36, 0x07, 0x2b, 0xf7, 0x8f, 0x8d, 0x7a, |
saileshtimilsena | 35:871447da961d | 54 | 0xd2, 0x83, 0x66, 0xaa, 0x92, 0x8b, 0x3a, 0x7e, 0x91, 0xf7, 0x72, 0x3a, 0xaf, 0x06, 0x5a, 0xdf |
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 |