GET /system/network/adapters/wireless/primary/access-point
This turns the controller into a Wi-Fi access point that other wireless clients can use to have network access. This access point operates off of the same subnetwork and has the same IP connectivity that the controller has with its wired network connection. For example, if the controller’s wired connection is to a network that has an active DHCP server, access point clients can also use this DHCP server to automatically configure their IP connection parameters.
The password is in Base64.
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: Advanced
Property Name | Type | Description | Method |
---|---|---|---|
ChannelNumber | empty | This object represents the channel number. This sets the center frequency of the transmission. If there are other Wi-Fi networks are nearby, configure each Wi-Fi network to use different channel numbers to reduce interference and network drop-outs. | GET POST |
WifiMode | empty | This object sets the wireless mode (wireless G or wireless N). Wireless N mode is backwards compatible with Wireless G and B. Wireless G mode is backwards compatible with Wireless B. A mesh network uses the wireless N mode. | GET POST |
Object Name: ChannelNumber
Property Name | Type | Description | Method |
---|---|---|---|
Id | Integer | This property is the id of a channel number. Lists of the ID :
|
GET POST |
Value | Integer | This property is the channel number value. Lists of the values :
|
GET |
Object Name: AccessPoint
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 |
Advanced | empty | This object represents the advanced values you can configure for a Wi-Fi connection. | 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 |
URL Example: https://0.0.0.0/api/rest/v1/system/network/adapters/wireless/primary/access-point
{
"advanced": {
"wifiMode": "G",
"channelNumber": {
"value": "2.417GHz",
"id": 2
}
},
"networkName": "Eclypse1234",
"encryption": {
"type": "WPA2",
"password": "SjNTdTFTczNDdXIz"
}
}
URL Example: https://0.0.0.0/api/rest/v1/system/network/adapters/wireless/primary/access-point
<?xml version="1.0" encoding="utf-8"?>
<AccessPoint>
<NetworkName>Eclypse1234</NetworkName>
<Encryption>
<Type>WPA2</Type>
<Password>SjNTdTFTczNDdXIz</Password>
</Encryption>
<Advanced>
<ChannelNumber>
<Id>2</Id>
<Value>2.417GHz</Value>
</ChannelNumber>
<WifiMode>G</WifiMode>
</Advanced>
</AccessPoint>