[−][src]Function openthread_sys::otPlatBleGattClientOnCharacteristicsDiscoverDone
pub unsafe extern "C" fn otPlatBleGattClientOnCharacteristicsDiscoverDone(
aInstance: *mut otInstance,
aChars: *mut otPlatBleGattCharacteristic,
aCount: u16,
aError: otError
)
The BLE driver calls this method to notify OpenThread that GATT Characteristic Discovery of a service has been done.
In case of success, all elements inside @p aChars should have a valid mHandleValue value.
@note This function shall be used only for GATT Client.
@param[in] aInstance The OpenThread instance structure. @param[in] aChars A pointer to discovered characteristic list. @param[in] aCount Number of characteristics in @p aChar list. @param[in] aError The value of OT_ERROR_NONE indicates that at least one characteristic has been found and the total number of them is stored in @p aCount. OT_ERROR_NOT_FOUND error should be set if no charactertistics are found. Otherwise error indicates the reason of failure is used.