BLE_OTAPC_FeatureDisc

C

uint16_t BLE_OTAPC_FeatureDisc(uint16_t connHandle);

Description

Perform OTA features discovery operation for Server role device.

BLE_OTAPC_EVT_FEATURE_IND will be generated if the procedure is complete.

Parameters

ParameterDescription
[in] connHandleHandle of the connection to do feature discovery.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully starts the feature discovery procedure.
MBA_RES_OOMNo available memory.
MBA_RES_INVALID_PARAInvalid parameters. Connection handle is not valid.
MBA_RES_BAD_STATEOTA profile is not ready to perform this operation.