Bluetooth Framework C++ Edition

◆ FindService()

int FindService ( const wclGattUuid Uuid,
wclGattService Service,
const wclGattOperationFlag  Flag = goNone 
)

The method searches the service with specified UUID.

Parameters
UuidThe required service's UUID.
ServiceIf the method completed with success on output contains the required service. 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
wclGattUuid, wclGattService, wclGattOperationFlag