1.2.2.1.3.4.10 BLE_L2CAP_ConnParamUpdateRsp

C

uint16_t BLE_L2CAP_ConnParamUpdateRsp(uint16_t connHandle, uint16_t result);

Description

Reply a connection parameter update request.

Note

This function should be called when BLE_L2CAP_EVT_CONN_PARA_UPDATE_REQ received.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[in] resultAccept or reject the request. See Connection parameter update result.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issue a L2cap connection parameters update response.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_NO_RESOURCENo Transmit buffers available for sending L2cap connection parameters update response.
MBA_RES_FAILFail to send L2cap connection parameters update response by error L2cap instance.