rfcommd.1 (1203B)
1 .TH RFCOMMD 1 "September 2022" 2 .SH NAME 3 rfcommd \- emulate an RFCOMM serial port over Bluetooth. 4 .SH SYNOPSIS 5 rfcommd [-dhrAESM] [-i hciX|bdaddr] [-L linger] [-c channel] [-f filter cmd] [cmd] 6 .SH DESCRIPTION 7 rfcommd is a daemon which advertises a Bluetooth Serial Port (SPP) profile. 8 When a device connects, rfcommd runs a filter script on the RFCOMM device 9 created for the connection, so that serial data from the device can be handled 10 by userspace scripts. 11 .SH OPTIONS 12 .TP 13 .B \-c channel 14 Select the RFCOMM channel to listen on. 15 .TP 16 .B \-d 17 Enable verbose logging on stderr. 18 .TP 19 .B \-h 20 Print usage. 21 .TP 22 .B \-i hciX|bdaddr 23 The local HCI device or Bluetooth address to bind. 24 .TP 25 .B \-f filter cmd 26 Match the filter when bdaddr matches the filter address. filter addrs are the 27 filter's bdaddr. Each -f adds a filter to evaluate. 28 .TP 29 .B \-L linger 30 Set SO_LINGER on the accepted connection. 31 .TP 32 .B \-r 33 Open in raw mode (the rfcomm device in raw mode). 34 .TP 35 .B \-A 36 Require authentication. 37 .TP 38 .B \-E 39 Require encryption. 40 .TP 41 .B \-S 42 Require security. 43 .TP 44 .B \-M 45 Become master. 46 .TP 47 .B [cmd] 48 Run the default command for unfiltered connections. 49 .SH SEE ALSO 50 .B lpr (1), 51 .B stty (1), 52 .B socat (1), 53 .B bluetoothd (8)