tizen 2.3.1 release
[framework/connectivity/bluez.git] / tools / bccmd.1
1 .TH BCCMD 1 "Jun 20 2006" BlueZ "Linux System Administration"
2 .SH NAME
3 bccmd \- Utility for the CSR BCCMD interface
4 .SH SYNOPSIS
5 .B bccmd
6 .br
7 .B bccmd [-t <transport>] [-d <device>] <command> [<args>]
8 .br
9 .B bccmd [-h --help]
10 .br
11 .SH DESCRIPTION
12 .B
13 bccmd
14 issues BlueCore commands to
15 .B
16 Cambridge Silicon Radio
17 devices. If run without the <command> argument, a short help page will be displayed.
18 .SH OPTIONS
19 .TP
20 .BI -t\ <transport>
21 Specify the communication transport. Valid options are:
22 .RS
23 .TP
24 .BI HCI
25 Local device with Host Controller Interface (default).
26 .TP
27 .BI USB
28 Direct USB connection.
29 .TP
30 .BI BCSP
31 Blue Core Serial Protocol.
32 .TP
33 .BI H4
34 H4 serial protocol.
35 .TP
36 .BI 3WIRE
37 3WIRE protocol (not implemented).
38 .SH
39 .TP
40 .BI -d\ <dev>
41 Specify a particular device to operate on. If not specified, default is the first available HCI device
42 or /dev/ttyS0 for serial transports.
43 .SH COMMANDS
44 .TP
45 .BI builddef
46 Get build definitions
47 .TP
48 .BI keylen\ <handle>
49 Get current crypt key length
50 .TP
51 .BI clock
52 Get local Bluetooth clock
53 .TP
54 .BI rand
55 Get random number
56 .TP
57 .BI chiprev
58 Get chip revision
59 .TP
60 .BI buildname
61 Get the full build name
62 .TP
63 .BI panicarg
64 Get panic code argument
65 .TP
66 .BI faultarg
67 Get fault code argument
68 .TP
69 .BI coldreset
70 Perform cold reset
71 .TP
72 .BI warmreset
73 Perform warm reset
74 .TP
75 .BI disabletx
76 Disable TX on the device
77 .TP
78 .BI enabletx
79 Enable TX on the device
80 .TP
81 .BI singlechan\ <channel>
82 Lock radio on specific channel
83 .TP
84 .BI hoppingon
85 Revert to channel hopping
86 .TP
87 .BI rttxdata1\ <decimal\ freq\ MHz>\ <level>
88 TXData1 radio test
89 .TP
90 .BI radiotest\ <decimal\ freq\ MHz>\ <level>\ <id>
91 Run radio tests, tests 4, 6 and 7 are transmit tests
92 .TP
93 .BI memtypes
94 Get memory types
95 .TP
96 .BI psget\ [-r]\ [-s\ <stores>]\ <key>
97 Get value for PS key.
98 -r sends a warm reset afterwards
99 .TP
100 .BI psset\ [-r]\ [-s\ <stores>]\ <key>\ <value>
101 Set value for PS key.
102 -r sends a warm reset afterwards
103 .TP
104 .BI psclr\ [-r]\ [-s\ <stores>]\ <key>
105 Clear value for PS key.
106 -r sends a warm reset afterwards
107 .TP
108 .BI pslist\ [-r]\ [-s\ <stores>]
109 List all PS keys.
110 -r sends a warm reset afterwards
111 .TP
112 .BI psread\ [-r]\ [-s\ <stores>]
113 Read all PS keys.
114 -r sends a warm reset afterwards
115 .TP
116 .BI psload\ [-r]\ [-s\ <stores>]\ <file>
117 Load all PS keys from PSR file.
118 -r sends a warm reset afterwards
119 .TP
120 .BI pscheck\ [-r]\ [-s\ <stores>]\ <file>
121 Check syntax of PSR file.
122 -r sends a warm reset afterwards
123 .SH KEYS
124 bdaddr country devclass keymin keymax features commands version
125 remver hciextn mapsco baudrate hostintf anafreq anaftrim usbvid
126 usbpid dfupid bootmode
127 .SH AUTHORS
128 Written by Marcel Holtmann <marcel@holtmann.org>,
129 man page by Adam Laurie <adam@algroup.co.uk>
130 .PP