1.2.5.7 WDRV_PIC32MZW_BSSCtxSetChannel Function

WDRV_PIC32MZW_STATUS WDRV_PIC32MZW_BSSCtxSetChannel (

WDRV_PIC32MZW_BSS_CONTEXT *const pBSSCtx, WDRV_PIC32MZW_CHANNEL_ID channel

)

C

Summary

Configures the channel of the BSS context.

Description

The supplied channel value is copied into the BSS context.

Precondition

None.

Parameters

Param

Description

pBSSCtx

Pointer to a BSS context.

channel

Channel number.

Returns

WDRV_PIC32MZW_STATUS_OK - The context has been configured. WDRV_PIC32MZW_STATUS_INVALID_ARG - The parameters were incorrect. WDRV_PIC32MZW_STATUS_INVALID_CONTEXT - The BSS context is not valid.

Remarks

channel may be WDRV_PIC32MZW_CID_ANY to represent no fixed channel.