Click or drag to resize

wclBluetoothRadioHalCreateComPort Method

Creates new virtual COM port.

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
protected abstract int HalCreateComPort(
	long Address,
	Guid Service,
	out ushort Number
)

Parameters

Address  Int64
Remote device address.
Service  Guid
A service's UUID.
Number  UInt16
If function completed with success the Number parameter contains a just created virtual COM port number.

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 to provide information about supported Bluetooth driver (API).
See Also