上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 107 下一页
摘要: 创建数组 ay, a{sv} gchar data_gchar[] = {0xAA,0x00,0x00,0x00,0x01,0x00,0xFE,0x14,0x4F,0x01,0x00,0x00,0xA3,0x21}; GVariantBuilder builder_ay; g_variant_bui 阅读全文
posted @ 2024-07-16 11:08 流水灯 阅读(135) 评论(0) 推荐(0)
摘要: GVariant Format Strings 类型字符串实例分析 (sa{sv}as) 外层是元组类型,内含三个成员,分别是 字符串s 字典类型数组a{sv},字符串作为key,variant作为value 字符串类型数组as (i@ii) 外层是元组类型,内含三个成员,分别是 gint类型数字类 阅读全文
posted @ 2024-07-16 10:54 流水灯 阅读(108) 评论(0) 推荐(1)
摘要: dbus-send 功能 调用指定程序的方法 向指定程序发送信号 dbus-send的基本语法 dbus-send --system|--session --dest=destination --type=method_call --print-reply /path/to/object inter 阅读全文
posted @ 2024-07-16 10:30 流水灯 阅读(927) 评论(0) 推荐(0)
摘要: 官方资料: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 流水灯 阅读(326) 评论(0) 推荐(0)
摘要: 如上图,编辑框差异对比太花哨,可关闭 阅读全文
posted @ 2024-07-15 16:21 流水灯 阅读(57) 评论(0) 推荐(0)
摘要: 参考资料: bluz相关的接口:bluz SDK的 doc 文件夹 通用接口:https://www.freedesktop.org/wiki/Software/dbus/ org.bluez.Adapter1 服务:org.bluez 对象:/org/bluez/hci0 功能 启动扫描蓝牙设备( 阅读全文
posted @ 2024-07-14 19:53 流水灯 阅读(328) 评论(0) 推荐(0)
摘要: 查看支持的命令 bluetoothctl -h 进入 bluetooth 环境后输命令不需再加bluetoothctl 查看是否有蓝牙设备 bluetoothctl list // 相当于 hciconfig -a 启动蓝牙设备 bluetoothctl power on // 相当于 hcicon 阅读全文
posted @ 2024-07-12 10:21 流水灯 阅读(663) 评论(0) 推荐(0)
摘要: 添加环境变量: HISTCONTROL=ignoredups # 忽略重复的命令,连续相同的为"重复" HISTCONTROL=ignorespace # 忽略以空格开头的命令 HISTCONTROL=ignoreboth # 同时应用上述两项规则 阅读全文
posted @ 2024-07-12 09:58 流水灯 阅读(21) 评论(0) 推荐(0)
摘要: buildroot/output/latest/build/packages-file-list.txt 阅读全文
posted @ 2024-07-11 18:34 流水灯 阅读(20) 评论(0) 推荐(0)
摘要: 守护进程 bluetoothd 使用的存储路径 文档说明:doc/settings-storage.txt 默认是 /var/lib/bluetooth,如果此路径是只读,需要修改路径或软连接到可读可写文件夹 守护进程 bluetoothd 使用的配置路径 -f, --configfile Spec 阅读全文
posted @ 2024-07-11 17:21 流水灯 阅读(176) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 107 下一页