1.1.8.2 WDRV_WINC_BSSCtxIsValid

C

bool WDRV_WINC_BSSCtxIsValid
(
    const WDRV_WINC_BSS_CONTEXT *const pBSSCtx,
    bool ssidValid
)

Description

Tests the elements of the BSS context to judge if their values are legal.

Precondition

None.

Parameters

ParametersDescription
pBSSCtxPointer to a BSS context.
ssidValidFlag indicating if the SSID within the context must be valid.

Returns

  • true - Context is valid.

  • false - Context is not valid.

Remarks

A valid SSID is one which has a non-zero length. The check is optional as it is legal for the SSID field to be zero length.