Document network parameters in netsocket/mbed_lib.json

pull/9778/head
Michal Paszta 2019-02-21 11:50:51 +02:00
parent 19c6732105
commit 08b06e25d0
1 changed files with 36 additions and 9 deletions

View File

@ -2,15 +2,42 @@
"name": "nsapi", "name": "nsapi",
"config": { "config": {
"present": 1, "present": 1,
"default-stack": "LWIP", "default-stack": {
"default-wifi-ssid": null, "help" : "Default stack to be used, valid values: LWIP, NANOSTACK.",
"default-wifi-password": null, "value" : "LWIP"
"default-wifi-security": "NONE", },
"default-cellular-plmn": null, "default-wifi-ssid" : {
"default-cellular-sim-pin": null, "help" : "Default wifi SSID.",
"default-cellular-apn": null, "value": null
"default-cellular-username": null, },
"default-cellular-password": null, "default-wifi-password" : {
"help" : "Password for the default Wifi network.",
"value": null
},
"default-wifi-security" : {
"help" : "WiFi security protocol, valid values are WEP, WPA, WPA2, WPA/WPA2.",
"value" : "NONE"
},
"default-cellular-plmn" : {
"help" : "Default Public Land Mobile Network for cellular connection.",
"value": null
},
"default-cellular-sim-pin" : {
"help" : "PIN for the default SIM card.",
"value": null
},
"default-cellular-apn" : {
"help" : "Default cellular Access Point Name.",
"value": null
},
"default-cellular-username" : {
"help" : "Username for the default cellular network.",
"value": null
},
"default-cellular-password" : {
"help" : "Password for the default cellular network.",
"value": null
},
"default-mesh-type": { "default-mesh-type": {
"help": "Configuration type for MeshInterface::get_default_instance(). [LOWPAN/THREAD]", "help": "Configuration type for MeshInterface::get_default_instance(). [LOWPAN/THREAD]",
"value": "THREAD" "value": "THREAD"