Bluetooth Framework C++ Edition

◆ FindCharacteristic()

int FindCharacteristic ( const wclGattService Service,
const wclGattUuid Uuid,
wclGattCharacteristic Characteristic,
const wclGattOperationFlag  Flag = goNone 
)

The method searches the characteristic in given service with the specified UUID.

Parameters
ServiceThe GATT services.
UuidThe required characteristic's UUID.
CharacteristicIf the method completed with success on output contains the required characteristic. If the method failed the value is undefined.
FlagOperation behavior flag.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See also
wclGattService, wclGattUuid, wclGattCharacteristic, wclGattOperationFlag