beautypg.com

Rfregisterserverchannel – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 245

background image

227

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

“Success”

“Failure”

“Timed out”

“Not connected”

“Restricted”

If the return value is “Success”, the second element in the list is the DLCI
of the established connection.

Comments

An ACL connection must already be established with the device.

Example

result = RFOpenClientChannel(Devices[0], 1);

if(result[0] == "Success")

{

Trace("Successfully connected with DLCI ", result[1],

"\n");

# Send some data over RFCOMM

}

RFRegisterServerChannel

RFRegisterServerChannel()

Return value

Server channel ID

“Failure”

Comments

Example

channel = RFRegisterServerChannel();

if(channel != "Failure")

{

Trace("Channel ID is ", channel);

}

Parameter

Meaning

Default Value

Comments

N/A