You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TEST_APPS/readme.md
+13-35Lines changed: 13 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ You need Icetea and mbed-cli that supports Icetea, installed.
22
22
Depending on a device, there might be a default network interface type defined in the mbed-os/targets/targets.json, which is used to locate a test-config file by default.
23
23
If there is not, or you want to use a different interface than the default, you need to provide a relevant test-config -file to the mbed test with --test-config option.
24
24
The test-config file contains the necessary information for the test application, there are some test-config files located under mbed-os/tools/test-configs.
25
+
Devices which have their network drivers residing inside mbed-os can use generic test-configs like HeapBlockDeviceAndEthernetInterface.json and HeapBlockDeviceAndWifiInterface.json. Otherwise you need to use a device specific test-config.
25
26
26
27
### Running the tests
27
28
@@ -41,49 +42,26 @@ Some devices may offer multiple network interfaces to operate with. For example,
41
42
The tests can be run for either one of those using already existing test-config -files.
42
43
43
44
To run the tests with Wi-Fi interface:
44
-
`>mbed test -m UBLOX_EVK_ODIN_W2 -t <toolchain> --icetea --test-config tools/test-configs/OdinInterface.json`
45
+
`>mbed test -m UBLOX_EVK_ODIN_W2 -t <toolchain> --icetea --test-config tools/test-configs/HeapBlockDeviceAndWifiInterface.json.json`
45
46
46
47
To run the tests with ethernet interface:
47
-
`>mbed test -m UBLOX_EVK_ODIN_W2 -t <toolchain> --icetea --test-config tools/test-configs/Odin_EthernetInterface.json`
48
+
`>mbed test -m UBLOX_EVK_ODIN_W2 -t <toolchain> --icetea --test-config tools/test-configs/HeapBlockDeviceAndEthernetInterface.json`
48
49
49
50
#### Providing Wi-Fi access point information
50
51
51
52
If you are using Wi-Fi interface for running the tests, you need to provide also information about the used access point.
52
-
The information can be provided in the used test-config -file. Depending on the used interface you might need to provide ssid, password and security.
53
-
You can either provide separate WIFI_SSID, WIFI_PASSWORD and WIFI_SECURITY macros, or provide the SSID, password and security in the connect statement provided in the test-config -file.
53
+
The information can be provided in the used test-config -file.
54
54
55
-
Example of separate macros:
55
+
Example of access point information:
56
56
```
57
-
"wifi-ssid": {
58
-
"help": "WiFi SSID",
59
-
"value": "\"ssid\"",
60
-
"macro_name": "WIFI_SSID"
61
-
},
62
-
"wifi-password": {
63
-
"help": "WiFi Password",
64
-
"value": "\"password\"",
65
-
"macro_name": "WIFI_PASSWORD"
66
-
},
67
-
"wifi-security": {
68
-
"help": "WiFi Security, values from nsapi_security from features/netsocket/nsapi_types.h"
0 commit comments