TwclGattClient.FindService(TwclGattUuid,TwclGattService,TwclGattOperationFlag) Method
The method searches the service with specified UUID.
public function FindService(const Uuid: TwclGattUuid; out Service: TwclGattService; const Flag: TwclGattOperationFlag = goNone): Integer;
Parameters
- Uuid
- Type: TwclGattUuid
The required service's UUID.
- Service
- Type: TwclGattService
If the method completed with success on output contains the required service. If the method failed the value is undefined.
- Flag
- Type: TwclGattOperationFlag
Operation behavior flag.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.