NuMaker connection with AWS IoT thru MQTT/HTTPS

Dependencies:   MQTT

Committer:
ccli8
Date:
Fri Feb 26 13:31:36 2021 +0800
Revision:
42:fa6f7f79a112
Parent:
41:b878d7cd7035
Fix conditional TRNG & NV seed injection

1. Do provision (NV seed injection) only if DEVICE_FLASH is present
2. Add TARGET_PSA_Target (defined on Mbed OS 6) for conditional code

This bugfix is for target without DEVICE_FLASH but with TRNG so that it can compile and run.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ccli8 25:edf568984d27 1 {
ccli8 25:edf568984d27 2 "name": "my-tlssocket",
ccli8 25:edf568984d27 3 "config": {
ccli8 25:edf568984d27 4 "tls-debug-level": {
ccli8 25:edf568984d27 5 "help": "Debug level for TLS. Larger value for more verbose message. Its value can be 0, 1, 2, 3, or 4",
ccli8 41:b878d7cd7035 6 "value": 0
ccli8 25:edf568984d27 7 },
ccli8 25:edf568984d27 8 "tls-max-frag-len": {
ccli8 25:edf568984d27 9 "help": "Maximum fragment length value for the payload in one packet, doesn't include TLS header and encryption overhead. Is needed for constrainted devices having low MTU sizes, Value 0 = disabled, 1 = MBEDTLS_SSL_MAX_FRAG_LEN_512, 2= MBEDTLS_SSL_MAX_FRAG_LEN_1024, 3 = MBEDTLS_SSL_MAX_FRAG_LEN_2048, 4 = MBEDTLS_SSL_MAX_FRAG_LEN_4096",
ccli8 25:edf568984d27 10 "value": 0
ccli8 25:edf568984d27 11 }
ccli8 25:edf568984d27 12 }
ccli8 25:edf568984d27 13 }