GET /system/network/adapters/wireless/primary/client
This connects the controller as a client of a Wi-Fi access point.
Used when you are operating a browser without access to the header parameter. This allows you to choose which encoding you want to use for the response:
All these resources can be used according what the resource allows.
If this parameter is not in the request, the Application/Json will be chosen by default.
There are multiple possible values (according the resource):
The first two are the most often used.
Object Name: Encryption
Property Name | Type | Description | Method |
---|---|---|---|
Type | String | This property references the type of the encryption. There are multiple encryption types:
|
GET POST |
Password | String | This property is the password of the encryption. The password value need to be encoded in Base64. When encryption is used, set the password to access the Wi-Fi network as a client or the password other clients will use to access this hotspot. Passwords should be a long series of random alphanumeric characters and symbols that are hard to guess. This parameter is case sensitive. For the type WPA2E, the password is that of the user. | GET POST |
Username | String | This property represents the user's name that can be connected to the network. | GET POST |
EAP | String | This property is EAP, it's the network communication protocol. It's used to connect to an enterprise network that has a working RADIUS authentication server. The possible values are :
|
GET POST |
Phase2 | String | This property is the phase 2 authentication, used to connect to an enterprise network that has a working RADIUS authentication server. The possible values are :
|
GET POST |
Object Name: Client
Property Name | Type | Description | Method |
---|---|---|---|
Encryption | empty | This object represents the encryption details. It can be multiple type of encryption possible. Each encryption type need different properties. | GET POST |
NetworkName | empty | This property is the name of the Wi-Fi network (SSID). The size limit is 32 char. (Except for the client mode) | GET POST |
HiddenSsid | empty | This property is used to indicate to the device if the network name (SSID), is visible or not during a discovering. | GET POST |
URL Example: https://0.0.0.0/api/rest/v1/system/network/adapters/wireless/primary/client
{
"networkName": "AndroidAP",
"encryption": {
"type": "None"
},
"hiddenSsid": false
}
URL Example: https://0.0.0.0/api/rest/v1/system/network/adapters/wireless/primary/client
<?xml version="1.0" encoding="utf-8"?>
<Client>
<NetworkName>AndroidAP</NetworkName>
<HiddenSsid>false</HiddenSsid>
<Encryption>
<Type>None</Type>
</Encryption>
</Client>