NuMaker connection with AWS IoT thru MQTT/HTTPS

Dependencies:   MQTT_ON_AWS

Revision:
39:a26be070a2b1
Parent:
38:537cbdc1cfa3
--- a/mbed_app.json	Fri Apr 10 10:51:49 2020 +0800
+++ b/mbed_app.json	Tue Dec 01 03:25:48 2020 +0000
@@ -10,72 +10,40 @@
             "platform.heap-stats-enabled"           : 1,
             "platform.stack-stats-enabled"          : 1,
             "mbed-trace.enable"                     : null,
-            "nsapi.default-wifi-security"           : "WPA_WPA2",
-            "nsapi.default-wifi-ssid"               : "\"SSID\"",
-            "nsapi.default-wifi-password"           : "\"PASSWORD\""
-        },
-        "NUMAKER_PFM_NUC472": {
-            "target.network-default-interface-type" : "ETHERNET",
-            "my-tlssocket.tls-max-frag-len"         : 4,
-            "target.macros_add"                     : ["MBEDTLS_ENTROPY_HARDWARE_ALT"]
+            "lwip.ipv4-enabled"                     : true,
+            "lwip.ipv6-enabled"                     : false,
+            "lwip.ethernet-enabled"                 : false,
+            "lwip.ppp-enabled"                      : false,
+            "lwip.tcp-enabled"                      : false,
+            "cellular.debug-at"                     : false,
+            "nsapi.default-cellular-plmn"           : 0,
+            "nsapi.default-cellular-sim-pin"        : 0,
+            "nsapi.default-cellular-apn"            : "\"CMNET\"",
+            "nsapi.default-cellular-username"       : 0,
+            "nsapi.default-cellular-password"       : 0
         },
         "NUMAKER_PFM_M487": {
-            "target.network-default-interface-type" : "ETHERNET",
+            "target.network-default-interface-type" : "CELLULAR",
+            "QUECTEL_BG96.provide-default"          : true,
+            "QUECTEL_BG96.tx"                       : "D1",
+            "QUECTEL_BG96.rx"                       : "D0",
             "my-tlssocket.tls-max-frag-len"         : 4,
             "target.macros_add"                     : ["MBEDTLS_ENTROPY_HARDWARE_ALT"]
         },
         "NUMAKER_IOT_M487": {
-            "target.network-default-interface-type" : "WIFI",
-            "my-tlssocket.tls-max-frag-len"         : 4,
-            "esp8266.tx"                            : "PH_8",
-            "esp8266.rx"                            : "PH_9",
-            "esp8266.rts"                           : "A2",
-            "esp8266.cts"                           : "A3",
-            "esp8266.rst"                           : "PH_3",
-            "esp8266.provide-default"               : true,
-            "target.macros_add"                     : ["MBEDTLS_ENTROPY_HARDWARE_ALT"]
-        },
-        "NU_PFM_M2351_NPSA_NS": {
-            "target.network-default-interface-type" : "WIFI",
+            "target.network-default-interface-type" : "CELLULAR",
+            "QUECTEL_BG96.provide-default"          : true,
+            "QUECTEL_BG96.tx"                       : "D1",
+            "QUECTEL_BG96.rx"                       : "D0",
             "my-tlssocket.tls-max-frag-len"         : 4,
-            "esp8266.tx"                            : "PD_1",
-            "esp8266.rx"                            : "PD_0",
-            "esp8266.rts"                           : "PD_3",
-            "esp8266.cts"                           : "PD_2",
-            "esp8266.rst"                           : "NC",
-            "esp8266.pwr"                           : "PD_7",
-            "esp8266.provide-default"               : true,
-            "target.extra_labels_remove"            : ["NU_PREBUILD_SECURE"],
-            "target.mbed_rom_start"                 : "0x10010000",
-            "target.mbed_rom_size"                  : "0x70000",
-            "target.mbed_ram_start"                 : "0x30002000",
-            "target.mbed_ram_size"                  : "0x16000"
-        },
-        "NU_M2354_NPSA_NS": {
-            "target.network-default-interface-type" : "WIFI",
-            "my-tlssocket.tls-max-frag-len"         : 4,
-            "esp8266.tx"                            : "PC_7",
-            "esp8266.rx"                            : "PC_6",
-            "esp8266.rts"                           : "PE_13",
-            "esp8266.cts"                           : "PC_8",
-            "esp8266.rst"                           : "PC_13",
-            "esp8266.provide-default"               : true
-        },
-        "NUMAKER_IOT_M263A": {
-            "target.network-default-interface-type" : "WIFI",
-            "my-tlssocket.tls-max-frag-len"         : 4,
-            "esp8266.tx"                            : "PC_7",
-            "esp8266.rx"                            : "PC_6",
-            "esp8266.rts"                           : "PE_13",
-            "esp8266.cts"                           : "PC_8",
-            "esp8266.rst"                           : "PE_12",
-            "esp8266.provide-default"               : true
+            "target.macros_add"                     : ["MBEDTLS_ENTROPY_HARDWARE_ALT"]
         }
     },
     "config": {
         "crypto-prng-present": {
             "help"              : "With MBEDTLS_ENTROPY_HARDWARE_ALT defined, entropy is implemented with EADC+PRNG alternatively. On rare targets without PRNG e.g. M482, disable this configuration option to go EADC+S/W random.",
-            "value"             : true,
+            "accepted_values"   : [0, 1],
+            "value"             : 1,
             "macro_name"        : "NU_CRYPTO_PRNG_PRESENT"
         }
     }