504
Platforms
©2000-2008 Tibbo Technology Inc.
question "disappears". In both cases, the
event is generated.
The Wi-Fi interface can also
, which is achieved
through the
method.
Terminating Own Ad-hoc Network
explains how to end this (in short, use
).
Notice that you cannot be associated and run your own network at the same time.
These states are mutually exclusive.
Brining Up Wi-Fi Interface
A number of steps have to be taken in order to bring up the Wi-Fi interface. The
following is a simplified code that demonstrates the process. Typically, the code
would be in the
event handler. We call the code simplified because
it does not check for any error conditions.
The code includes the following steps:
(optional)
Setting IP, Gateway, and Netmask
(optional)
(optional)
And now the code itself:
522
512
521
512
522
220
505
506
507
507
508
508
509
509