|
Wln Object (V1.0) |
Top Previous Next |
The wln object represents the Wi-Fi interface of your device. It is through this object that you find available Wi-Fi networks and select one of them (at a time) to associate with. The wln object is not responsible for actual data communications over the Wi-Fi -- this is the job of the sock object. In the task it performs, the wln object is similar to the net object, which controls another interface -- the Ethernet. In comparison, the wln object is more complex.
The wln object allows you to:
| • | Scan for available networks and obtain their parameters such as name, operating channel, mode, etc. |
| • | Set security (WEP) keys. |
| • | Associate with one of the networks (at a time) or form your own "ad-hoc" network on a desired channel. |
| • | Transmit and receive data through this network. |
| • | Monitor received signal strength. |
| • | Detect disassociation from the network. |
| • | Detect Wi-Fi interface power-down or malfunction. |