diff --git a/TESTS/netsocket/tls/main.cpp b/TESTS/netsocket/tls/main.cpp index 0e7316a9e3..8ab8aef62e 100644 --- a/TESTS/netsocket/tls/main.cpp +++ b/TESTS/netsocket/tls/main.cpp @@ -21,7 +21,7 @@ #error [NOT_SUPPORTED] No network configuration found for this target. #endif #ifndef MBED_CONF_APP_ECHO_SERVER_ADDR -#error [NOT_SUPPORTED] Requires parameters from mbed_app.json +#error [NOT_SUPPORTED] Requires echo-server-discard-port parameter from mbed_app.json #endif #include "mbed.h" diff --git a/tools/test_configs/ESP8266Interface.json b/tools/test_configs/ESP8266Interface.json index d7152960f4..6514f2f8ed 100644 --- a/tools/test_configs/ESP8266Interface.json +++ b/tools/test_configs/ESP8266Interface.json @@ -1,5 +1,41 @@ { "config": { + "wifi-secure-ssid": { + "help": "WiFi SSID for WPA2 secured network", + "value": "\"WIFI_SSID_SECURED\"" + }, + "wifi-unsecure-ssid": { + "help": "WiFi SSID for unsecure netwrok", + "value": "\"WIFI_SSID_UNSECURE\"" + }, + "wifi-password": { + "help": "WiFi Password", + "value": "\"WIFI_PASSWORD\"" + }, + "wifi-secure-protocol": { + "help": "WiFi security protocol, valid values are WEP, WPA, WPA2, WPA_WPA2", + "value": "\"WPA2\"" + }, + "wifi-ch-secure": { + "help": "Channel number of secure SSID", + "value": null + }, + "wifi-ch-unsecure": { + "help": "Channel number of unsecure SSID", + "value": null + }, + "ap-mac-secure": { + "help": "BSSID of secure AP in form of AA:BB:CC:DD:EE:FF", + "value": "\"AA:AA:AA:AA:AA:AA\"" + }, + "ap-mac-unsecure": { + "help": "BSSID of unsecure AP in form of \"AA:BB:CC:DD:EE:FF\"", + "value": "\"BB:BB:BB:BB:BB:BB\"" + }, + "max-scan-size": { + "help": "How many networks may appear in Wifi scan result", + "value": 10 + }, "echo-server-addr" : { "help" : "IP address of echo server", "value" : "\"echo.mbedcloudtesting.com\"" @@ -26,7 +62,7 @@ "target.network-default-interface-type": "WIFI", "nsapi.default-wifi-ssid": "\"WIFI_SSID\"", "nsapi.default-wifi-password": "\"WIFI_PASSWORD\"", - "nsapi.default-wifi-security": "WIFI_SECURITY", + "nsapi.default-wifi-security": "WPA2", "esp8266.provide-default": true } } diff --git a/tools/test_configs/HeapBlockDeviceAndWifiInterface.json b/tools/test_configs/HeapBlockDeviceAndWifiInterface.json index cce8abfb57..ae8995c57f 100644 --- a/tools/test_configs/HeapBlockDeviceAndWifiInterface.json +++ b/tools/test_configs/HeapBlockDeviceAndWifiInterface.json @@ -1,5 +1,41 @@ { "config": { + "wifi-secure-ssid": { + "help": "WiFi SSID for WPA2 secured network", + "value": "\"WIFI_SSID_SECURED\"" + }, + "wifi-unsecure-ssid": { + "help": "WiFi SSID for unsecure netwrok", + "value": "\"WIFI_SSID_UNSECURE\"" + }, + "wifi-password": { + "help": "WiFi Password", + "value": "\"WIFI_PASSWORD\"" + }, + "wifi-secure-protocol": { + "help": "WiFi security protocol, valid values are WEP, WPA, WPA2, WPA_WPA2", + "value": "\"WPA2\"" + }, + "wifi-ch-secure": { + "help": "Channel number of secure SSID", + "value": null + }, + "wifi-ch-unsecure": { + "help": "Channel number of unsecure SSID", + "value": null + }, + "ap-mac-secure": { + "help": "BSSID of secure AP in form of AA:BB:CC:DD:EE:FF", + "value": "\"AA:AA:AA:AA:AA:AA\"" + }, + "ap-mac-unsecure": { + "help": "BSSID of unsecure AP in form of \"AA:BB:CC:DD:EE:FF\"", + "value": "\"BB:BB:BB:BB:BB:BB\"" + }, + "max-scan-size": { + "help": "How many networks may appear in Wifi scan result", + "value": 10 + }, "echo-server-addr" : { "help" : "IP address of echo server", "value" : "\"echo.mbedcloudtesting.com\"" @@ -31,7 +67,7 @@ "target.network-default-interface-type": "WIFI", "nsapi.default-wifi-ssid": "\"WIFI_SSID\"", "nsapi.default-wifi-password": "\"WIFI_PASSWORD\"", - "nsapi.default-wifi-security": "WIFI_SECURITY" + "nsapi.default-wifi-security": "WPA2" } } } diff --git a/tools/test_configs/ISM43362Interface.json b/tools/test_configs/ISM43362Interface.json index bb7e8d546f..f7e7d2b6fa 100644 --- a/tools/test_configs/ISM43362Interface.json +++ b/tools/test_configs/ISM43362Interface.json @@ -1,5 +1,41 @@ { "config": { + "wifi-secure-ssid": { + "help": "WiFi SSID for WPA2 secured network", + "value": "\"WIFI_SSID_SECURE\"" + }, + "wifi-unsecure-ssid": { + "help": "WiFi SSID for unsecure netwrok", + "value": "\"WIFI_SSID_UNSECURE\"" + }, + "wifi-password": { + "help": "WiFi Password", + "value": "\"WIFI_PASSWORD\"" + }, + "wifi-secure-protocol": { + "help": "WiFi security protocol, valid values are WEP, WPA, WPA2, WPA_WPA2", + "value": "\"WPA2\"" + }, + "wifi-ch-secure": { + "help": "Channel number of secure SSID", + "value": null + }, + "wifi-ch-unsecure": { + "help": "Channel number of unsecure SSID", + "value": null + }, + "ap-mac-secure": { + "help": "BSSID of secure AP in form of AA:BB:CC:DD:EE:FF", + "value": "\"AA:AA:AA:AA:AA:AA\"" + }, + "ap-mac-unsecure": { + "help": "BSSID of unsecure AP in form of \"AA:BB:CC:DD:EE:FF\"", + "value": "\"BB:BB:BB:BB:BB:BB\"" + }, + "max-scan-size": { + "help": "How many networks may appear in Wifi scan result", + "value": 10 + }, "echo-server-addr" : { "help" : "IP address of echo server", "value" : "\"echo.mbedcloudtesting.com\"" @@ -19,42 +55,6 @@ "echo-server-discard-port-tls" : { "help" : "Discard port of echo server for TLS", "value" : "2009" - }, - "wifi-secure-ssid": { - "help": "WiFi SSID for WPA2 secured network", - "value": "\"SSID-SECURE\"" - }, - "wifi-unsecure-ssid": { - "help": "WiFi SSID for unsecure network", - "value": "\"SSID-UNSECURE\"" - }, - "wifi-password": { - "help": "WiFi Password", - "value": "\"PASSWORD\"" - }, - "wifi-secure-protocol": { - "help": "WiFi security protocol, valid values are WEP, WPA, WPA2, WPA/WPA2", - "value": "\"WPA2\"" - }, - "wifi-ch-secure": { - "help": "Channel number of secure SSID", - "value": 1 - }, - "wifi-ch-unsecure": { - "help": "Channel number of unsecure SSID", - "value": 2 - }, - "ap-mac-secure": { - "help": "BSSID of secure AP in form of AA:BB:CC:DD:EE:FF", - "value": "\"AA:AA:AA:AA:AA:AA\"" - }, - "ap-mac-unsecure": { - "help": "BSSID of unsecure AP in form of \"AA:BB:CC:DD:EE:FF\"", - "value": "\"BB:BB:BB:BB:BB:BB\"" - }, - "max-scan-size": { - "help": "How many networks may appear in Wifi scan result", - "value": 10 } }, "target_overrides": { @@ -63,7 +63,7 @@ "target.network-default-interface-type": "WIFI", "nsapi.default-wifi-ssid": "\"WIFI_SSID\"", "nsapi.default-wifi-password": "\"WIFI_PASSWORD\"", - "nsapi.default-wifi-security": "WIFI_SECURITY", + "nsapi.default-wifi-security": "WPA2", "ism43362.provide-default": true } } diff --git a/tools/test_configs/SpwfSAInterface.json b/tools/test_configs/SpwfSAInterface.json index 132209a8ca..6fff57d608 100644 --- a/tools/test_configs/SpwfSAInterface.json +++ b/tools/test_configs/SpwfSAInterface.json @@ -1,5 +1,41 @@ { "config": { + "wifi-secure-ssid": { + "help": "WiFi SSID for WPA2 secured network", + "value": "\"WIFI_SSID_SECURE\"" + }, + "wifi-unsecure-ssid": { + "help": "WiFi SSID for unsecure netwrok", + "value": "\"WIFI_SSID_UNSECURE\"" + }, + "wifi-password": { + "help": "WiFi Password", + "value": "\"WIFI_PASSWORD\"" + }, + "wifi-secure-protocol": { + "help": "WiFi security protocol, valid values are WEP, WPA, WPA2, WPA_WPA2", + "value": "\"WPA2\"" + }, + "wifi-ch-secure": { + "help": "Channel number of secure SSID", + "value": null + }, + "wifi-ch-unsecure": { + "help": "Channel number of unsecure SSID", + "value": null + }, + "ap-mac-secure": { + "help": "BSSID of secure AP in form of AA:BB:CC:DD:EE:FF", + "value": "\"AA:AA:AA:AA:AA:AA\"" + }, + "ap-mac-unsecure": { + "help": "BSSID of unsecure AP in form of \"AA:BB:CC:DD:EE:FF\"", + "value": "\"BB:BB:BB:BB:BB:BB\"" + }, + "max-scan-size": { + "help": "How many networks may appear in Wifi scan result", + "value": 10 + }, "echo-server-addr" : { "help" : "IP address of echo server", "value" : "\"echo.mbedcloudtesting.com\"" @@ -34,7 +70,7 @@ "target.network-default-interface-type": "WIFI", "nsapi.default-wifi-ssid": "\"WIFI_SSID\"", "nsapi.default-wifi-password": "\"WIFI_PASSWORD\"", - "nsapi.default-wifi-security": "WIFI_SECURITY", + "nsapi.default-wifi-security": "WPA2", "idw0xx1.provide-default": true } }