LinuxCommandLibrary

bccmd

Issue BlueCore commands to CSR Bluetooth chips

TLDR

Get chip revision

$ bccmd chiprev
copy
Get local Bluetooth clock
$ bccmd clock
copy
Get random number from device
$ bccmd rand
copy
Perform cold reset
$ bccmd coldreset
copy
Perform warm reset
$ bccmd warmreset
copy
Get PS key value
$ bccmd psget [key]
copy
Set PS key value
$ bccmd psset [key] [value]
copy
Use specific transport
$ bccmd -t [HCI|USB|BCSP|H4] [command]
copy

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 definitions
buildname
Get build name string
chiprev
Get chip revision
clock
Get local Bluetooth clock
rand
Get random number
keylen handle
Get current crypt key length
coldreset
Perform cold reset
warmreset
Perform warm reset
disabletx
Disable transmitter
enabletx
Enable transmitter
singlechan channel
Lock to single channel
psget key
Get PS key value
psset key value
Set PS key value
psclear key
Clear PS key
pslist
List all PS keys
psload 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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community