1.2.4.3 WDRV_PIC32MZW_BSSRoamingConfigure Function

WDRV_PIC32MZW_STATUS WDRV_PIC32MZW_BSSRoamingConfigure (

DRV_HANDLE handle, WDRV_PIC32MZW_BSS_ROAMING_CFG roamingCfg

)

C

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

Param

Description

handle

Client handle obtained by a call to WDRV_PIC32MZW_Open.

roamingCfg

Roaming 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.