Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Create a Wi-Fi network.

Usages

net_wifi_create SSID [-p password] [-c channel] [-i interface_nbr] [-t net_type] [-s security_type]

Arguments

SSID, Wifi network to create.

-p [password], Specify the  password to access the WiFi network. 

-i [Interface number], Specify on which interface to use.

-c [Channel], Wi-Fi Channel

-t [network type], Network Type (infra or adhoc)

-s [security type], Network security type (open, wep, wpa, wpa2 or wps).

Output

If the the WiFi network is properly created, this command return to the terminal: Completed Successfully

Otherwise, this command will return information about the error to the terminal.

Required Configuration

NET_IF_CFG_WIFI_EN must be enabled.

Notes/Warnings

  1. This command will failed if the interface has already joined or created an network. In this case, use net_wifi_leave command before.  
  2. The argument [-p password] is not applicable if the security_type specified is 'open'.

Example 

To create a WiFi network with those parameters: 

ParametersValue
SSIDWiFiNetwork
Passwordabcd1234
Interface1
Channel6
Network TypeInfrastructure
SecurityWPA2

The command would be :

net_wifi_create -i 1 WiFiNetwork -p abcd1234 -c 6 -t infra -s wpa2

 

 

  • No labels