Rfsenddata, Rfsenddatafrompipe, Rfsenddata rfsenddatafrompipe – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual
Page 246

228
CATC BTT
RAINER
2.11
C
HAPTER
User’s Manual
RFSendData
RFSendData(Address, DLCI, Data)
Return value
•
“Success”
•
“Timed out”
•
“Not supported” (invalid data type)
•
“Not connected”
Comments
An RFCOMM connection must already be established with the device.
Example
RFSendData(Devices[0], DLCI, "ATDT 555-1212");
RFSendData("CONNECTED_DEVICE", dlci, "AT+CKPD=200\r\n");
RFSendDataFromPipe
RFSendDataFromPipe(Address, DLCI, PipeName)
Parameter
Meaning
Default Value
Comments
Address
Bluetooth
address of
device
Can use “CONNECTED_DEVICE” to send data
to a master RFCOMM connection. Note that this
will work only if exactly one device is connected
via RFCOMM.
DLCI
Data link con-
nection identi-
fier
The DLCI is returned by RFOpenClientChan-
nel()
Data
Data to send
Data can be a string, 32-bit integer value or a list
containing either or both types
Parameter
Meaning
Default Value
Comments
Address
Bluetooth
address of
device
Can use “CONNECTED_DEVICE” to send data
to a master RFCOMM connection
DLCI
Data link con-
nection identi-
fier
The DLCI is returned by RFOpenClientChan-
nel()
PipeName
Name of the
transmit data
pipe to get
data to send
This pipe must exist.