freebox_api_php/docs/services/config/WiFi/WiFi.md

85 lines
2.5 KiB
Markdown
Raw Permalink Normal View History

2016-06-11 21:29:34 +02:00
# WiFi
2016-06-11 23:16:01 +02:00
**Namespace** : alphayax\freebox\api\v3\services\config\WiFi
# Overview
- [Planning](WiFi.md#Planning)
2016-06-25 14:28:08 +02:00
- [MacFilter](WiFi.md#MacFilter)
- [Config](WiFi.md#Config)
- [Bss](WiFi.md#Bss)
- [AccessPoint](WiFi.md#AccessPoint)
2016-06-11 23:16:01 +02:00
2016-06-11 21:29:34 +02:00
2016-06-25 14:28:08 +02:00
<a name="Planning"></a>
## Planning
2016-06-11 21:29:34 +02:00
2016-06-25 14:28:08 +02:00
**Class** : alphayax\freebox\api\v3\services\config\WiFi\Planning
2016-06-11 21:29:34 +02:00
### Public methods
| Method | Description |
|---|---|
2016-06-25 14:28:08 +02:00
| `getPlanning` | Get the wifi planning |
| `update` | Update the wifi planning |
2016-06-11 21:29:34 +02:00
2016-06-25 14:28:08 +02:00
<a name="MacFilter"></a>
## MacFilter
2016-06-11 21:29:34 +02:00
2016-06-25 14:28:08 +02:00
**Class** : alphayax\freebox\api\v3\services\config\WiFi\MacFilter
2016-06-11 21:29:34 +02:00
### Public methods
| Method | Description |
|---|---|
2016-06-25 14:28:08 +02:00
| `getAll` | Get all MacFilters |
| `getFromId` | Get a specific MacFilter |
| `update` | Update a MacFilter |
| `delete` | Delete a MacFilter |
| `deleteFromId` | Delete a MacFilter with the specified id |
| `add` | Add a new MacFilter |
2016-06-11 21:29:34 +02:00
2016-06-11 23:16:01 +02:00
<a name="Config"></a>
2016-06-11 21:29:34 +02:00
## Config
2016-06-11 23:16:01 +02:00
**Class** : alphayax\freebox\api\v3\services\config\WiFi\Config
2016-06-11 21:29:34 +02:00
### Public methods
| Method | Description |
|---|---|
2016-06-12 18:41:25 +02:00
| `getConfiguration` | Get the global wifi configuration |
| `setConfiguration` | Update the global wifi configuration |
2016-06-11 21:29:34 +02:00
| `resetConfiguration` | Reset Wifi to default configuration |
2016-06-25 14:28:08 +02:00
<a name="Bss"></a>
## Bss
2016-06-11 21:29:34 +02:00
2016-06-25 14:28:08 +02:00
**Class** : alphayax\freebox\api\v3\services\config\WiFi\Bss
2016-06-11 21:29:34 +02:00
### Public methods
| Method | Description |
|---|---|
2016-06-25 14:28:08 +02:00
| `getAll` | Get the list of Freebox BSS |
| `getFromId` | Get a specific BSS |
| `update` | Update a BSS |
2016-06-11 21:29:34 +02:00
2016-06-25 14:28:08 +02:00
<a name="AccessPoint"></a>
## AccessPoint
2016-06-11 21:29:34 +02:00
2016-06-25 14:28:08 +02:00
**Class** : alphayax\freebox\api\v3\services\config\WiFi\AccessPoint
2016-06-11 21:29:34 +02:00
### Public methods
| Method | Description |
|---|---|
2016-06-25 14:28:08 +02:00
| `getAll` | Get all Access Points |
| `getFromId` | Get a specific Access Point |
| `getAllowedCombFromId` | To be able to allow user to pick a valid channel combination for a given AP you should use the following api to retrieve the list of allowed channel combination. |
| `getStationsFromId` | To be able to allow user to pick a valid channel combination for a given AP you should use the following api to retrieve the list of allowed channel combination. |
| `update` | Update an Access Point |
| `getNeighborsFromId` | Get the list of Neighbor seen by the AP |
| `refreshNeighborsScan` | WARNING during the scan the AP will be unavailable. Therefore, you should ask for user confirmation prior to launching a scan. Once launched you should wait until the ap state comes back from scanning to get updated info. |
| `getChannelUsageFromId` | List Wi-Fi channels usage |