WiFi Framework
ContentsIndexHome
PreviousUpNext
wclWiFi::wclWiFiAvailableNetwork Structure

The record contains information about an available wireless network.

Syntax
C++
typedef struct {
  tstring ProfileName;
  tstring Ssid;
  wclWiFiBssType BssType;
  unsigned long NumberOfBssids;
  bool NetworkConnectable;
  int NotConnectableReason;
  wclWiFiPhys PhyTypes;
  bool MorePhyTypes;
  unsigned long SignalQuality;
  bool SecurityEnabled;
  wclWiFiAuthAlgorithm DefaultAuthAlgorithm;
  wclWiFiCipherAlgorithm DefaultCipherAlgorithm;
  wclWiFiAvailableNetworkFlags Flags;
} wclWiFiAvailableNetwork;
Members 
Description 
tstring ProfileName; 
Contains the profile name associated with the network. If the network does not have a profile, this member will be empty. If multiple profiles are associated with the network, there will be multiple entries with the same SSID in the visible network list. Profile names are case-sensitive.  
tstring Ssid; 
The SSID of the visible wireless network.  
wclWiFiBssType BssType; 
Specifies whether the network is infrastructure or ad hoc.  
unsigned long NumberOfBssids; 
Indicates the number of BSSIDs in the network.  
bool NetworkConnectable; 
Indicates whether the network is connectable or not. If set to True, the network is connectable, otherwise the network cannot be connected to.  
int NotConnectableReason; 
Indicates why a network cannot be connected to. This member is only valid when NetworkConnectable is False.  
wclWiFiPhys PhyTypes; 
Contains a set of wclWiFiPhy values that represent the PHY types supported by the available networks. If the netxowkr supports more than 8 PHYs, this set contains only the first 8 PHY types.  
bool MorePhyTypes; 
Specifies if there are more than 8 PHY types supported.
When this member is set to True, an application must call EnumBss of the CwclWiFiClient component to get the complete list of PHY types.
 
unsigned long SignalQuality; 
A percentage value that represents the signal quality of the network. This member contains a value between 0 and 100. A value of 0 implies an actual RSSI signal strength of -100 dbm. A value of 100 implies an actual RSSI signal strength of -50 dbm. You can calculate the RSSI signal strength value for SignalQuality values between 1 and 99 using linear interpolation.  
bool SecurityEnabled; 
Indicates whether security is enabled on the network. A value of True indicates that security is enabled, otherwise it is not.  
wclWiFiAuthAlgorithm DefaultAuthAlgorithm; 
Indicates the default authentication algorithm used to join this network for the first time.  
wclWiFiCipherAlgorithm DefaultCipherAlgorithm; 
Indicates the default cipher algorithm to be used when joining this network.  
wclWiFiAvailableNetworkFlags Flags; 
Various flags for the network.  
Copyright (c) 2006-2019. All rights reserved.