Affix - End User Manual: Affix (v. 3.0.0) - Open Source Bluetooth Protocol Stack for Linux | ||
---|---|---|
Prev |
For client socket:
btsocket [--l2cap] [--tty] [ -2hbcfqrvw ] [-i <name>] [ -p command ] bda <port | service>
For server socket:
btsocket [--l2cap] [--tty] [ -2hbcfqrvw ] [-i <name>] [ -p command ] -s [ -l ] port 1.
Used internally by Affix utilities. Creates a client or a server socket.
Parameters:
-t Bind socket to tty (RFCOMM).
-2 Bind socket toL2CAP protocol. Use L2CAP to transmit datagrams.
-h Print usage and exit.
-f If set server forks on new connection.
-c If set sends carriage return after each buffer sent.
-w Socket is write only.
-p <command> Pipe data to this command.
-q Quit when the remote peer closes the connection.
-r Socket is read only.
-s Create a server socket.
-v Verbose mode.
-l Server remains in a loop.
-b Run yourself on background.
-W Wait forever although the connection was refused.