summaryrefslogtreecommitdiff
path: root/tools/hciattach.8
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2010-07-12 11:38:29 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2010-07-12 11:52:27 -0300
commit6e6252937e1e77dcae13467f63b25b043ea03f63 (patch)
tree23e9a3e0190023687e85c193e1a07121149fe2e4 /tools/hciattach.8
parent1c27615cad21ab49a6c02150564a4fd080751ea8 (diff)
Add hciattach support for initializing a device into raw mode
This patch adds a -r switch to hciattach that can be used to initialize a device into raw mode. This is accomplished with the help of the new HCIUARTSETFLAGS ioctl.
Diffstat (limited to 'tools/hciattach.8')
-rw-r--r--tools/hciattach.84
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/hciattach.8 b/tools/hciattach.8
index b9ec23e91..9bd15385b 100644
--- a/tools/hciattach.8
+++ b/tools/hciattach.8
@@ -11,6 +11,7 @@ hciattach \- attach serial devices via UART HCI to BlueZ stack
.RB [\| \-s
.IR speed \|]
.RB [\| \-l \|]
+.RB [\| \-r \|]
.I tty
.IR type \||\| id
.I speed
@@ -40,6 +41,9 @@ Specify an initial speed instead of the hardware default.
.B \-l
List all available configurations.
.TP
+.B \-r
+Set the HCI device into raw mode (the kernel and bluetoothd will ignore it).
+.TP
.I tty
This specifies the serial device to attach. A leading
.B /dev