07 2024 档案

摘要:配置成功的前提是芯片和驱动程序都要支持 ieee80211n 是 WIFI4 ieee80211ac 是 WIFI5 ieee80211ax 是 WIFI6 配置 ax 5G 80M带宽,需要查阅 wifi6 协议 <<IEEE Std 802.11ax>> b模式:2.4G 20MHz # 接口和 阅读全文
posted @ 2024-07-31 15:06 流水灯 阅读(740) 评论(2) 推荐(0) 编辑
摘要:参考资料 Rockchip_Developer_Guide_Linux_Recovery_CN.pdf 使用电脑上位机更新固件 uboot 运行过程,会判断 boot mode 是 normal 还是 loader,如果是 normal 则正常加载 kernel 运行,如果是 loader,则等待从 阅读全文
posted @ 2024-07-26 18:50 流水灯 阅读(125) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/weixin_45842280/article/details/137029583 https://blog.csdn.net/u013490997/article/details/140348115 阅读全文
posted @ 2024-07-26 12:06 流水灯 阅读(19) 评论(0) 推荐(0) 编辑
摘要:UBIFS(Unsorted Block Image File System)无序区块镜像文件系统是用于固态存储设备上,UBIFS在设计与性能上均较YAFFS2、JFFS2更适合MLC(Multi-Level Cell) NAND FLASH。例如:UBIFS支持凑数(write-back), 其写 阅读全文
posted @ 2024-07-25 12:05 流水灯 阅读(239) 评论(0) 推荐(0) 编辑
摘要:buildroot 修改 minmum I/O unit size:页大小,单位字节,flash 以页为单位进行读写,0x800为2048 physical eraseblock size:块大小,flash 以块为单位进行擦除,0x20000为128KB sub-page size:并不是所有 n 阅读全文
posted @ 2024-07-25 09:41 流水灯 阅读(113) 评论(0) 推荐(0) 编辑
摘要:.stamp_configured, 此文件表示已经配置过 .stamp_downloaded, 此文件表示源码已经下载过,没有此文件会重新下载 .stamp_patched, 此文件表示已经打过补丁 .stamp_extracted 此文件表示已经解压过 .stamp_built 此文件表示源码已 阅读全文
posted @ 2024-07-24 15:37 流水灯 阅读(128) 评论(0) 推荐(0) 编辑
摘要:简介 grep(global search regular expression(RE) and print out the line,全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。用于过滤/搜索特定字符。使用正则表达式能配合多种命令使 阅读全文
posted @ 2024-07-24 10:19 流水灯 阅读(16) 评论(0) 推荐(0) 编辑
摘要:主循环是事件驱动编程的核心概念,广泛应用于图形用户界面(GUI)和其他需要持续处理事件的应用中。它的主要作用是不断地检查和处理事件,如用户输入、网络数据、定时器等。 在一个典型的主循环中,应用程序会做以下工作: 检查是否有任何事件发生(如鼠标点击、键盘输入)。 处理这些事件并执行相应的回调函数。 如 阅读全文
posted @ 2024-07-22 20:23 流水灯 阅读(62) 评论(0) 推荐(0) 编辑
摘要:监听添加新对象的信号 objectManager = g_dbus_proxy_new_sync(conn, G_DBUS_PROXY_FLAGS_NONE, NULL, "org.bluez", "/", "org.freedesktop.DBus.ObjectManager", NULL, &e 阅读全文
posted @ 2024-07-22 14:23 流水灯 阅读(58) 评论(0) 推荐(0) 编辑
摘要:遍历数组 g_variant_iter_next (GVariantIter, "{sa{sv}}", &gchar, &GVariantIter) g_variant_iter_next (GVariantIter, "{sv}", &gchar, &GVariant) g_variant_ite 阅读全文
posted @ 2024-07-17 18:31 流水灯 阅读(121) 评论(0) 推荐(0) 编辑
摘要:问题: $ git commit hint: Waiting for your editor to close the file... D:\Program Files\Git\usr\bin\vi: line 3: exec: vim: not found $ git commit hint: W 阅读全文
posted @ 2024-07-17 17:27 流水灯 阅读(189) 评论(0) 推荐(0) 编辑
摘要:创建数组 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 流水灯 阅读(59) 评论(0) 推荐(0) 编辑
摘要:GVariant Format Strings 类型字符串实例分析 (sa{sv}as) 外层是元组类型,内含三个成员,分别是 字符串s 字典类型数组a{sv},字符串作为key,variant作为value 字符串类型数组as (i@ii) 外层是元组类型,内含三个成员,分别是 gint类型数字类 阅读全文
posted @ 2024-07-16 10:54 流水灯 阅读(72) 评论(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 流水灯 阅读(486) 评论(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 流水灯 阅读(176) 评论(0) 推荐(0) 编辑
摘要:如上图,编辑框差异对比太花哨,可关闭 阅读全文
posted @ 2024-07-15 16:21 流水灯 阅读(31) 评论(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 流水灯 阅读(149) 评论(0) 推荐(0) 编辑
摘要:查看支持的命令 bluetoothctl -h 进入 bluetooth 环境后输命令不需再加bluetoothctl 查看是否有蓝牙设备 bluetoothctl list // 相当于 hciconfig -a 启动蓝牙设备 bluetoothctl power on // 相当于 hcicon 阅读全文
posted @ 2024-07-12 10:21 流水灯 阅读(322) 评论(0) 推荐(0) 编辑
摘要:添加环境变量: HISTCONTROL=ignoredups # 忽略重复的命令,连续相同的为"重复" HISTCONTROL=ignorespace # 忽略以空格开头的命令 HISTCONTROL=ignoreboth # 同时应用上述两项规则 阅读全文
posted @ 2024-07-12 09:58 流水灯 阅读(6) 评论(0) 推荐(0) 编辑
摘要:buildroot/output/latest/build/packages-file-list.txt 阅读全文
posted @ 2024-07-11 18:34 流水灯 阅读(8) 评论(0) 推荐(0) 编辑
摘要:守护进程 bluetoothd 使用的存储路径 文档说明:doc/settings-storage.txt 默认是 /var/lib/bluetooth,如果此路径是只读,需要修改路径或软连接到可读可写文件夹 守护进程 bluetoothd 使用的配置路径 -f, --configfile Spec 阅读全文
posted @ 2024-07-11 17:21 流水灯 阅读(81) 评论(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 流水灯 阅读(104) 评论(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 流水灯 阅读(257) 评论(0) 推荐(0) 编辑
摘要:bluez 资料 官网:https://www.bluez.org/ bluez 代码分为内核代码和用户空间代码 用户空间代码编译生成 bluetoothd 和 bluetoothctl 等进程,官网显示的 SDK 版本比较老,可到 https://mirrors.edge.kernel.org/p 阅读全文
posted @ 2024-07-06 18:54 流水灯 阅读(260) 评论(0) 推荐(0) 编辑
摘要:hostapd 简介 它允许将计算机或设备转换为独立的无线接入点,使用户可以连接到该接入点并与局域网中的其他设备进行通信。 hostapd的主要功能包括: 1.网络身份验证:hostapd支持各种网络身份验证方法,如预共享密钥(PSK)、扩展认证协议(EAP)等。这些方法可用于验证连接到无线接入点的 阅读全文
posted @ 2024-07-04 21:20 流水灯 阅读(1035) 评论(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 流水灯 阅读(250) 评论(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 流水灯 阅读(149) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示