Running the Matter Demo over Wi-Fi on EFR32 device#
Flashing Images/Binaries on EFR32MG24 Platform using Ozone, Simplicity Studio, or Simplicity Commander#
Note: If you are coming from Simplicity Studio, you may have already installed the demo image in Simplicity Studio, in which case you can skip to the next step.
- Plug the WSTK and EFR into the laptop. 
- Based on the Application being built, make sure to flash proper bootloader internal or external binaries. 
- Follow instructions to Flash a Silicon Labs Device with the demo binary. 
Demo Execution - Commissioning a Wi-Fi Device using chip-tool for Linux#
Commissioning can be done using chip-tool running either on Linux or Raspberry Pi
- Get the SSID and PSK of the Wi-Fi network (WPA2 - Security) you are connected to. 
- Run the following: 
$ cd $MATTER_WORKDIR/matterCommissioning Command:#
$ out/standalone/chip-tool pairing ble-wifi 1122 $SSID $PSK 20202021 3840The node ID used here is 1122. This will be used in future commands. '$SSID' is a placeholder for your Wi-Fi SSID and '$PSK' is a placeholder for the password of your Wi-Fi network.
- To turn on the LED on the EFR32MG24: - $ out/standalone/chip-tool onoff on 1122 1
- To turn off the LED on the EFR32MG24: - $ out/standalone/chip-tool onoff off 1122 1
If there are any failures, run the following command and then re-run the chip-tool command:
$ rm -rf /tmp/chip_*If you are having difficulty getting the chip-tool to commission the device successfully, it may be because you have more than one network interface available to the chip-tool. The device on which you are running the chip-tool must be on the same Wi-Fi network as your RS9116 or WF200 and there cannot be another network interface on the device that is running the chip-tool. For instance, if you have an Ethernet connection as well as a Wi-Fi connection, you need to unplug the Ethernet connection and try running the chip-tool as in step #2 above.
As the device remembers the Access Point credentials given for commissioning, if you want to run the demo multiple times, do a factory reset by pressing the BTN0 on EFR32MG24 for about 6-7 seconds. The LED0 will flash 3 times.
The commissioning command mentioned above does the following:
- chip-tool scans BLE and locates the Silicon Labs device that uses the specified discriminator 
- Sends the Wi-Fi SSID and Passkey 
- The Silicon Labs device will join the Wi-Fi network and get an IP address. It then starts providing mDNS records on IPv4 and IPv6 
- chip-tool then locates the device over Wi-Fi and establishes operational certificates 
- Future communications (tests) will then happen over Wi-Fi