Users Manual Instruction Manual

142
CATC BTTRAINER 2.11 CHAPTER
Users Manual
Return value
“Success”
“Failure”
Comments
Sets the device class of BTTrainer
Example
SetDeviceClass(0x010203);
Sleep
Sleep(Time)
Return value
None.
Comments
Delays program execution for Time in milliseconds.
Example
Sleep(1000); # Sleep for one second
B.3 Pipe Commands
ClosePipe
ClosePipe(PipeName, PipeType)
Return value
“Success”
Parameter Meaning Default Value Comments
Time Time in ms
Parameter Meaning Default Value Comments
PipeName Name of the
data pipe to
open
PipeType “Transmit” or
“Receive
pipe
“Receive”