wifi module
Core framework Console Desktop
The wifi module manages WIFI connections
| Event | Description |
|---|---|
| wifi.onConnected() | Event fired when computer has successfully connected to WIFI endpoint |
| wifi.onDisconnected() | Event fired when computer has lost its connection to WIFI endpoint |
| Property | Description | Access | Type |
|---|---|---|---|
| wifi.channel | Gets current wireless connection channel | readonly | number |
| wifi.connected | Checks if the computer is connected to a wireless network | readonly | boolean |
| wifi.mac | Gets the wireless access point mac adress | readonly | string |
| wifi.name | Gets the current connected SSID | readonly | string nil |
| wifi.quality | Gets the WIFI signal quality of the current connection | readonly | number |
| Functions | Description | Return value |
|---|---|---|
| wifi.connect() | Connects to a wireless endpoint | boolean |
| wifi.disconnect() | Disconnects from the wireless endpoint | boolean |
| wifi.scan() | Scans for available wireless endpoints | table |