515
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
After the successful association, which is initiated through the
method, the value of this property changes to 1- PL_WLN_ASSOCIATED. The value
is reset back to 0- PL_WLN_NOT_ASSOCIATED if disassociation occurs. Every time
this happens, an
event is generated with its wln_event argument
set to 1- PL_WLN_EVENT_DISASSOCIATED. Disassociation may happen for a
number of reasons: it can be induced through the
method or
forced by the access point. The disassociation will also happen if the access point
goes offline or out of range, or if the Wi-Fi hardware is powered down,
disconnected, or malfunctions.
After the Wi-Fi interface succeeds in creating its own ad-hoc network (see
), the value of this property becomes 2- PL_WLN_OWN_NETWORK.
The value is reset back to 0- PL_WLN_NOT_ASSOCIATED when the ad-hoc network
is terminated (
).
.Boot Method
Function:
Boots up the Wi-Fi interface, which involves sending to
the Wi-Fi hardware a firmware file for its embedded
processor.
Syntax:
wln.boot(offset as dword) as ok_ng
Returns:
One of ok_ng constants:
0- OK: completed successfully.
1- NG: boot failed.
See Also:
Part
Description
offset
Offset of the "ga1000fw.bin" file within the compiled binary of your
project. The offset is obtained using the
read-only
property.
Details
The "ga1000fw.bin" file must be present in your project as a binary resource file.
To obtain correct offset value, open the file first:
("wln_fwar.bin").
After that, do wln.boot(romfile.offset).
The boot process is very fast and will be completed in less than 1 second.
This method will return 0- OK when the boot completes successfully. At the same
time, the
will become 1- YES. The method will return 1- NG if the
boot fails, in which case the wln.enabled will remain at 0- NO. This will happen if
the Wi-Fi hardware is not connected properly,
incorrectly, not powered,
malfunctions, or is operational already.
.Bssmode Property
Obsolete.
This parameter is now supplied directly, as the argument for the
method.
513
522
518
521
522
508
378
379
519
507
513