WF_CAGetScanType Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
WF_CAGetScanType Function
C
void WF_CAGetScanType(
    UINT8 * p_scanType
);
Description

Reads the current Connection Algorithm scan type. In active scan, STA will transmit probe request frames and AP/routers will respond by transmitting probe response frames. For AP/Router with hidden SSID, active scan is used. In passive scan, AP/router will continuously transmit beacon frames for every beacon interval (BI), any STAs may/will receive these beacons and know of existence of this AP/router.

Preconditions

MACInit must be called first.

Parameters
Parameters 
Description 
p_scanType 
Pointer where Connection Algorithm scan type is written. Either WF_ACTIVE_SCAN or WF_PASSIVE_SCAN. 
Returns

None

Remarks

Active scanning causes the MRF24W to send probe requests. Passive scanning implies the MRF24W only listens for beacons. Default is WF_ACTIVE_SCAN.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.