Skip to content

Instantly share code, notes, and snippets.

@ytsuboi
Created May 10, 2019 02:13
Show Gist options
  • Save ytsuboi/8319bc08b9d33925c077ca25e3c49deb to your computer and use it in GitHub Desktop.
Save ytsuboi/8319bc08b9d33925c077ca25e3c49deb to your computer and use it in GitHub Desktop.
mbed-os-example-cellularをGoogle Fiで実行した
{
"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": 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": "\"1234\"",
"nsapi.default-cellular-apn": "\"h2g2\"",
"nsapi.default-cellular-username": 0,
"nsapi.default-cellular-password": 0
}
}
}
@ytsuboi
Copy link
Author

ytsuboi commented May 10, 2019

Mbed OS 5.12.3
スクリーンショット 2019-05-10 10 59 09

AT+QCSQ

+QCSQ: "CAT-NB1",-73,-86,115,-12

OK
AT+QNWINFO

+QNWINFO: "CAT-NB1","310260","LTE BAND 4",2391

OK
AT+QSPN

+QSPN: "Project Fi","Project Fi","",0,"310260"

OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment