L2capreceivedata(), L2capinforequest(), L2capreceivedata() l2capinforequest() – Teledyne LeCroy Merlins Wand - Users Manual User Manual
Page 259

243
CATC M
ERLIN
’
S
W
AND
2.00
C
HAPTER
C
User’s Manual
Merlin’s Wand Scripting Commands
L2CAPReceiveData()
L2CAPReceiveData(Timeout)
Return value
Returns a list with the following values: [status, number_of_bytes,
data_array]
Status (element 0) is one of the following:
•
"Success"
•
"Timed out"
•
"Not connected"
Comments
This command sets the Timeout that Merlin’s Wand will wait in millisec-
onds for incoming L2CAP data. This function will block the specified
amount of time (or infinitely if 0 is specified) unless data is received.
Example
result = L2CAPReceiveData();
Trace("L2CAPReceiveData:", result,"\n");
L2CAPInfoRequest()
L2CAPInfoRequest(Address)
Return values
Returns a list with three values: status, number of bytes, and data.
Status (element 0) is one of the following:
•
“Success”
•
“Failure”
•
“Not found”
Parameter
Meaning
Default Value
Comments
Timeout
Time in ms to
wait for an
incoming
L2CAP data
0 (Infinite
wait)
Use 0 as the timeout value to wait infinitely
Parameter
Meaning
Default Value
Comments
Address
Bluetooth
address of the
remote device
- 6Zi Rackmount (12 pages)
- HDO Oscilloscope Rackmount (14 pages)
- LSIB-1 Host Interfaces (44 pages)
- OC1021 Oscilloscope Cart (9 pages)
- OC1024 Oscilloscope Cart (10 pages)
- OC910 Oscilloscope Cart (2 pages)
- TTL-AUX-OUT (1 page)
- WaveJet Rackmount (1 page)
- Zi Oscilloscope Rackmount (12 pages)
- USB2-GPIB (12 pages)
- WM8Zi-2X80GS (2 pages)
- WR6ZI-8CH-SYNCH (6 pages)
- Zi Oscilloscope Synchronization ProBus Module (Zi-8CH-SYNCH) (16 pages)
- LogicStudio (42 pages)
- WaveSurfer MXs-B Getting Started Manual (126 pages)
- WaveSurfer MXs-B Quick Reference Guide (16 pages)
- X-STREAM OSCILLOSCOPES Remote Control (305 pages)
- WS-GPIB (12 pages)
- PXA125 (219 pages)
- PXD Series (42 pages)
- PXD222 (38 pages)
- Oscilloscope System Recovery (8 pages)
- LabMaster 9Zi-A (264 pages)
- LabMaster 10Zi Rackmount (8 pages)
- LabMaster 10Zi Getting Started Manual (236 pages)
- LabMaster 10Zi Operators Manual (198 pages)
- WaveAce 1000_2000 (108 pages)
- WaveAce 1000_2000 Remote Control (92 pages)
- WaveRunner Xi-A Quick Reference Guide (16 pages)
- WaveRunner XI SERIES Operator’s Manual (233 pages)
- WaveMaster Automation Command (667 pages)
- WaveMaster 8 Zi_Zi-A (190 pages)
- WaveMaster 8000A (46 pages)
- WavePro 7 Zi_Zi-A (188 pages)
- WaveExpert series Automation Manual (285 pages)
- WaveExpert 9000_NRO9000_SDA100G Getting Started Manual (50 pages)
- WaveExpert 100H Operators Manual (348 pages)
- WaveRunner Automation Command (460 pages)
- WaveRunner Xi-A Getting Started Manual (128 pages)
- WaveRunner 6 Zi and 12-Bit HRO Getting Started Manual (198 pages)
- WaveRunner 6 Zi Quick Reference Guide (20 pages)
- WaveRunner 6 Zi-ExtRef-IN_OUT (2 pages)
- WaveSurfer Automation Command (226 pages)
- HDO 4000 Getting Started Guide (48 pages)
- HDO Removable Hard Drive (2 pages)