ST


A world leader in providing the semiconductor solutions that make a positive contribution to people’s lives, both today and in the future.

You are viewing an older revision! See the latest version

How to make wifi tests

  • WIFI driver code

https://github.com/ARMmbed/wifi-ism43362

Add this wifi driver in your mbed-os directory :

cd mbed-os
git clone https://github.com/ARMmbed/wifi-ism43362.git
  • STM32 boards with this ISM43362 built-in module

- DISCO_L475VG_IOT01A : https://os.mbed.com/platforms/ST-Discovery-L475E-IOT01A/

- DISCO_F413ZH : https://os.mbed.com/platforms/ST-Discovery-F413H/

Configuration for these boards are known within the driver, no need to update.

For information, file is : wifi-ism43362/mbed_lib.json

  • Wifi tests

3 tests are provided within mbed-os :

- tests-netsocket-tcp

- tests-netsocket-udp

- tests-network-wifi

  • Test configuration:

Configuration file is tools/test_configs/ISM43362Interface.json

You need to update it to indicate your local settings (network SSID, password, ...)

For netsocket tests, you need to create 1 access point :

- Internet access

- indicate SSID name : "wifi-secure-ssid" (SSID can be private)

- indicate the WPA2 password : "wifi-password"

For network-wifi test, you need to create 2 access points:

- no need to Internet access

- indicate SSID name : "wifi-secure-ssid" (SSID has to be broadcasted)

- indicate the WPA2 password : "wifi-password"

- indicate the guest SSID name : "wifi-unsecure-ssid" (SSID has to be broadcasted)

- indicate the channel and the BSSID of secure AP : "wifi-ch-secure", "ap-mac-secure"

- indicate the channel and the BSSID of unsecure AP : "wifi-ch-unsecure", "ap-mac-unsecure"

  • Execute tests:

Test configuration is known thanks to the "ISM43362_WIFI" test config alias.

mbed test -m DISCO_F413ZH -t ARM -v -n tests-network-wifi --test-config ISM43362_WIFI
mbed test -m DISCO_L475VG_IOT01A -t GCC_ARM -v -n tests-netsocket-* --test-config ISM43362_WIFI


All wikipages