BLE_OTAPC_FeatureDisc
C
uint16_t BLE_OTAPC_FeatureDisc(uint16_t connHandle);Description
Initiates a feature discovery operation.
Note
An event of type BLE_OTAPC_EVT_FEATURE_IND will be generated upon completion of the procedure.
Parameters
| Parameter | Description |
|---|---|
| [in] connHandle | The connection handle for which to perform feature discovery. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | The start of the feature discovery procedure is successful. |
| MBA_RES_OOM | Internal memory allocation failure. |
| MBA_RES_INVALID_PARA | The provided connection handle is not valid. |
| MBA_RES_BAD_STATE | The OTA profile is not in the correct state to perform this operation. |
