.Scanresultbssmode R/O Property

Top  Previous  Next

Function:

After a successful scan for a particular network (wln.scan with the ssid specified) this property will contain the network mode of this network.

Type:

Enum, byte

Value Range:

0- PL_WLN_BSS_MODE_INFRASTRUCTURE: wireless network with an access point.

1- PL_WLN_BSS_MODE_ADHOC: device-to-device network without an access point.

See Also:

Scanning for Wi-Fi Networks

wln.scanresultbssid, wln.scanresultchannel, wln.scanresultrssi, wln.scanresultssid, wln.scanresultwpainfo

 


Details

This property will not be updated if the wln.scan method is invoked with its ssid argument left empty ("search for all networks" mode).