上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 109 下一页
摘要: 添加环境变量: HISTCONTROL=ignoredups # 忽略重复的命令,连续相同的为"重复" HISTCONTROL=ignorespace # 忽略以空格开头的命令 HISTCONTROL=ignoreboth # 同时应用上述两项规则 阅读全文
posted @ 2024-07-12 09:58 流水灯 阅读(32) 评论(0) 推荐(0)
摘要: buildroot/output/latest/build/packages-file-list.txt 阅读全文
posted @ 2024-07-11 18:34 流水灯 阅读(35) 评论(0) 推荐(0)
摘要: 守护进程 bluetoothd 使用的存储路径 文档说明:doc/settings-storage.txt 默认是 /var/lib/bluetooth,如果此路径是只读,需要修改路径或软连接到可读可写文件夹 守护进程 bluetoothd 使用的配置路径 -f, --configfile Spec 阅读全文
posted @ 2024-07-11 17:21 流水灯 阅读(204) 评论(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 流水灯 阅读(284) 评论(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 流水灯 阅读(514) 评论(0) 推荐(0)
摘要: bluez 资料 官网:https://www.bluez.org/ bluez 代码分为内核代码和用户空间代码 用户空间代码编译生成 bluetoothd 和 bluetoothctl 等进程,官网显示的 SDK 版本比较老,可到 https://mirrors.edge.kernel.org/p 阅读全文
posted @ 2024-07-06 18:54 流水灯 阅读(586) 评论(0) 推荐(0)
摘要: hostapd 简介 它允许将计算机或设备转换为独立的无线接入点,使用户可以连接到该接入点并与局域网中的其他设备进行通信。 hostapd的主要功能包括: 1.网络身份验证:hostapd支持各种网络身份验证方法,如预共享密钥(PSK)、扩展认证协议(EAP)等。这些方法可用于验证连接到无线接入点的 阅读全文
posted @ 2024-07-04 21:20 流水灯 阅读(2364) 评论(0) 推荐(0)
摘要: ./include/linux/kern_levels.h:5:18: error: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'phys_addr_t' {aka 阅读全文
posted @ 2024-07-03 17:15 流水灯 阅读(369) 评论(0) 推荐(0)
摘要: #define show_log(tag, fmt, arg...) printf("[%s][%s:%d]: "fmt"\n", tag, __func__, __LINE__, ##arg)C可以编译通过,而C++编译出标题错误。 说是C++11要求,当字符串跟变量连接的时候,必须fmt前后增加 阅读全文
posted @ 2024-07-02 21:11 流水灯 阅读(254) 评论(0) 推荐(0)
摘要: 一、netlink通信机制 netlink套接字是用以实现用户进程与内核进程通信的一种特殊的进程间通信(IPC) ,也是网络应用程序与内核通信的最常用的接口。 目前,用户应用程序和内核通信的常用方式如下: 系统调用:常见的有 write、read、ioctl 等等,它需要应用程序主动向内核写入或读取 阅读全文
posted @ 2024-06-29 21:14 流水灯 阅读(1796) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 109 下一页