1.3.4.5 WDRV_PIC32MZW_BSSCtxIsValid Function

C

bool WDRV_PIC32MZW_BSSCtxIsValid
(
const WDRV_PIC32MZW_BSS_CONTEXT *const pBSSCtx,
bool ssidValid
)

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

ParamDescription
pBSSCtxPointer to a BSS context.
ssidValidFlag 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.