Code clean-up

Dependencies:   Grove_temperature mbed-http

Fork of Wio_3G_HTTP-POST-example by Atsushi Tomizawa

Revision:
1:6c0383514e5b
Parent:
0:b3812b1c103d
--- a/mbed_app.json	Wed Aug 01 00:14:57 2018 +0000
+++ b/mbed_app.json	Thu Aug 23 04:06:06 2018 +0000
@@ -2,58 +2,54 @@
     "macros": [
     ],
     "config": {
+        "sock-type": "TCP",
+        "cellular_sim_pin": {
+            "help": "SIM PIN code",
+            "value": "\"0000\""
+        },
+        "cellular_apn": {
+            "help": "The APN string to use for this SIM/network, set to 0 if none",
+            "value": "\"soracom.io\""
+        },
+        "cellular_username": {
+            "help": "The user name string to use for this APN, set to zero if none",
+            "value": "\"sora\""
+        },
+        "cellular_password": {
+            "help": "The password string to use for this APN, set to 0 if none",
+            "value": "\"sora\""
+        },
+        "echo-server-hostname": {
+            "help": "Echo server host name.",
+            "value": "\"echo.mbedcloudtesting.com\""
+        },
+        "echo-server-port": {
+            "help": "Echo server port number.",
+            "value": 7
+        },
+        "trace-level": {
+            "help": "Options are TRACE_LEVEL_ERROR,TRACE_LEVEL_WARN,TRACE_LEVEL_INFO,TRACE_LEVEL_DEBUG",
+            "macro_name": "MBED_TRACE_MAX_LEVEL",
+            "value": "TRACE_LEVEL_INFO"
+        },
         "main-stack-size": {
             "value": 8192
         },
         "network-interface":{
             "help": "options are ETHERNET, WIFI_ESP8266, WIFI_ODIN, WIFI_RTW, MESH_LOWPAN_ND, MESH_THREAD, CELLULAR_ONBOARD",
-            "value": "WIFI_ESP8266"
-        },
-        "mesh_radio_type": {
-            "help": "options are ATMEL, MCR20",
-            "value": "ATMEL"
-        },
-        "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"
-        },
-        "wifi-ssid": {
-            "value": "\"ssid\""
-        },
-        "wifi-password": {
-            "value": "\"password\""
-        },
-        "esp8266-debug": {
-            "value": null
+            "value": "CELLULAR_ONBOARD"
         }
     },
     "target_overrides": {
         "*": {
-            "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,
+            "target.features_add": ["LWIP"],
+            "lwip.ipv4-enabled": true,
+            "lwip.ethernet-enabled": false,
+            "lwip.ppp-enabled": true,
+            "lwip.tcp-enabled": true,
+            "mbed-trace.enable": 1,
             "platform.stdio-baud-rate": 115200,
             "platform.stdio-convert-newlines": false
-           },
-        "RZ_A1H": {
-            "target.macros_add": ["MBEDTLS_TEST_NULL_ENTROPY", "MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES"]
-           },
-        "HEXIWEAR": {
-            "esp8266-tx": "PTD3",
-            "esp8266-rx": "PTD2"
-        },
-        "NUCLEO_F401RE": {
-            "esp8266-tx": "D8",
-            "esp8266-rx": "D2"
-        },
-        "NUCLEO_F411RE": {
-            "esp8266-tx": "D8",
-            "esp8266-rx": "D2"
-        }
+           }
     }
 }