Skip to content

Commit cf53087

Browse files
author
Veijo Pesonen
committed
test_configs: generic app config for boards with Wi-Fi
1 parent 6906f39 commit cf53087

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

tools/test_configs/WiFiInterface.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"config": {
3+
"wifi-secure-ssid": {
4+
"help": "Wi-Fi SSID for WPA2 secured network",
5+
"value": "\"WIFI_SSID_SECURED\""
6+
},
7+
"wifi-unsecure-ssid": {
8+
"help": "Wi-Fi SSID for unsecure netwrok",
9+
"value": "\"WIFI_SSID_UNSECURE\""
10+
},
11+
"wifi-password": {
12+
"help": "Wi-Fi Password",
13+
"value": "\"WIFI_PASSWORD\""
14+
},
15+
"wifi-secure-protocol": {
16+
"help": "Wi-Fi security protocol, valid values are WEP, WPA, WPA2, WPA_WPA2",
17+
"value": "\"WPA2\""
18+
},
19+
"wifi-ch-secure": {
20+
"help": "Channel number of secure SSID",
21+
"value": null
22+
},
23+
"wifi-ch-unsecure": {
24+
"help": "Channel number of unsecure SSID",
25+
"value": null
26+
},
27+
"ap-mac-secure": {
28+
"help": "BSSID of secure AP in form of AA:BB:CC:DD:EE:FF",
29+
"value": "\"AA:AA:AA:AA:AA:AA\""
30+
},
31+
"ap-mac-unsecure": {
32+
"help": "BSSID of unsecure AP in form of \"AA:BB:CC:DD:EE:FF\"",
33+
"value": "\"BB:BB:BB:BB:BB:BB\""
34+
},
35+
"max-scan-size": {
36+
"help": "How many networks may appear in Wifi scan result",
37+
"value": 10
38+
},
39+
"echo-server-addr" : {
40+
"help" : "IP address of echo server",
41+
"value" : "\"echo.mbedcloudtesting.com\""
42+
},
43+
"echo-server-port" : {
44+
"help" : "Port of echo server",
45+
"value" : "7"
46+
},
47+
"echo-server-discard-port" : {
48+
"help" : "Discard port of echo server",
49+
"value" : "9"
50+
},
51+
"echo-server-port-tls" : {
52+
"help" : "Port of echo server for TLS",
53+
"value" : "2007"
54+
},
55+
"echo-server-discard-port-tls" : {
56+
"help" : "Discard port of echo server for TLS",
57+
"value" : "2009"
58+
}
59+
},
60+
"target_overrides": {
61+
"*": {
62+
"target.network-default-interface-type": "WIFI",
63+
"nsapi.default-wifi-ssid": "\"WIFI_SSID\"",
64+
"nsapi.default-wifi-password": "\"WIFI_PASSWORD\"",
65+
"nsapi.default-wifi-security": "WPA2"
66+
}
67+
}
68+
}

0 commit comments

Comments
 (0)