bluez/tools/bccmd.8

131 lines
2.6 KiB
Groff
Raw Normal View History

2006-06-26 20:20:54 +08:00
.TH BCCMD 8 "Jun 20 2006" BlueZ "Linux System Administration"
2005-09-30 21:05:09 +08:00
.SH NAME
bccmd \- Utility for the CSR BCCMD interface
.SH SYNOPSIS
.B bccmd
.br
2005-12-07 04:52:03 +08:00
.B bccmd [-t <transport>] [-d <device>] <command> [<args>]
.br
.B bccmd [-h --help]
2005-09-30 21:05:09 +08:00
.br
.SH DESCRIPTION
.B
bccmd
issues BlueCore commands to
.B
Cambridge Silicon Radio
2005-12-07 04:52:03 +08:00
devices. If run without the <command> argument, a short help page will be displayed.
2005-09-30 21:05:09 +08:00
.SH OPTIONS
.TP
2005-12-07 04:52:03 +08:00
.BI -t\ <transport>
Specify the communication transport. Valid options are:
.RS
.TP
.BI HCI
Local device with Host Controller Interface (default).
.TP
.BI USB
Direct USB connection.
.TP
.BI BCSP
Blue Core Serial Protocol.
.TP
.BI H4
H4 serial protocol.
.TP
.BI 3WIRE
3WIRE protocol (not implemented).
.SH
.TP
.BI -d\ <dev>
Specify a particular device to operate on. If not specified, default is the first available HCI device
or /dev/ttyS0 for serial transports.
2005-09-30 21:05:09 +08:00
.SH COMMANDS
.TP
.BI builddef
Get build definitions
.TP
2005-09-30 21:05:09 +08:00
.BI keylen\ <handle>
Get current crypt key length
.TP
.BI clock
Get local Bluetooth clock
.TP
.BI rand
Get random number
.TP
.BI chiprev
Get chip revision
.TP
2005-12-07 04:52:03 +08:00
.BI buildname
Get the full build name
.TP
2005-09-30 21:05:09 +08:00
.BI panicarg
Get panic code argument
.TP
.BI faultarg
Get fault code argument
.TP
.BI coldreset
Perform cold reset
.TP
.BI warmreset
Perform warm reset
.TP
.BI disabletx
Disable TX on the device
.TP
.BI enabletx
Enable TX on the device
2005-12-07 04:52:03 +08:00
.TP
.BI singlechan\ <channel>
Lock radio on specific channel
.TP
.BI hoppingon
Revert to channel hopping
.TP
2006-02-01 02:15:07 +08:00
.BI rttxdata1\ <decimal\ freq\ MHz>\ <level>
TXData1 radio test
.TP
2007-07-14 21:24:26 +08:00
.BI radiotest\ <decimal\ freq\ MHz>\ <level>\ <id>
Run radio tests, tests 4, 6 and 7 are transmit tests
.TP
2005-12-07 04:52:03 +08:00
.BI memtypes
Get memory types
.TP
2006-06-26 20:20:54 +08:00
.BI psget\ [-r]\ [-s\ <stores>]\ <key>
Get value for PS key.
-r sends a warm reset afterwards
2005-12-07 04:52:03 +08:00
.TP
2006-06-26 20:20:54 +08:00
.BI psset\ [-r]\ [-s\ <stores>]\ <key>\ <value>
Set value for PS key.
-r sends a warm reset afterwards
2005-12-07 04:52:03 +08:00
.TP
2006-06-26 20:20:54 +08:00
.BI psclr\ [-r]\ [-s\ <stores>]\ <key>
Clear value for PS key.
-r sends a warm reset afterwards
2005-12-07 04:52:03 +08:00
.TP
2006-06-26 20:20:54 +08:00
.BI pslist\ [-r]\ [-s\ <stores>]
List all PS keys.
-r sends a warm reset afterwards
2005-12-07 04:52:03 +08:00
.TP
2006-06-26 20:20:54 +08:00
.BI psread\ [-r]\ [-s\ <stores>]
Read all PS keys.
-r sends a warm reset afterwards
2005-12-07 04:52:03 +08:00
.TP
2006-06-26 20:20:54 +08:00
.BI psload\ [-r]\ [-s\ <stores>]\ <file>
Load all PS keys from PSR file.
-r sends a warm reset afterwards
2005-12-07 04:52:03 +08:00
.TP
2006-06-26 20:20:54 +08:00
.BI pscheck\ [-r]\ [-s\ <stores>]\ <file>
Check syntax of PSR file.
-r sends a warm reset afterwards
2005-12-07 04:52:03 +08:00
.SH KEYS
bdaddr country devclass keymin keymax features commands version
remver hciextn mapsco baudrate hostintf anafreq anaftrim usbvid
usbpid dfupid bootmode
2005-09-30 21:05:09 +08:00
.SH AUTHORS
Written by Marcel Holtmann <marcel@holtmann.org>,
man page by Adam Laurie <adam@algroup.co.uk>
.PP