Cellular example for CodeZoo Type1SC Shield

mbed_app.json

Committer:
pimco01
Date:
4 months ago
Revision:
0:04fa3499a11e

File content as of revision 0:04fa3499a11e:

{
    "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,
            "ppp.ipv4-enabled": true,
            "lwip.ipv6-enabled": true,
            "ppp.ipv6-enabled": true,
            "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,
            "cellular.use-apn-lookup": true,
            "nsapi.default-cellular-sim-pin": "\"1234\"",
            "nsapi.default-cellular-plmn": null,
            "nsapi.default-cellular-apn": "\"internet.lte.cxn\"",
            "nsapi.default-cellular-username": null,
            "nsapi.default-cellular-password": null
        },
        "DISCO_L496AG": {
            "target.macros_add": [
                "CELLULAR_DEVICE=STModCellular"
            ],
            "target.components_add": ["STMOD_CELLULAR"],
            "stmod_cellular.provide-default": "true"
        },
        "DISCO_L475VG_IOT01A": {
            "target.macros_add": [
                "CELLULAR_DEVICE=ALT1250_PPP"
            ],
            "target.components_add": ["QSPIF"],
            "ALT1250_PPP.tx": "D1",
            "ALT1250_PPP.rx": "D0",
            "ALT1250_PPP.provide-default": true
        }        
    }
}