POST /system/network/adapters/wireless/primary
This configuration interface is for any ECLYPSE Wi-Fi Adapter connected to the HOST connector.
Enabled is required.
Mode is required only if Enabled is true.
The modes available are:
It is possible to add the details of the mode we want to enable (see the example below). This method can be more effective than sending two requests: one for setting the mode parameter, and one to enable the mode. This method can be used only if the enabled field is set to true.
For more information about what is needed to add to the details see:
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.
There are multiple possible values according the resource:
If this parameter is not present during the request, and error 415 Unsupported Media Type will be thrown.
The Content-Length entity-header field indicates the size of the entity-body.
Object Name: WirelessAdapter
Property Name | Type | Description | Method |
---|---|---|---|
AccessPoint | Object | This object represents all the information about the device's access point Wi-Fi configuration. | GET POST |
Client | Object | This object represents all the information about the device's client Wi-Fi configuration. | GET POST |
Hotspot | Object | This object represents all the information about the device's hotspot Wi-Fi configuration. | GET POST |
Mesh | Object | This object represents all the information about the device's mesh Wi-Fi configuration. | GET POST |
Enabled | Object | This property is used to indicate if the controller’s wireless features are enabled or disabled. | GET POST |
Mode | String | This is the last wireless active mode. During a Post, this value is the mode that will be activated if the enabled property is set to true, otherwise the value will just be saved. The values available are :
|
GET POST |
URL Example: https://0.0.0.0/api/rest/v1/system/network/adapters/wireless/primary
{
"enabled": false,
"mode": "Hotspot"
}
URL Example: https://0.0.0.0/api/rest/v1/system/network/adapters/wireless/primary
{
"enabled": false,
"mode": "Hotspot"
}
URL Example: https://0.0.0.0/api/rest/v1/system/network/adapters/wireless/primary
<?xml version="1.0" encoding="utf-8"?>
<Primary>
<Enabled>false</Enabled>
<Mode>Hotspot</Mode>
</Primary>
URL Example: https://0.0.0.0/api/rest/v1/system/network/adapters/wireless/primary
<?xml version="1.0" encoding="utf-8"?>
<Primary>
<Enabled>false</Enabled>
<Mode>Hotspot</Mode>
</Primary>