1.3.4.7 WDRV_PIC32MZW_BSSCtxSetChannel Function

C

WDRV_PIC32MZW_STATUS WDRV_PIC32MZW_BSSCtxSetChannel
(
WDRV_PIC32MZW_BSS_CONTEXT *const pBSSCtx,
WDRV_PIC32MZW_CHANNEL_ID channel
)

Summary

Configures the channel of the BSS context.

Description

The supplied channel value is copied into the BSS context.

Precondition

None.

Parameters

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