.TH L2TEST "1" "January 2012" .SH NAME l2test \- L2CAP testing .SH SYNOPSIS .B l2test .SH DESCRIPTION \fBl2test\fP is L2CAP testing program. .SH USAGE l2test [options] [bdaddr] Modes: \fB-r\fP listen and receive \fB-w\fP listen and send \fB-d\fP listen and dump incoming data \fB-x\fP listen, then send, then dump incoming data \fB-s\fP connect and send \fB-u\fP connect and receive \fB-n\fP connect and be silent \fB-y\fP connect, then send, then dump incoming data \fB-c\fP connect, disconnect, connect, \.\.\. \fB-m\fP multiple connects \fB-p\fP trigger dedicated bonding \fB-z\fP information request Options: [\fB-b\fP bytes] [\fB-i\fP device] [\fB-P\fP psm] [\fB-J\fP cid] [\fB-I\fP imtu] [\fB-O\fP omtu] [\fB-L\fP seconds] enable SO_LINGER [\fB-W\fP seconds] enable deferred setup [\fB-B\fP filename] use data packets from file [\fB-N\fP num] send num frames (default = infinite) [\fB-C\fP num] send num frames before delay (default = 1) [\fB-D\fP milliseconds] delay after sending num frames (default = 0) [\fB-X\fP mode] select retransmission/flow-control mode [\fB-Q\fP num] Max Transmit value (default = 3) [\fB-Z\fP size] Transmission Window size (default = 63) [\fB-F\fP fcs] use CRC16 check (default = 1) [\fB-R\fP] reliable mode [\fB-G\fP] use connectionless channel (datagram) [\fB-U\fP] use sock stream [\fB-A\fP] request authentication [\fB-E\fP] request encryption [\fB-S\fP] secure connection [\fB-M\fP] become master [\fB-T\fP] enable timestamps .SH AUTHOR This manual page was written by Nobuhiro Iwamatsu , for the Debian GNU/Linux system (but may be used by others).