蓝牙5.0 stack
打烂碗。
蓝牙开发工程师一枚,C/C++/BLE/SIG mesh
展开
-
Bluetooth core 5.0 ---------- 通用访问配置文件(generic access profile)
蓝牙系统定义了一个所有蓝牙设备都实现的 base profile(基本配置文件)。这个 profile 是 Generic Access Profile (GAP),它定义了蓝牙设备的基本需求。例如: 对于 BR/EDR,它定义了一个蓝牙设备,包括 Radio(无线电)、Baseband(基带)、Link Manager(链路管理器)、L2CAP 和 service di...翻译 2019-03-16 13:23:15 · 1270 阅读 · 0 评论 -
Bluetooth core 5.0 ---------- profile 的层次结构(profile hierarchy)
由于所有蓝牙设备都需要实现GAP,所以蓝牙设备实现的任何附加配置文件都成为GAP的超集。根据 application 的复杂性或在多个 application 之间重用蓝牙系统功能的公共需求的能力,可以创建额外的 generic profiles(通用概要文件),这些 profile 既是GAP 的超集,也是另一个 profile 的超集。 描述 application ...翻译 2019-03-17 12:02:08 · 542 阅读 · 0 评论 -
Bluetooth core 5.0 ---------- 通用属性 profile (GATT generic attribute profile)
Generic Attribute Profile (GATT)建立在 Attribute Protocol(属性协议(ATT))的基础上,为 Attribute Protocol(属性协议)传输和存储的数据建立 common operations and a framework(通用操作和框架)。GATT 定义了两个角色:Server(服务器)和 Client(客户端)。GATT 的...翻译 2019-03-17 12:39:41 · 538 阅读 · 0 评论 -
Bluetooth core 5.0 ---------- GATT-based profile hierarchy(GATT-BASED概要文件层次结构)
GATT Profile 指定了交换 profile data(概要文件数据)的结构。这个结构定义了 profile 中使用的 basic elements(基本元素),如 services(服务)和 characteristics(特征)。 该层次结构的顶层是一个 profile(概要文件)。profile 由满足 use case(用例)所需的一个或多个 servic...翻译 2019-03-17 17:42:36 · 508 阅读 · 0 评论 -
Bluetooth core 5.0 Generic Access Profile ---------- 用户界面方面(user interface aspects)
3.1、用户界面级别 在本规范的上下文中,user interface level(用户界面级别)是指蓝牙设备的用户遇到蓝牙 terminology(术语)和 parameters(参数)的名称、值和数字表示的位置(如 displays(显示)、dialog boxes(对话框)、manuals(手册)、packaging(包装)、advertising(广告)等)。 ...翻译 2019-04-04 12:16:39 · 572 阅读 · 0 评论 -
Bluetooth core 5.0 Generic Access Profile ---------- 简介(introduction)
此 profile 定义了与发现蓝牙设备相关的通用过程( idle mode procedures(空闲模式过程))和连接到蓝牙设备的 link management(链接管理)方面( connecting mode procedures(连接模式过程))。它还定义了与使用不同安全级别相关的过程。此外,该 profile 还包含 user interface level(用户界面级)可...翻译 2019-03-23 19:41:35 · 649 阅读 · 0 评论 -
Bluetooth core 5.0 ---------- 缩略语和缩写词列表(蓝牙专业术语)
缩略词或缩写 全写 评论 8DPSK 8 phase Differential Phase Shift Keying(8相位差相移键控) 采用3mb /s调制方式提高数据速率 A A2MP AMP Manager Protocol AAD 额外的真实数据(Addit...翻译 2019-03-31 13:03:35 · 3015 阅读 · 0 评论 -
Bluetooth core 5.0 Generic Access Profile ---------- Profile 概述
2.1、Profile Stack本简介的目的是:1、Profile roles2、Discoverability modes and procedures(可发现模式和过程)3、Connection modes and procedures(连接方式和过程)4、Security modes and procedures(安全模式和过程)2.2、Profile role...翻译 2019-03-27 20:59:30 · 852 阅读 · 0 评论 -
Bluetooth core 5.0 Generic Access Profile ---------- 模式 - BR/EDR 物理传输(physical transport)
4.1、可发现性模式(discoverability modes) 关于 inquiry(查询),蓝牙设备应处于 non-discoverablemode(不可发现模式)或 discoverable mode(可发现模式)。(设备每次应处于一种且只有一种 discoverability mode(可发现模式)。)这里定义的两种可发现模式称为 limited discoverab...翻译 2019-04-09 20:49:53 · 1487 阅读 · 0 评论 -
Bluetooth core 5.0 ---------- 蓝牙配置文件(bluetooth profiles)
蓝牙系统中的应用互操作性是通过 Bluetooth profiles(蓝牙配置文件)来实现的。Bluetooth profiles定义了蓝牙系统中从物理层到L2CAP的每一层所需的功能和特性,以及核心规范之外的任何其他协议。Bluetooth profiles 定义了层之间的 vertical interactions(垂直交互)以及设备之间特定层的 peer-to-peer int...翻译 2019-03-10 23:42:04 · 2654 阅读 · 0 评论 -
Bluetooth core 5.0 ---------- AMP security(AMP 安全)
AMP security 不会改变用户体验,因为它使用了与蓝牙2.1+ EDR核心规范中引入的相同的 Secure Simple Pairing association models(安全简单配对关联模型)。从用户的角度来看,所有的 radios(无线电)在一个进程中都是“ paired(成对)”的。 AMP security在 Secure Simple Pairin...翻译 2019-03-09 22:49:21 · 300 阅读 · 0 评论 -
Bluetooth core 5.0 ---------- LE 安全(LE security)
蓝牙Core Specification v4.0中引入的配对机制(称为LE Legacy Pairing))在安全性方面与BR/EDR安全特性(如 Secure Simple Pairing)有所不同。从用户的角度来看,association models(关联模型)类似于BR/EDR Secure Simple Pairing,具有相同的名称,但提供的保护质量有所不同。1、As...翻译 2019-02-24 13:03:36 · 1942 阅读 · 0 评论 -
Bluetooth core ------- BR/EDR/LE控制器架构模块(BR/EDR/LE Controller Architectural Blocks)
BR/EDR/LE控制器架构模块(BR/EDR/LE Controller Architectural Blocks) 在合并BR/EDR和LE系统的实现中,体系结构模块可以在系统之间共享,或者每个系统都有自己的模块实例化。1、设备管理器(device manager) 设备管理器是基带中控制蓝牙设备的一般行为的功能块。负责蓝牙系统中与数据传输没有直接关系的所...原创 2019-01-05 22:15:37 · 1689 阅读 · 0 评论 -
Bluetooth core 5.0 --------- 微微网拓扑结构(piconet topology)
微微网拓扑结构(piconet topology)1、BR/EDR 拓扑结构(BR/EDR Topology) 任何时候使用BR/EDR控制器创建链接时,它都在piconet上下文中。微微网由两个或多个设备组成,它们占用相同的BR/EDR物理通道。 连接的BR/EDR设备通过与公共时钟和跳变序列同步,在同一物理通道上进行通信。公共(piconet)时钟与picon...翻译 2019-01-06 22:25:58 · 4100 阅读 · 0 评论 -
Bluetooth core 5.0 ------- 主机架构模块(Host Architectural Blocks)
1、主机架构块(Host Architectural Blocks)1.1、通道管理(channel manager) 通道管理器负责创建、管理和关闭用于传输服务协议和应用程序数据流的L2CAP通道。通道管理器使用L2CAP协议与远程(对等)设备上的通道管理器交互,以创建这些L2CAP通道并将其端点连接到适当的实体。通道管理器与本地链路管理器或AMP PAL交互,以创建新的逻...翻译 2019-01-02 17:19:29 · 662 阅读 · 0 评论 -
Bluetooth core ---------- BR/EDR 的运作程序及模式
蓝牙设备的典型操作模式是连接到其他蓝牙设备(在piconet中),并与这些蓝牙设备交换数据。由于蓝牙是一种特殊的无线通信技术,因此有许多操作过程可以形成piconet,以便进行后续通信。运作程序和模式被应用于蓝牙体系结构的不同层,因此设备可以同时进行一系列的操作和模式。1、BR/EDR的运作流程1.1、查询(发现)的过程(Inquiry (Discovering) Proced...原创 2019-01-14 23:49:50 · 1015 阅读 · 0 评论 -
Bluetooth core ---------- LE 的运作程序及模式
1、设备筛选过程(Device Filtering Procedure) 设备筛选过程是Controllers减少需要通信响应的设备数量的一种方法。由于它不需要响应每个设备的请求,因此它减少了LE Controller所需的传输次数,从而降低了功耗。它还减少了Controller与主机(Host)之间的通信。这将导致额外的电能节省,因为不需要涉及 Host 。 adve...原创 2019-02-06 18:19:21 · 1159 阅读 · 0 评论 -
Bluetooth core 5.0 ---------- AMP 的运作程序及模式
Alternate MAC/PHYs (AMP)是蓝牙核心系统的次要控制器(secondary Controllers)。1、AMP Discovery Procedures AMP Manager 负责发现 local AMP Controller(s),并随着时间的推移维护该列表,因为AMPs 可以动态地从系统中添加或删除。local AMP Ma...翻译 2019-02-06 18:35:55 · 1401 阅读 · 0 评论 -
Bluetooth core 5.0 ---------- 安全体系结构(security architecture)
蓝牙安全模型包括5个不同的安全特性:配对(pairing)、绑定(bonding)、设备身份验证(device authentication)、加密(encryption)和消息完整性(message integrity)。 pairing:创建一个或多个共享密钥(shared secret keys)的过程; bonding:存储在配对过程中创建的 keys,以便在后...翻译 2019-02-08 20:57:59 · 826 阅读 · 0 评论 -
Bluetooth core 5.0 ---------- BR/EDR 安全简单配对(BR/EDR secure simple pairing)
Secure Simple Pairing(安全简单配对)的主要目标是为用户简化配对过程。次要目标是维护或提高蓝牙无线技术的安全性。由于在许多技术和产品中,高水平的安全性和易用性常常处于截然相反的两端,因此从最终用户的角度来看,在最大限度地提高安全性的同时尽量减少复杂性的问题上,人们付出了很大的努力。1、Security Goals(安全目标) Secure Si...翻译 2019-02-10 00:06:30 · 4068 阅读 · 0 评论 -
Bluetooth core 5.0 ---------- 仅安全连接模式(secure connection only mode)
当设备要求 BR/EDR 物理传输只使用 FIPS-approved (fips批准)的算法时,它应该在 BR/EDR 物理传输上进入 Secure Connections Only Mode(仅安全连接模式)。Secure Connections Only Mode有时被称为“ FIPS Mode ”。当设备具有高安全性比与不支持安全连接的设备保持向后兼容性更重要时,应该使用这种...翻译 2019-02-11 16:38:51 · 1472 阅读 · 0 评论 -
何为蓝牙?
蓝牙(Bluetooth):是一种无线技术标准,可实现固定设备、移动设备和楼宇个人域网之间的短距离数据交换(使用2.4—2.485Ghz的ISM波段的UHF无线电波)。蓝牙技术最初由电信巨头爱立信公司于1994年创制,当时是作为RS232数据线的替代方案。蓝牙可连接多个设备,克服了数据同步的难题。 如今蓝牙由蓝牙技术联盟(Bluetooth Special Int...转载 2018-12-23 21:57:17 · 2559 阅读 · 0 评论