SDK Architecture

Last Updated on : 2022-11-24 09:20:07download

Block diagram

SDK Architecture

SDK directory

├── adapter
├── apps
│   └── tuyaos_demo_nb_sample
├── build
├── build_app.sh
├── docs
├── include
│   ├── adapter
│   ├── base
│   └── components
├── libs
└── vendor
│   └── mtk2625_sdk280
├── LICENSE
├── README.md
├── CHANGELOG.md

Directory introduction

Directory/file name Subdirectory/file name Required Description Contents
adapter / Yes TuyaOS kernel adapter layer Include the header file for the standard interfaces defined by the TuyaOS kernel adapter layer.
apps / Yes TuyaOS applications Include the sample application and your applications.
tuyaos_demo_nb_sample No The sample application Demonstrate two-way communication between the device and the cloud.
build / Yes The build configuration file /
build_app.sh / Yes The entry point script The build script. You can edit this file as needed. For example, you can store the TuyaOS development framework in a custom location and download it by using this script. .py, .sh, and .bat format are supported.
docs / Yes TuyaOS development documentation Include TuyaOS development guide, API reference, and feature description.
include / Yes TuyaOS external header file Include the interfaces for external service components.
adapter Yes The platform adaptation driver /
base Yes The base header file The common header file automatically generated.
components Yes The component header file The header file for external service components.
libs / Yes TuyaOS library Include the static library and dynamic library. Generally, the name of the library is libtuyaos.a or libtuya_iot.so. You can link to the desired library as needed.
vendor / Yes TuyaOS compatible platforms The SDK from the chip manufacturer.
mtk2625_sdk280 Yes A chip platform that supports TuyaOS The original MT2625 SDK.
LICENSE / Yes The declaration of authorization Include the introduction to usage, scope, and intellectual property of the TuyaOS development framework.
README.md / Yes The introduction to the SDK Include the necessary information about the SDK usage, such as download, build, APIs, and applications.
CHANGELOG.md / Yes The changelog The changelog lists releases and includes any new features, bug fixes, and significant performance improvements.