Giter Club home page Giter Club logo

tencentcloud-iot-explorer-ble-mesh-sdk-embedded's Introduction

概述

LLSync MESH SDK 提供了 LLSync MESH协议接入方案,SDK 内实现了 LLSync MESH协议用于和 APP(网关设备)进行通信,打通了 BLE MESH设备-APP(网关设备)-物联网开发平台 的数据链路,支持开发者快速接入 BLE MESH设备到物联网开发平台。

  1. LLSync MESH SDK不包含BLE MESH协议栈,仅在Model层上做了接入扩展。
  2. LLSync MESH SDK 符合蓝牙技术联盟发布的Mesh Profile规范

开发者接入 LLSync MESH SDK需要做的工作有:

  1. 添加 LLSync MESH到 BLE MESH协议栈中
  2. 通过脚本将数据模版转换为C代码,添加相应的数据处理逻辑

LLSync MESH SDK 封装了协议实现细节和数据传输过程,让开发者可以聚焦在数据处理上,以达到快速开发的目的。

软件架构

LLSync MESH SDK 结构框图:

LLSyncMESH结构框图

SDK 分三层设计,从上至下分别为应用层、LLSync核心层、HAL移植层。

  • 应用层:LLSync MESH SDK 生成了数据模版的模版文件,用户需要根据需求做具体实现。
  • LLSync MESH核心组件:实现了 BLE 设备和App (网关设备)之间的通信协议,身份认证,数据解析等功能,用户一般无需改动即可使用。
  • HAL 移植层:主要是适配 BLE MESH 协议栈,用户需要进行移植和适配。

目录结构

qcloud_iot_explorer_ble
  ├─config                            # SDK 配置文件
  ├─docs                              # 文档
  ├─inc                               # 头文件
  ├─samples                           # 示例工程
  │   ├─esp32                         # 基于esp32的示例工程
  └─src                               # LLSync源码
      ├─core                          # 核心代码
      ├─internal_inc                  # 内部头文件
      └─utils                         # 工具代码

移植指引

请参见 LLSync mesh SDK移植说明LLSync Mesh接入规范

最佳实践

请参见ESP32移植实践

tencentcloud-iot-explorer-ble-mesh-sdk-embedded's People

Contributors

xupenghu avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar ZhiQiang Fan avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.