The mesh stack consists of a number of subsystems that are interfaced through a set of API modules. The API modules hide the complexity of their subsystems. The functionality provided in the API is sufficient to make a functioning mesh device, so that there is no need to bypass the API.

  The mesh stack's structure is based off the structure of the Bluetooth Mesh Specification and follows the same naming conventions. See Basic Bluetooth Mesh concepts for an introduction to the Bluetooth Mesh.

网格体系结构

  网格堆栈由许多子系统组成,这些子系统通过一组API模块进行交互。API模块隐藏了它们的子系统的复杂性。API中提供的功能足以创建一个功能正常的网格设备,因此不需要绕过API。

  网格堆栈的结构是基于蓝牙网格规范的结构,遵循相同的命名约定。关于蓝牙网格的介绍,请参阅基本的蓝牙网格概念。

nRF5 SDK for Mesh( 七 ) BLE MESH 的 架构(rchitecture)-LMLPHP

  • Models: The Bluetooth Mesh models present and implement device behavior.
  • Access: The Bluetooth Mesh access layer organizes models and communication.
  • DSM: The Device State Manager stores addresses and encryption keys for usage in the models.
  • Core: The Core Bluetooth Mesh layer takes care of encryption and message relaying.
  • Provisioning: The Bluetooth Mesh provisioning protocol is used for adding devices to the network.
  • Bearer: The Bearer layer takes care of low-level radio operation.
  • DFU: The Device Firmware Upgrade module cooperates with a bootloader to enable firmware upgrades through the mesh.
  • Node Config (not pictured): The node configuration is a utility module that manages the configuration and setup of the device.
  • Serial (not pictured): Application-level serialization of the Mesh API allows the mesh to be controlled by a separate host device.
  • 模型: 蓝牙 MESH 模型
05-11 22:02