WiFi

APIs

The WiFi Service exposes two APIs to manage Clients and Access Points.

API Guide API Reference File Name Description multi-app safe
WiFi Access Point Service le_wifiAp_interface.h le_wifiAp.api Create an access point that clients can connect to.
WiFi Client Service le_wifiClient_interface.h le_wifiClient.api Connect to a WiFi access point.

App Implementation

The WiFi Service is implemented by the wifiService

To bind to these APIs customize the following bindings for your App's .adef:

bindings:
{
myExecutable.myComponentClient.le_wifiAp -> wifiService.le_wifiAp
myExecutable.myComponentClient.le_wifiClient -> wifiService.le_wifiClient
}

Tools

The wifi_toolsTarget_wifi can be used to configure and control the client or access point from the command line.

Sample Apps

The following WiFi Sample Apps are available to test the client or access point and to show an example of developing your own wifi client or access point app.

Section Description
wifi_wificlient_testapp How to use Wifi Client API
wifi_wifiap_testapp How to use Wifi Access Point API
wifi_wifiwebAp_sample Setup the Access Point using a webpage