thingspark example

Dependencies:   MbedJSONValue mbed-http HTS221

Branch:
mbed-os-5.10
Revision:
30:4825e4f38844
Parent:
29:5ad8f931e4ff
Child:
31:66704f6f17c5
--- a/mbed_app.json	Tue Mar 27 11:57:33 2018 +0200
+++ b/mbed_app.json	Mon Oct 29 14:34:43 2018 +0800
@@ -1,74 +1,25 @@
 {
     "config": {
-        "network-interface": {
-            "help": "options are ETHERNET, WIFI_ESP8266, WIFI_IDW0XX1, WIFI_ODIN, WIFI_RTW, MESH_LOWPAN_ND, MESH_THREAD, CELLULAR_ONBOARD",
-            "value": "ETHERNET"
-        },
-        "mesh_radio_type": {
-        	"help": "options are ATMEL, MCR20, SPIRIT1, EFR32",
-        	"value": "ATMEL"
-        },
-        "wifi-ssid": {
-            "value": "\"SSID\""
-        },
-        "wifi-password": {
-            "value": "\"Password\""
-        },
-        "cellular-apn": {
-            "help": "Please provide the APN string for your SIM if it is not already included in APN_db.h.",
-            "value": "\"my_sims_apn\""
-        },
-        "cellular-username": {
-            "help": "May or may not be required for your APN, please consult your SIM provider.",
-            "value": "\"my_sim_apns_username\""
-        },
-        "cellular-password": {
-            "help": "May or may not be required for your APN, please consult your SIM provider.",
-            "value": "\"my_sim_apns_password\""
-        },
-        "cellular-sim-pin": {
-            "help": "Please provide the PIN for your SIM (as a four digit string) if your SIM is normally locked",
-            "value": "\"1234\""
-        },
-        "esp8266-tx": {
-            "help": "Pin used as TX (connects to ESP8266 RX)",
-            "value": "D1"
-        },
-        "esp8266-rx": {
-            "help": "Pin used as RX (connects to ESP8266 TX)",
-            "value": "D0"
-        },
-        "esp8266-debug": {
-            "value": false
-        },
-
         "main-stack-size": {
             "value": 8192
         }
     },
-    "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_entropy_config.h\"",
-               "MBEDTLS_TEST_NULL_ENTROPY", "MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES" ],
+    "macros": [
+        "MBEDTLS_USER_CONFIG_FILE=\"mbedtls_entropy_config.h\"",
+        "MBEDTLS_TEST_NULL_ENTROPY",
+        "MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES"
+    ],
     "target_overrides": {
         "*": {
             "platform.stdio-baud-rate": 115200,
             "platform.stdio-convert-newlines": true,
-            "target.features_add": ["NANOSTACK", "LOWPAN_ROUTER", "COMMON_PAL"],
             "mbed-mesh-api.6lowpan-nd-channel-page": 0,
             "mbed-mesh-api.6lowpan-nd-channel": 12,
             "mbed-trace.enable": 0,
-            "mbed-http.http-buffer-size": 2048
-        },
-        "HEXIWEAR": {
-            "esp8266-tx": "PTD3",
-            "esp8266-rx": "PTD2"
-        },
-        "NUCLEO_F401RE": {
-            "esp8266-tx": "D8",
-            "esp8266-rx": "D2"
-        },
-        "NUCLEO_F411RE": {
-            "esp8266-tx": "D8",
-            "esp8266-rx": "D2"
+            "mbed-http.http-buffer-size": 2048,
+            "nsapi.default-wifi-security": "WPA_WPA2",
+            "nsapi.default-wifi-ssid": "\"SSID\"",
+            "nsapi.default-wifi-password": "\"Password\""
         }
     }
 }