.networkstart Method
Function: |
Causes the Wi-Fi interface to commence creating its own network. This method is a task. |
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: |
Creating Own Network, wln.networkstop, wln.autoconnect, wln.dhcp |
Parameter |
Description |
ssid |
The name of the network to create. |
channel |
Channel on which the new network will operate. |
Details
On the WM2000, wln.networkstart is not available if wln.autoconnect is enabled. If wln.autoconnect is disabled, wln.networkstart is only available at boot and requires that wln.dhcp be enabled to function.