Skip to content

Instantly share code, notes, and snippets.

@ytsuboi
Last active May 15, 2019 11:56
Show Gist options
  • Save ytsuboi/a5c8b8d413e9797052a12a10a2b57cc9 to your computer and use it in GitHub Desktop.
Save ytsuboi/a5c8b8d413e9797052a12a10a2b57cc9 to your computer and use it in GitHub Desktop.
mbed-os-example-cellularをSORACOMのKM1で実行したときの設定
{
"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.ethernet-enabled": false,
"lwip.ppp-enabled": false,
"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": true,
"cellular.radio-access-technology": 8,
"cellular.use-apn-lookup": false,
"nsapi.default-cellular-plmn": "\"44052\"",
"nsapi.default-cellular-sim-pin": "\"1234\"",
"nsapi.default-cellular-apn": "\"soracom.io\"",
"nsapi.default-cellular-username": "\"sora\"",
"nsapi.default-cellular-password": "\"sora\""
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment