User Manual

Table Of Contents
LIST
LIST List connections
Synopsis
LIST
Description
The LIST command reports active connections and some statistics.
Reply
LIST number_of_connections
LIST link_id status type blocksize bytes_in bytes_out elapsed_time our_msc
remote_msc bdaddr channel direction powermode role crypt child_pid hcihandle
LIST link_id status type blocksize bytes_in bytes_out elapsed_time our_msc
remote_msc bdaddr channel direction powermode role crypt child_pid hcihandle
...
LIST link_id status type blocksize bytes_in bytes_out elapsed_time our_msc
remote_mscbdaddr channel direction powermode role crypt child_pid hcihandle
Reply Values
Status values are:
WAITING. The iWRAP server is waiting for someone to connect to the datasocket created
with the RFCOMM CONNECT or RING event.
CONNECTED. The data connection is up and running.
CLOSING. The datasocket has been closed, and the Bluetooth connection shutdown is in
progress.
Type is SDP, RFCOMM, PPP, PAN-PANU, PAN-GN, PAN-NAP, FORK or L2CAP.
Blocksize is the maximum transfer unit of the Bluetooth link; used for statistics only.
Bytes_in and bytes_out refer to the numbers of bytes transferred.
Elapsed_time is the number of seconds the connection has been up.
Msc is the link’s MSC value for both ends.
Bdaddr is the Bluetooth address of the connected device.
Channel is the service channel of the connection.
Direction is either OUTGOING or INCOMING.
Powermode is ACTIVE, SNIFF, PARK or HOLD.
Role is MASTER or SLAVE.
Crypt is PLAIN or ENCRYPTED.
Child_pid is the child process ID for types PPP and FORK. The PID is zero for others.
102