wclGattClientConnectionHalSubscribe Method |
Implements a hardware-dependent code to subscribes for the
characteristic changes notifications.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax protected abstract int HalSubscribe(
wclGattCharacteristic Characteristic,
out IntPtr Hdl
)
Protected MustOverride Function HalSubscribe (
Characteristic As wclGattCharacteristic,
<OutAttribute> ByRef Hdl As IntPtr
) As Integer
protected:
virtual int HalSubscribe(
wclGattCharacteristic Characteristic,
[OutAttribute] IntPtr% Hdl
) abstract
Parameters
- Characteristic wclGattCharacteristic
- A characteristic object in that changes
an application is interested.
- Hdl IntPtr
- On output the subscription handle.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
Remarks A derived class must override this method.
See Also