1.2.5.5 WDRV_PIC32MZW_BSSCtxIsValid Function

bool WDRV_PIC32MZW_BSSCtxIsValid (

const WDRV_PIC32MZW_BSS_CONTEXT *const pBSSCtx, bool ssidValid

)

C

Summary

Tests if a BSS context is valid.

Description

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

Precondition

None.

Parameters

Param

Description

pBSSCtx

Pointer to a BSS context.

ssidValid

Flag indicating if the SSID within the context must be valid.

Returns

true or false indicating if context is 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.