# Calling of Network Configuration APIs - [Whether WifiAware Is Supported](#section1488020125510) - [Obtaining the Wi-Fi List](#section743413288512) - [Discovering Devices Through NAN](#section1504174410511) - [Discovering a Device Through SoftAP](#section55681185218) - [Connecting a Device](#section4392324115210) - [Configuring the Network for a Device](#section772433526) - [Releasing the Network Configuration Channel](#section194641109530) - [Controlling the Device in Seconds](#section144171232175313) - [Registering Message Callbacks](#section7232650195315) - [Callback for Device Disconnection](#section176579445411) All APIs related to the network configuration are in **login/fa-netconfig.js**. For details about how to reference these APIs, see **import netConfig from'fa-netconfig'** in **app.js**. ## Whether WifiAware Is Supported
Initiates a NAN broadcast, waits for a client connection, establishes the connection, and stops the broadcast. |
|
The number of calling times is determined by the atomic service. |
|
Releases the network configuration channel. When the atomic service does not use the NAN channel or the atomic service exits, the atomic service needs to proactively call this function. |
|
Obtains messages on the device side. You are advised to call this function before calling the device connection API in NAN mode. |
|