1.1.2.1.2.4.6 GATTC_ExchangeMTURequest

C

uint16_t GATTC_ExchangeMTURequest(uint16_t connHandle, uint16_t mtuLen);

Parameters

ParameterDescription
[in] connHandleHandle of the connection to send Exchange MTU Request.
[in] mtuLenRequested MTU length (Range is BLE_ATT_DEFAULT_MTU_LEN to BLE_ATT_MAX_MTU_LEN, inclusive of both limits)

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully starts the Exchange MTU Request.
MBA_RES_FAILOperation rejected. This request cannot be performed over BR/EDR link.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid connection handle.
MBA_RES_BUSYGATT Client is busy. Another request is ongoing.