NuMaker connection with AWS IoT thru MQTT/HTTPS
Dependencies: MQTT
History
Fix MQTT client ID collision
2021-09-02, by ccli8 [Thu, 02 Sep 2021 11:34:22 +0800] rev 45
Fix MQTT client ID collision
If not assigned, generate unique MQTT client ID:
1. For non-TZ targets, use FMC/UID.
2. For TZ targets (NS), FMC/UID is inaccessible. Use random instead.
Upgrade to ATS CA and ATS endpoint
2021-09-01, by ccli8 [Wed, 01 Sep 2021 13:26:25 +0800] rev 44
Upgrade to ATS CA and ATS endpoint
1. Update CA certificate from VeriSign to ATS
2. Change endpoint type to ATS
Sever name has the format: account-specific-prefix.iot.your-region.amazonaws.com
where account-specific-prefix must end with '-ats'.
Update to mbed-os 5.15.7
2021-09-01, by ccli8 [Wed, 01 Sep 2021 11:12:21 +0800] rev 43
Update to mbed-os 5.15.7
Fix conditional TRNG & NV seed injection
2021-02-26, by ccli8 [Fri, 26 Feb 2021 13:31:36 +0800] rev 42
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.
Make code work across mbed-os 5.15/6.x
2020-03-27, by ccli8 [Fri, 27 Mar 2020 14:32:06 +0800] rev 41
Make code work across mbed-os 5.15/6.x
1. Replace deprecated API
2. Re-implement MyTLSSocket with Mbed OS internal TLSSocket
3. Fix PRNG driver calling code with M480 BSP update
Update to mbed-os 5.15.6 to support NuMaker-M2354 Ver 1.1 (MP chip)
2020-11-12, by ccli8 [Thu, 12 Nov 2020 16:24:00 +0800] rev 40
Update to mbed-os 5.15.6 to support NuMaker-M2354 Ver 1.1 (MP chip)
NuMaker-M2354 Ver 1.1 (MP chip) must match mbed-os 5.15.6 and afterwards.
NuMaker-M2354 Ver 1.0 (test chip) must match mbed-os 5.15.5 and gets drprecated.
M2351: Remove non-PSA minimal secure build from application code`
2020-09-29, by ccli8 [Tue, 29 Sep 2020 09:50:08 +0800] rev 39
M2351: Remove non-PSA minimal secure build from application code`
Since Mbed OS 5.15.4, on M2351 non-PSA, minimal secure build is default.
It gets unnecessary in application code.
Support NU_M2354_NPSA_NS
2020-04-10, by ccli8 [Fri, 10 Apr 2020 10:51:49 +0800] rev 38
Support NU_M2354_NPSA_NS
Update to mbed-os 5.15.5
2020-08-28, by ccli8 [Fri, 28 Aug 2020 15:24:57 +0800] rev 37
Update to mbed-os 5.15.5
Update to mbed-os 6.0 is suspended due to incompatibility.
Update to mbed-os 5.15.5 which fixes ESP8266 driver issue:
https://github.com/ARMmbed/mbed-os/pull/13164
Add network disconnect at end of program
2020-03-19, by ccli8 [Thu, 19 Mar 2020 14:35:49 +0800] rev 36
Add network disconnect at end of program
Some cellular modems e.g.: QUECTEL EC2X need graceful exit; otherwise, they will break in next reboot.