man-pages/man1/bccmd.1.html
2021-03-31 01:06:50 +01:00

225 lines
4.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of BCCMD</TITLE>
</HEAD><BODY>
<H1>BCCMD</H1>
Section: Linux System Administration (1)<BR>Updated: Jun 20 2006<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
bccmd - Utility for the CSR BCCMD interface
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>bccmd</B>
<BR>
<B>bccmd [-t &lt;transport&gt;] [-d &lt;device&gt;] &lt;command&gt; [&lt;args&gt;]</B>
<BR>
<B>bccmd [-h --help]</B>
<BR>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>bccmd</B>
issues BlueCore commands to
<B>Cambridge Silicon Radio</B>
devices. If run without the &lt;command&gt; argument, a short help page will be displayed.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-t&nbsp;&lt;transport&gt;</B>
<DD>
Specify the communication transport. Valid options are:
<DL COMPACT><DT id="2"><DD>
<DL COMPACT>
<DT id="3"><B>HCI</B>
<DD>
Local device with Host Controller Interface (default).
<DT id="4"><B>USB</B>
<DD>
Direct USB connection.
<DT id="5"><B>BCSP</B>
<DD>
Blue Core Serial Protocol.
<DT id="6"><B>H4</B>
<DD>
H4 serial protocol.
<DT id="7"><B>3WIRE</B>
<DD>
3WIRE protocol (not implemented).
</DL>
</DL>
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2><DT id="8"><B>-d&nbsp;&lt;dev&gt;</B>
<DD>
</H2>
Specify a particular device to operate on. If not specified, default is the first available HCI device
or /dev/ttyS0 for serial transports.
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>COMMANDS</H2>
<DL COMPACT>
<DT id="9"><B>builddef</B>
<DD>
Get build definitions
<DT id="10"><B>keylen&nbsp;&lt;handle&gt;</B>
<DD>
Get current crypt key length
<DT id="11"><B>clock</B>
<DD>
Get local Bluetooth clock
<DT id="12"><B>rand</B>
<DD>
Get random number
<DT id="13"><B>chiprev</B>
<DD>
Get chip revision
<DT id="14"><B>buildname</B>
<DD>
Get the full build name
<DT id="15"><B>panicarg</B>
<DD>
Get panic code argument
<DT id="16"><B>faultarg</B>
<DD>
Get fault code argument
<DT id="17"><B>coldreset</B>
<DD>
Perform cold reset
<DT id="18"><B>warmreset</B>
<DD>
Perform warm reset
<DT id="19"><B>disabletx</B>
<DD>
Disable TX on the device
<DT id="20"><B>enabletx</B>
<DD>
Enable TX on the device
<DT id="21"><B>singlechan&nbsp;&lt;channel&gt;</B>
<DD>
Lock radio on specific channel
<DT id="22"><B>hoppingon</B>
<DD>
Revert to channel hopping
<DT id="23"><B>rttxdata1&nbsp;&lt;decimal&nbsp;freq&nbsp;MHz&gt;&nbsp;&lt;level&gt;</B>
<DD>
TXData1 radio test
<DT id="24"><B>radiotest&nbsp;&lt;decimal&nbsp;freq&nbsp;MHz&gt;&nbsp;&lt;level&gt;&nbsp;&lt;id&gt;</B>
<DD>
Run radio tests, tests 4, 6 and 7 are transmit tests
<DT id="25"><B>memtypes</B>
<DD>
Get memory types
<DT id="26"><B>psget&nbsp;[-r]&nbsp;[-s&nbsp;&lt;stores&gt;]&nbsp;&lt;key&gt;</B>
<DD>
Get value for PS key.
-r sends a warm reset afterwards
<DT id="27"><B>psset&nbsp;[-r]&nbsp;[-s&nbsp;&lt;stores&gt;]&nbsp;&lt;key&gt;&nbsp;&lt;value&gt;</B>
<DD>
Set value for PS key.
-r sends a warm reset afterwards
<DT id="28"><B>psclr&nbsp;[-r]&nbsp;[-s&nbsp;&lt;stores&gt;]&nbsp;&lt;key&gt;</B>
<DD>
Clear value for PS key.
-r sends a warm reset afterwards
<DT id="29"><B>pslist&nbsp;[-r]&nbsp;[-s&nbsp;&lt;stores&gt;]</B>
<DD>
List all PS keys.
-r sends a warm reset afterwards
<DT id="30"><B>psread&nbsp;[-r]&nbsp;[-s&nbsp;&lt;stores&gt;]</B>
<DD>
Read all PS keys.
-r sends a warm reset afterwards
<DT id="31"><B>psload&nbsp;[-r]&nbsp;[-s&nbsp;&lt;stores&gt;]&nbsp;&lt;file&gt;</B>
<DD>
Load all PS keys from PSR file.
-r sends a warm reset afterwards
<DT id="32"><B>pscheck&nbsp;[-r]&nbsp;[-s&nbsp;&lt;stores&gt;]&nbsp;&lt;file&gt;</B>
<DD>
Check syntax of PSR file.
-r sends a warm reset afterwards
</DL>
<A NAME="lbAH">&nbsp;</A>
<H2>KEYS</H2>
bdaddr country devclass keymin keymax features commands version
remver hciextn mapsco baudrate hostintf anafreq anaftrim usbvid
usbpid dfupid bootmode
<A NAME="lbAI">&nbsp;</A>
<H2>AUTHORS</H2>
Written by Marcel Holtmann &lt;<A HREF="mailto:marcel@holtmann.org">marcel@holtmann.org</A>&gt;,
man page by Adam Laurie &lt;<A HREF="mailto:adam@algroup.co.uk">adam@algroup.co.uk</A>&gt;
<P>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="33"><A HREF="#lbAB">NAME</A><DD>
<DT id="34"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="35"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="36"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="37"><A HREF="#lbAF"><DL COMPACT>
<DT id="38"><B>-d&nbsp;&lt;dev&gt;</B>
<DD>
</A><DD>
<DT id="39"><A HREF="#lbAG">COMMANDS</A><DD>
<DT id="40"><A HREF="#lbAH">KEYS</A><DD>
<DT id="41"><A HREF="#lbAI">AUTHORS</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:07 GMT, March 31, 2021
</BODY>
</HTML>