上一页 1 2 3 4 5 6 7 8 ··· 99 下一页
摘要: 官方资料:https://www.freedesktop.org/wiki/Software/dbus/ dbus 源码库(https://gitlab.freedesktop.org/dbus/dbus),libdbus 是 dbus 库的一部分,libdbus 是 low-level API,下 阅读全文
posted @ 2024-07-16 10:28 流水灯 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 如上图,编辑框差异对比太花哨,可关闭 阅读全文
posted @ 2024-07-15 16:21 流水灯 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 蓝牙bluez对应的服务是 org.bluez org.bluez.Adapter1 服务:org.bluez 对象:/org/bluez/hci0 功能 启动扫描蓝牙设备(方法:StartDiscovery) 移除指定地址的远端蓝牙缓存信息,移除后才能重新触发 InterfacesAdded 信号 阅读全文
posted @ 2024-07-14 19:53 流水灯 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 查看支持的命令 bluetoothctl -h 进入 bluetooth 环境后输命令不需再加bluetoothctl 查看控制器信息 bluetoothctl show 可查看 MAC 地址、是否广播、广播的设备名、是否扫描设备等 扫描附近广播的蓝牙设备 bluetoothctl scan on 阅读全文
posted @ 2024-07-12 10:21 流水灯 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 添加环境变量: HISTCONTROL=ignoredups # 忽略重复的命令,连续相同的为"重复" HISTCONTROL=ignorespace # 忽略以空格开头的命令 HISTCONTROL=ignoreboth # 同时应用上述两项规则 阅读全文
posted @ 2024-07-12 09:58 流水灯 阅读(1) 评论(0) 推荐(0) 编辑
摘要: buildroot/output/latest/build/packages-file-list.txt 阅读全文
posted @ 2024-07-11 18:34 流水灯 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 守护进程 bluetoothd 使用的存储路径 文档说明:doc/settings-storage.txt 默认是 /var/lib/bluetooth,如果此路径是只读,需要修改路径或软连接到可读可写文件夹 守护进程 bluetoothd 使用的配置路径 -f, --configfile Spec 阅读全文
posted @ 2024-07-11 17:21 流水灯 阅读(5) 评论(0) 推荐(0) 编辑
摘要: GDBus 是 Gio 的一部分,Gio 是 glib 库的一部分(注意不是 glibc),GDBus 是实现 dbus 通信的C 语言版本的 high-level API。通过 dbus 通信方式和 bluz 的守护进程通信进而控制蓝牙的行为。 Gio 的说明文档:https://docs.gtk 阅读全文
posted @ 2024-07-09 19:45 流水灯 阅读(8) 评论(0) 推荐(0) 编辑
摘要: Failed to open connection to "session" message bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRE 阅读全文
posted @ 2024-07-08 16:41 流水灯 阅读(33) 评论(0) 推荐(0) 编辑
摘要: bluez 资料 官网:https://www.bluez.org/ 官网显示的 SDK 版本比较老,SDK 可到 https://mirrors.edge.kernel.org/pub/linux/bluetooth/ 下载最新版本 注意时间,截图时最新版本是5.77,5.8和5.9的时间很早,应 阅读全文
posted @ 2024-07-06 18:54 流水灯 阅读(40) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 99 下一页