Skip to content

Commit bcae06e

Browse files
author
Seppo Takalo
committed
Add instructions to use WiFi boards.
1 parent 0db1e97 commit bcae06e

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,21 @@ This application is able to use any network inteface it finds. Please see the Mb
1212

1313
For example, building on Ethernet enabled boards, you do not do any configuration.
1414

15-
Building for WiFi boards, you need to provide SSID, password and security settings in `mbed_app.json` as instructed in the documentation.
15+
Building for WiFi boards, you need to provide SSID, password and security settings in `mbed_app.json` as instructed in the documentation. For example, like this:
16+
17+
```
18+
{
19+
"target_overrides": {
20+
"*": {
21+
"platform.stdio-convert-newlines": true,
22+
"target.network-default-interface-type": "WIFI",
23+
"nsapi.default-wifi-security": "WPA_WPA2",
24+
"nsapi.default-wifi-ssid": "\"ssid\"",
25+
"nsapi.default-wifi-password": "\"password\""
26+
}
27+
}
28+
}
29+
```
1630

1731
Building for boards that have more that one network interface, you might need to override `target.network-default-interface-type` variable.
1832

0 commit comments

Comments
 (0)