521
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
through the Wi-Fi interface, i.e. there is no socket for which
<>
0- PL_SSTS_CLOSED and
= 2- PL_INTERFACE_WLN.
The GA1000 add-on board already has a proper MAC address internally. To use
this MAC, leave the wln.mac at "0.0.0.0.0.0" when booting up the wln interface
with the
method. After a successful boot,the wln.mac property will
contain the MAC address obtained form the GA1000. Alternatively, set your own
MAC address before calling the wln.boot. This new address will be used, as long as
it is not "0.0.0.0.0.0".
.Netmask Property
Function:
Sets/returns the netmask for the Wi-Fi interface of your
device.
Type:
Dot-decimal string
Value Range:
Any valid netmask, such as "255.255.255.0". Default=
"0.0.0.0".
See Also:
Setting IP, Gateway, and Netmask
,
Details
This property can only be written to when no socket is engaged in communications
through the Wi-Fi interface, i.e. there is no socket for which
<>
0- PL_SSTS_CLOSED and
= 2- PL_INTERFACE_WLN.
.Networkstart Method
Function:
Causes the Wi-Fi interface to attempt starting its own ad-
hoc network.
Syntax:
wln.networkstart(byref ssid as string, channel as
byte) as accepted_rejected
Returns:
One of accepted_rejected constants:
0- ACCEPTED.
1- REJECTED.
See Also:
,
,
Part
Description
ssid
The name of the ad-hoc network to create.
chan
nel
Channel on which the new ad-hoc network will operate.
Details
Prior to creating an ad-hoc network, the application must preset the WEP mode
and key if required (see
).
358
331
515
509
520
520
358
331
512
510
500
527