SDK 架构

更新时间:2024-06-25 09:07:08LLM 副本以 Markdown 格式查看下载 PDF

SDK 架构框图

SDK 架构

SDK 架构说明

涂鸦 Zigbee SDK 适用于开发符合 Zigbee 3.0 标准的智能产品。该 SDK 在芯片基础 SDK 上进行了二次抽象,屏蔽了复杂的 Zigbee 技术细节,方便您快速入门。

涂鸦 Zigbee SDK 主要包含硬件接口、网络接口、 工具接口三个部分,并提供若干品类的示例代码来展示各种接口的使用和 Zigbee设备接入涂鸦体系的基本开发规范。

SDK 目录结构

├── app
│   ├── light_rgb
│   ├── remote_zll_demo
│   ├── scene_switch
│   ├── switch
│   ├── simple_contact_sensor
│   ├── tmp_hum_lcd_sensor
│       └──  pre-build-iar.py
├── doc
│   ├── datasheet
│   ├── SPEC
│   └── 开发手册
├── include
│      ├── hal_adc.h
│      ├── hal_battery.h
│      ├── hal_flash.h
│      ├── hal_gpio.h
│      ├── hal_i2c.h
│      ├── hal_pwm.h
│      ├── hal_spi.h
│      ├── hal_systick_timer.h
│      ├── hal_timer.h
│      ├── hal_uart.h
│      ├── tuya_app_timer.h
│      ├── tuya_mcu_os.h
│      ├── tuya_mf_test.h
│      ├── tuya_oem_kit.h
│      ├── tuya_tools.h
│      ├── tuya_zigbee_modules.h
│      ├── tuya_zigbee_sdk.h
│      ├── tuya_zigbee_stack.h
│      ├── type_def.h
│      ├── zigbee_attr.h
│      ├── zigbee_cmd.h
│      ├── zigbee_dev_template.h
│      ├── zigbee_modules.h
│      └── zigbee_raw_cmd_api.h
├── lib
│   ├── gcc_lib
│   └── iar_lib
├── sdk
│   ├── platform
│   └── tool
└── tools
    ├── gcc-arm-none-eabi-9-2019-q4-major
    ├── gcc-arm-none-eabi-9-2019-q4-major.tar.bz2
    ├── gcc_boot
    └── iar_tools
目录名称 作用
app 应用工程的入口路径,里面含有各种品类的实例代码,EFR32MG21A020F768 目前包含5个产品品类的 DEMO,您可以根据实际开发的产品品类进行对接
doc 包含规格书及 Zigbee 相关文档资料
include SDK 的接口文件
lib SDK 的库文件,分为 IAR 版本的库和 GCC 版本的库
sdk 包含 tools 里面用到的一些工具和链接脚本
tools 编译使用到的相关工具和脚本