![Telit Wireless Solutions WE866C Series User Manual Download Page 31](http://html1.mh-extra.com/html/telit-wireless-solutions/we866c-series/we866c-series_user-manual_1083753031.webp)
WE866Cx Linux Companion RF Test User Guide
1VV0301640 Rev. 1
Page
31
of
34
2020-06-03
6. APPENDIX A: BTDIAG COMMANDS
6.1.
BtDiag Command Usage
This section details the BtDiag command usage for different Hardware setups.
The
BtDiag
command requires at least 5 arguments as shown below.
•
UDT:
User defined transport.
•
PORT:
Socket port number.
•
IOTYPE:
Bluetooth interface type.
•
QdartIOType:
Interface used to connect with QDART,may be uart or ethernet.
•
BT-DEVICE:
Bluetooth device.
•
BT-BAUDRATE:
Bluetooth serial baudrate.
•
QDART-DEVICE:
QDART serial device.
•
QDART-BAUDRATE:
QDART serial baudrate.
6.2.
BtDiag Command Examples
1. BT FTM mode for serial and connect with QRCT by serial:
# ./Btdiag UDT=yes PORT=2390 IOType=SERIAL QDARTIOType=serial BT-
DEVICE=/dev/ttyUSB0 BT-BAUDRATE=115200 QDART-DEVICE=/dev/ttyUSB1
QDART-BAUDRATE=115200
2. BT FTM mode for serial and connect with QRCT by ethernet:
./Btdiag UDT=yes PORT=2390 IOType=SERIAL QDARTIOType=ethernet BT-
DEVICE=/dev/ttyUSB0 BT-BAUDRATE=115200
3. BT FTM mode for USB and connect with QDART by serial:
./Btdiag UDT=yes PORT=2390 IOType=USB QDARTIOType=serial BT-
DEVICE=hci0 QDART-DEVICE=/dev/ttyUSB0 QDART-BAUDRATE=115200
4. BT FTM mode for USB and connect with QDART by ethernet:
./Btdiag UDT=yes PORT=2390 IOType=USB QDARTIOType=ethernet BT-
DEVICE=hci0