tWFScanResult Structure

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
tWFScanResult Structure
C
typedef struct {
  UINT8 bssid[WF_BSSID_LENGTH];
  UINT8 ssid[WF_MAX_SSID_LENGTH];
  UINT8 apConfig;
  UINT8 reserved;
  UINT16 beaconPeriod;
  UINT16 atimWindow;
  UINT8 basicRateSet[WF_MAX_NUM_RATES];
  UINT8 rssi;
  UINT8 numRates;
  UINT8 DtimPeriod;
  UINT8 bssType;
  UINT8 channel;
  UINT8 ssidLen;
} tWFScanResult;
Description

Scan Results

Members
Members 
Description 
UINT8 bssid[WF_BSSID_LENGTH]; 
Network BSSID value 
UINT8 ssid[WF_MAX_SSID_LENGTH]; 
Network SSID value 
UINT8 apConfig; 
Access point configuration  
UINT16 beaconPeriod; 
Network beacon interval 
UINT16 atimWindow; 
Only valid if bssType = WF_INFRASTRUCTURE 
UINT8 basicRateSet[WF_MAX_NUM_RATES]; 
List of Network basic rates. Each rate has the following format:
Bit 7
  • 0 – rate is not part of the basic rates set
  • 1 – rate is part of the basic rates set


Bits 6:0 Multiple of 500kbps giving the supported rate. For example, a value of 2 (2 * 500kbps) indicates that 1mbps is a supported rate. A value of 4 in this field indicates a 2mbps rate (4 * 500kbps). 

UINT8 rssi; 
Signal strength of received frame beacon or probe response 
UINT8 numRates; 
Number of valid rates in basicRates 
UINT8 DtimPeriod; 
Part of TIM element 
UINT8 bssType; 
WF_INFRASTRUCTURE or WF_ADHOC 
UINT8 channel; 
Channel number 
UINT8 ssidLen; 
Number of valid characters in ssid 
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.