← 返回命令列表

Linux command

bccmd 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

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]

说明

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.

参数

-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

FAQ

What is the bccmd command used for?

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.

How do I run a basic bccmd example?

Run `bccmd chiprev` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -t _transport_ do in bccmd?

Transport type: HCI (default), USB, BCSP, H4, 3WIRE