WiFi Access Point Test App

The sample shows how to use the WiFi Access Point Service.

This sample app may be included in the default legato build on your target but it is not started by default; it needs to be started manually.

View the app code

Run this to install the sample app:

$ bin/legs
$ cd $LEGATO_ROOT/modules/WiFi/apps/sample/wifiApTest
$ make wp85
$ update wifiApTest.wp85.update <ip address>


Starts a WiFi access point named "wifiApSSID",
with WPA2 pass-phrase: "passphrase".

It will also provide IP addresses. This is not a part of the WiFi service, but is provided as one of the sample applications.

Use Access Point

This is how to use a one way WiFi Access Point:

  1. Connect your Ethernet to your target. The sample will bridge the Ethernet and the WiFi APs IP.
  2. Start the application wifiApTest
  3. With your WiFi client (smart phone/PC) do a scan.
  4. You should now see a SSID with the name "wifiApSSID".
  5. Connect to with the pass-phrase "passphrase".
  6. You should now have gotten an IP.

Look at the sample code for an example of how to bridge the modem and the IP.