WF_CASetScanType Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
WF_CASetScanType Function
C
void WF_CASetScanType(
    UINT8 scanType
);
Description

Configures the Connection Algorithm for the desired 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 
scanType 
Desired scan type. 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.