.Bssmode Property

Top  Previous  Next

 

Function:

Selects the network mode of the wln object.

Type:

Enum (pl_wln_bss_modes, byte)

Value Range:

0- PL_WLN_BSS_MODE_INFRASTRUCTURE (default): will associate with an access points.

1- PL_WLN_BSS_MODE_ADHOC: will associate with another device directly or create its own ad-hoc wireless network.

See Also:

Associating With Selected Network

 


Details

The property must be correctly set prior to invoking the wln.associate method, which commences actual association.

The property cannot be changed while the wln object is in the associated state (wln.associationstate= 1- PL_WLN_ASSOCIATED).