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>
Usage
Starts a WiFi access point named "wifiApSSID",
with WPA2 pass-phrase: "passphrase".
- Note
- 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:
- Connect your Ethernet to your target. The sample will bridge the Ethernet and the WiFi APs IP.
- Start the application wifiApTest
- With your WiFi client (smart phone/PC) do a scan.
- You should now see a SSID with the name "wifiApSSID".
- Connect to with the pass-phrase "passphrase".
- You should now have gotten an IP.
Look at the sample code for an example of how to bridge the modem and the IP.
Copyright (C) Sierra Wireless Inc.