1.1.9.10 WDRV_WINC_BSSFindSetScanParameters

C

WDRV_WINC_STATUS WDRV_WINC_BSSFindSetScanParameters
(
    DRV_HANDLE handle,
    uint8_t numSlots,
    uint8_t activeSlotTime,
    uint8_t passiveSlotTime,
    uint8_t numProbes
)

Description

The scan consists of a number of slots per channel, each slot can has a configurable time period and number of probe requests to send.

Precondition

WDRV_WINC_Initialize must have been called.

WDRV_WINC_Open must have been called to obtain a valid handle.

Parameters

ParametersDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
numSlotsNumber if slots (minimum is 2).
activeSlotTimeTime waiting for responses (10ms <= slotTime <= 250ms) for active scans.
passiveSlotTimeTime waiting for responses (10ms <= slotTime <= 1200ms) for passive scans.
numProbesNumber of probes per slot.

Returns

  • WDRV_WINC_STATUS_OK - The request was accepted.

  • WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.

  • WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

If any parameter is zero then the configured value is unchanged.