2020-07-31 00:44:58 +08:00
|
|
|
|
# raspberrypi-bluetooth
|
|
|
|
|
|
|
|
|
|
|
|
#### 介绍
|
2020-08-01 18:48:59 +08:00
|
|
|
|
|
|
|
|
|
|
Raspberry Pi 的蓝牙相关服务组件,用于树莓派开机时加载 BCM43430A1 固件。文件来自于 Raspberry Pi 社区的上游仓库:
|
|
|
|
|
|
|
|
|
|
|
|
- https://github.com/RPi-Distro/pi-bluetooth
|
2020-07-31 00:44:58 +08:00
|
|
|
|
|
|
|
|
|
|
#### 软件架构
|
|
|
|
|
|
|
2020-08-01 18:48:59 +08:00
|
|
|
|
AArch64
|
2020-07-31 00:44:58 +08:00
|
|
|
|
|
|
|
|
|
|
#### 安装教程
|
|
|
|
|
|
|
2020-08-01 18:48:59 +08:00
|
|
|
|
`dnf install raspberrypi-bluetooth`
|
2020-07-31 00:44:58 +08:00
|
|
|
|
|
|
|
|
|
|
#### 使用说明
|
|
|
|
|
|
|
2020-08-01 18:48:59 +08:00
|
|
|
|
安装 raspberrypi-bluetooth 后,
|
|
|
|
|
|
|
|
|
|
|
|
1. 启动蓝牙服务(hciuart 服务)用于加载相关固件:`systemctl status hciuart`。
|
|
|
|
|
|
|
|
|
|
|
|
2. 查看该服务的运行状态:`systemctl status hciuart`。
|
|
|
|
|
|
|
|
|
|
|
|
3. 如果该服务启动失败,重启该服务:`systemctl restart hciuart`。
|
|
|
|
|
|
|
|
|
|
|
|
4. 查看蓝牙设备的名称和基本信息:`hciconfig`。
|
|
|
|
|
|
|
|
|
|
|
|
5. 设置该服务开机启动:`systemctl enable hciuart`。
|
2020-07-31 00:44:58 +08:00
|
|
|
|
|
|
|
|
|
|
#### 参与贡献
|
|
|
|
|
|
|
|
|
|
|
|
1. Fork 本仓库
|
|
|
|
|
|
2. 新建 Feat_xxx 分支
|
|
|
|
|
|
3. 提交代码
|
|
|
|
|
|
4. 新建 Pull Request
|