aosp13

奔跑吧 android7 小时前
android·bluetooth·bt·aosp13·hcicmd·bt5.3
【android bluetooth 协议分析 01】【HCI 层介绍 9】【ReadLocalSupportedCommands命令介绍】HCI_Read_Local_Supported_Commands 是 HCI 层中非常重要的查询命令。它允许 Host(如 Android 系统中的 Bluetooth stack)获取 Controller(蓝牙芯片)支持的 所有 HCI 命令 列表。
奔跑吧 android3 天前
android·bluetooth·hci·bt·gd·aosp13
【android bluetooth 协议分析 01】【HCI 层介绍 3】【NUMBER_OF_COMPLETED_PACKETS 事件介绍】我们在介绍 【android bluetooth 框架分析 02】【Module详解 8】【Controller 模块介绍】 中介绍 Controller 模块初始化流程时,在 Controller::impl::Start 函数中会看到 我们对 NUMBER_OF_COMPLETED_PACKETS 事件做了 专门的监听:
奔跑吧 android3 天前
android·bluetooth·bt·gd·aosp13·writelehostsup·hcicmd
【android bluetooth 协议分析 01】【HCI 层介绍 6】【WriteLeHostSupport命令介绍】HCI 指令 HCI_Write_LE_Host_Support 是 Bluetooth Host 向 Controller 发送的一条指令,用于启用或禁用主机对 Bluetooth Low Energy(LE)的支持能力。该指令属于 HCI(Host Controller Interface)命令集合中,规范位置为 Core Spec v5.x,Vol 2, Part E, Section 7.3.79。
奔跑吧 android5 天前
android·bluetooth·bt·aosp13·storagemodule
【android bluetooth 框架分析 02】【Module详解 6】【StorageModule 模块介绍】我们在 gd_shim_module 介绍章节中,看到 我们将 StorageModule 模块加入到了 modules 中。
奔跑吧 android22 天前
android·bluetooth·l2cap·gd·aosp13
【android bluetooth 协议分析 06】【l2cap详解 11】【l2cap连接超时处理逻辑介绍】我们在使用蓝牙的过程中, 当上层 应用 断开所有的 profile 后, 协议栈就会帮我们下发 disconnect 命令。本节就让笨叔, 带大家一起梳理这块内容,具体在协议栈如何处理的。
奔跑吧 android1 个月前
android·bluetooth·bt·aosp13·btaa
【android bluetooth 框架分析 02】【Module详解 4】【Btaa 模块介绍】我们在上一篇文章中介绍 HciHal 模块时,有如下代码我们先回忆一下 模块加载的流程:在 ModuleRegistry::Start 函数中我们对 加入的所有 module 挨个初始化。 而在该函数中启动一个 module 都要执行那下面几步:
奔跑吧 android1 个月前
android·queue·bluetooth·bt·aosp13·bidiqueue·bidiqueueend
【android bluetooth 框架分析 02】【Module详解 12】【 BidiQueue、BidiQueueEnd、Queue介绍】蓝牙协议栈里面有很多 BidiQueue ,本节就专门来梳理这块内容。BidiQueue,是 Host 与 Controller 层通信的中枢之一, acl_queue_、sco_queue_、iso_queue_ 都是 BidiQueue 类型。让我们一起看一下这个结构。
奔跑吧 android1 个月前
android·bluetooth·bt·gd·aosp13·hcihal
【android bluetooth 框架分析 02】【Module详解 3】【HciHal 模块介绍】我们在 gd_shim_module 介绍章节中,看到 我们将 HciHal 模块加入到了 modules 中。
奔跑吧 android1 个月前
android·bluetooth·bt·gabeldorsche·gd·aosp13·bluedroid
【android bluetooth 协议分析 01】【HCI 层介绍 1】【hci_packets.pdl 介绍】在 AOSP 的蓝牙协议栈 (Gabeldorsche) 中,hci_packets.pdl 是一个 协议描述语言文件,用于定义 HCI (Host Controller Interface) 层的数据包结构和通信协议。以下是详细解析: