bccmd
Issue BlueCore commands to CSR Bluetooth chips
TLDR
Get chip revision
$ bccmd chiprev
Get local Bluetooth clock$ bccmd clock
Get random number from device$ bccmd rand
Perform cold reset$ bccmd coldreset
Perform warm reset$ bccmd warmreset
Get PS key value$ bccmd psget [key]
Set PS key value$ bccmd psset [key] [value]
Use specific transport$ bccmd -t [HCI|USB|BCSP|H4] [command]
SYNOPSIS
bccmd [-t transport] [-d device] command [args]
DESCRIPTION
bccmd is a utility for the CSR BCCMD interface that issues BlueCore commands to Cambridge Silicon Radio (CSR) Bluetooth devices. It allows direct control of Bluetooth chipset parameters and persistent store values.
The tool is part of the BlueZ Bluetooth stack and provides low-level access to CSR-based Bluetooth controllers.
PARAMETERS
-t transport
Transport type: HCI (default), USB, BCSP, H4, 3WIRE-d device
Device to use (default: first HCI device or /dev/ttyS0 for serial)-h, --help
Display help information
COMMANDS
builddef
Get build definitionsbuildname
Get build name stringchiprev
Get chip revisionclock
Get local Bluetooth clockrand
Get random numberkeylen handle
Get current crypt key lengthcoldreset
Perform cold resetwarmreset
Perform warm resetdisabletx
Disable transmitterenabletx
Enable transmittersinglechan channel
Lock to single channelpsget key
Get PS key valuepsset key value
Set PS key valuepsclear key
Clear PS keypslist
List all PS keyspsload file
Load PS keys from PSR file
CAVEATS
Only works with CSR-based Bluetooth chipsets. Modifying PS keys can alter device behavior including Bluetooth address. Some commands require specific transport connections. Changing device settings may void warranty.
SEE ALSO
hciconfig(1), hcitool(1), bluetoothctl(1)
