1.3.3.14 WDRV_PIC32MZW_BSSRoamingConfigure Function

C

WDRV_PIC32MZW_STATUS WDRV_PIC32MZW_BSSRoamingConfigure
(
DRV_HANDLE handle,
WDRV_PIC32MZW_BSS_ROAMING_CFG roamingCfg
)

Summary

Configures BSS roaming support.

Description

Enables or disables BSS roaming support. If enabled the PIC32MZW can perform a DHCP renew of the current IP address if configured to do so, otherwise it will assume the existing IP address is still valid.

Precondition

WDRV_PIC32MZW_Initialize should have been called. WDRV_PIC32MZW_Open should have been called to obtain a valid handle.

Parameters

ParamDescription
handleClient handle obtained by a call to WDRV_PIC32MZW_Open.
roamingCfgRoaming configuration, see WDRV_PIC32MZW_BSS_ROAMING_CFG.

Returns

WDRV_PIC32MZW_STATUS_OK - The request has been accepted.

WDRV_PIC32MZW_STATUS_NOT_OPEN - The driver instance is not open.

WDRV_PIC32MZW_STATUS_INVALID_ARG - The parameters were incorrect.

WDRV_PIC32MZW_STATUS_CONNECT_FAIL - The disconnection has failed.

WDRV_PIC32MZW_STATUS_REQUEST_ERROR - The request to the PIC32MZW was rejected.

Remarks

None.