BLE_GAP_UpdateConnParam

C

uint16_t BLE_GAP_UpdateConnParam(uint16_t connHandle, BLE_GAP_ConnParams_T *p_connParams);

Description

Updates connection parameters for an existing connection.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[in] p_connParamsPointer to the BLE_GAP_ConnParams_T structure containing the new parameters.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully updates the connection parameters.
MBA_RES_FAILConnection update is in progress.
MBA_RES_OOMInternal memory allocation failure occurred.
MBA_RES_INVALID_PARAInvalid parameters, or if any of the connection update parameters are out of range (see Connection parameters range ), or if the connection with the specified handle does not exist.
MBA_RES_UNSUPPORT_REMOTE_FEATUREUnsupported remote feature.