wclGattClientConnectionHalDisconnect Method |
Implements a hardware-dependent code that disconnects from the
connected remote device.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax protected override int HalDisconnect()
Protected Overrides Function HalDisconnect As Integer
protected:
virtual int HalDisconnect() override
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 The method is called only if a connection to a remote
device was established with success (the Connect method was
success).
The method will not be called if the connection to the remote
device was terminated in the middle of the HalConnect
method.
A derived class must always call inherited
method.
See Also