1.2.2.1.1.4.72 BLE_GAP_UpdateConnParam
C
uint16_t BLE_GAP_UpdateConnParam(uint16_t connHandle, BLE_GAP_ConnParams_T *p_connParams);
Description
Update connection parameters of an existing connection.
Events generated
BLE_GAP_EVT_CONN_PARAM_UPDATE Generated when connection parameters update complete.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
[in] p_connParams | Pointer to the BLE_GAP_ConnParams_T structure buffer. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully update the connection parameters. |
MBA_RES_FAIL | Connection update is in progress. |
MBA_RES_OOM | Internal memory allocation failure. |
MBA_RES_INVALID_PARA | Invalid parameters, if any of the connection update parameters are out of range. See Connection parameters range for range). (OR) Connection with the specified handle does not exist. |
MBA_RES_UNSUPPORT_REMOTE_FEATURE | Unsupported remote feature. |