Bluetooth Framework
ContentsIndexHome
PreviousUpNext
TwclBluetoothRadio.HalCreateComPort Method

Creates new virtual COM port.

Syntax
Pascal
function HalCreateComPort(const Address: Int64; const Service: TGUID; out Number: Word): Integer; virtual; abstract;
Parameters 
Description 
const Address: Int64 
Remote device address.  
const Service: TGUID 
A service's UUID.  
out Number: Word 
If function completed with success the Number parameter contains a just created virtual COM port number.  

If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

A derived class must override this method to provide information about supported Bluetooth driver (API).

Copyright (c) 2006-2019. All rights reserved.