Code clean-up

Dependencies:   Grove_temperature mbed-http

Fork of Wio_3G_HTTP-POST-example by Atsushi Tomizawa

mbed_app.json

Committer:
atomichan
Date:
2018-08-23
Revision:
1:6c0383514e5b
Parent:
0:b3812b1c103d

File content as of revision 1:6c0383514e5b:

{
    "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": "CELLULAR_ONBOARD"
        }
    },
    "target_overrides": {
        "*": {
            "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
           }
    }
}