B.7 tcs commands, Tcsregisterprofile, Tcs commands – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual
Page 259
Advertising

241
CATC BTT
RAINER
2.11
C
HAPTER
User’s Manual
Return value
•
“Success”
•
“Failure”
•
“Not Connected”
Comments
Advances a specified number of credits to a particular RFCOMM connec-
tion.
Example
result = RFOpenClientChannel(Device, 1);
DLCI = result[1];
if(result[0] == "Success")
{
status = RFAdvanceCredit(Device, DLCI, 2);
Trace("RFAdvanceCredit returned: ", status, "\n\n");
}
B.7 TCS Commands
TCSRegisterProfile
TCSRegisterProfile()
Return value
•
“Success”
•
“Failure”
Comments
Register Intercom profile with the application.
Example
result = TCSRegisterProfile();
Trace("TCSRegisterProfile returned: ", result, "\n");
credit
Number of
credits to
advance
Parameter
Meaning
Default Value
Comments
N/A
Parameter
Meaning
Default Value
Comments
Advertising