1.1.15.3 WDRV_WINC_APRekeyIntervalSet
Function
WDRV_WINC_STATUS WDRV_WINC_APRekeyIntervalSet ( DRV_HANDLE handle, const uint32_t interval )
Summary
Configures the group re-key interval used when operating in Soft-AP mode
Description
The re-key interval specifies how much time must elapse before a group re-key is initiated with connected stations. The timer is restarted after each group re-key.
Precondition
WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle.
Parameters
handle - Client handle obtained by a call to WDRV_WINC_Open.
interval - The time in seconds that must pass before each re-key attempt. The minimum time value is 60 seconds. Defaults to 86400.
Returns
WDRV_WINC_STATUS_OK - The request has been accepted.
WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.
WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.
WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.
Remarks
Takes effect after the next re-key - if an interval other than the default is desired then it is recommended to call this API before calling WDRV_WINC_APStart.