wclGattClientFindCharacteristic Method |
The method searches the characteristic in given service with
the specified UUID.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public int FindCharacteristic(
wclGattService Service,
wclGattUuid Uuid,
out wclGattCharacteristic? Characteristic,
wclGattOperationFlag Flag = wclGattOperationFlag.goNone
)
Public Function FindCharacteristic (
Service As wclGattService,
Uuid As wclGattUuid,
<OutAttribute> ByRef Characteristic As wclGattCharacteristic?,
Optional Flag As wclGattOperationFlag = wclGattOperationFlag.goNone
) As Integer
public:
int FindCharacteristic(
wclGattService Service,
wclGattUuid Uuid,
[OutAttribute] Nullable<wclGattCharacteristic>% Characteristic,
wclGattOperationFlag Flag = wclGattOperationFlag::goNone
)
Parameters
- Service wclGattService
- The GATT services.
- Uuid wclGattUuid
- The required characteristic's UUID.
- Characteristic NullablewclGattCharacteristic
- If the method completed with success on
output contains the required characteristic. If the method failed the
value is undefined.
- Flag wclGattOperationFlag (Optional)
- Operation behavior flag.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
See Also