NuMaker Cellular(NB-IoT/4G)

mbed_app.json

Committer:
cyliang
Date:
21 months ago
Revision:
2:8730ba700f06
Parent:
1:d0c9909ec4d6
Child:
3:6f804b5237be

File content as of revision 2:8730ba700f06:

{
    "config": {
        "sock-type": "TCP",
        "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"
        }
  },
    "target_overrides": {
        "*": {
            "target.network-default-interface-type": "CELLULAR",
            "mbed-trace.enable": false,
            "lwip.ipv4-enabled": true,
            "lwip.ipv6-enabled": false,
            "lwip.ethernet-enabled": false,
            "lwip.ppp-enabled": true,
            "lwip.tcp-enabled": true,
            "platform.stdio-convert-newlines": true,
            "platform.stdio-baud-rate": 115200,
            "platform.default-serial-baud-rate": 115200,
            "platform.stdio-buffered-serial": true,
            "cellular.debug-at": false,
            "nsapi.default-cellular-plmn": 0,
            "nsapi.default-cellular-sim-pin": 0,
            "nsapi.default-cellular-apn": "\"internet\"",
            "nsapi.default-cellular-username": 0,
            "nsapi.default-cellular-password": 0,
            "ppp.ipv4-enabled": true,
            "ppp.ipv6-enabled": false
        },
        "NUMAKER_IOT_M487": {
            "GENERIC_AT3GPP.provide-default": true,
            "GENERIC_AT3GPP.tx": "D1",
            "GENERIC_AT3GPP.rx": "D0"
        },
        "NUMAKER_IOT_M263A": {
            "GENERIC_AT3GPP.provide-default": true,
            "GENERIC_AT3GPP.tx": "PE_14",
            "GENERIC_AT3GPP.rx": "PE_15"
        }        
    }
}