Search found 198 matches

by Kyson
2023年 Nov 24日 18:32
Forum: TuyaOS-网关中控开发
Topic: 【分享】如何把 TuyaOS 网关开发框架集成到其他工程
Replies: 0
Views: 6964

【分享】如何把 TuyaOS 网关开发框架集成到其他工程

背景信息 TuyaOS 网关开发框架使用 xmake 编译框架,从 Tuya Wind IDE 下载开发框架后便可直接编译 apps 的工程,新增源文件会被编译链接,无需关注繁琐的 Makefile 规则,使用上非常简单友好。 这种场景适用于在 TuyaOS 开发框架上开发应用,但是,如果您已经有自己的编译框架或者工程,把原项目迁移到 Tuya Wind IDE 可能不是一种好的选择,然而,把 TuyaOS 开发框架的头文件和库文件导入到您的项目可能更合理。 把 TuyaOS 开发框架的头文件和库文件独立出来,我们把它叫做 Standalone 。由于 TuyaOS 开发框架作为一个整体,会...
by Kyson
2023年 Nov 24日 16:25
Forum: TuyaOS-Gateway&Central Control Device Development
Topic: TuyaOS Gateway Device Development API
Replies: 0
Views: 7574

TuyaOS Gateway Device Development API

This article introduces the commonly used API interfaces of the TuyaOS gateway development framework, which can be used as a reference for the API manual. Before starting, please make sure you are familiar with the basic concepts of the TuyaOS gateway development framework. This article will be clas...
by Kyson
2023年 Nov 24日 16:23
Forum: TuyaOS-网关中控开发
Topic: 【分享】TuyaOS 网关开发框架常用 API
Replies: 0
Views: 6791

【分享】TuyaOS 网关开发框架常用 API

本文介绍了 TuyaOS 网关开发框架的常用 API 接口, 您可以把本文当作 API 手册来参考。在开始之前,请确保您已经熟悉了 TuyaOS 网关开发框架的基本概念。 本文将按照功能分类,以下是 TuyaOS 网关开发框架主要功能和对应 API 接口说明。 基础接口 | 函数名 | 说明 | | ---------------------------- | ------------------------------------------------------------ | | tuya_load_config | 加载 JSON 配置文件 | | tuya_get_config |...
by Kyson
2023年 Nov 17日 10:36
Forum: TuyaOS-Gateway&Central Control Device Development
Topic: How to Turn Your Ubuntu into a Bluetooth Gateway
Replies: 0
Views: 6473

How to Turn Your Ubuntu into a Bluetooth Gateway

This article introduces the development framework based on the gateway, using Ubuntu as a Bluetooth gateway to access the Tuya IoT platform, and enabling access to Tuya's Bluetooth Mesh & LE sub-devices. Hardware Preparation ZS3L module USB to serial port adapter Tuya's Bluetooth Mesh & LE s...
by Kyson
2023年 Nov 17日 10:35
Forum: TuyaOS-网关中控开发
Topic: 【分享】如何将Ubuntu转变为蓝牙网关
Replies: 0
Views: 5605

【分享】如何将Ubuntu转变为蓝牙网关

本文将介绍基于网关开发框架,把 Ubuntu 作为蓝牙网关接入涂鸦 IoT 平台,能够接入涂鸦生态的 Bluetooth Mesh & LE 子设备。 硬件准备 ZS3L 模组 USB 转串口 涂鸦生态 Bluetooth Mesh & LE 子设备 硬件连接 参考 ZS3L 模组规格书,按照下表的对应关系把 ZS3L 和 USB 转串口引脚连接起来。 | ZS3L | USB 转串口 | | ---- | ---------- | | TX | RX | | RX | TX | | RTS | CTS | | CTS | RTS | 硬件连接好之后,把 USB 转串口插入到 ...
by Kyson
2023年 Nov 17日 10:34
Forum: TuyaOS-Gateway&Central Control Device Development
Topic: How to Turn Your Ubuntu into a Zigbee Gateway
Replies: 0
Views: 6442

How to Turn Your Ubuntu into a Zigbee Gateway

This article introduces the development framework based on the gateway, using Ubuntu as a Zigbee gateway to access the Tuya IoT platform, and can access all Zigbee sub-devices in the Tuya ecosystem. Hardware Preparation ZS3L Module USB to Serial Port Any Zigbee sub-devices in the Tuya ecosystem Hard...
by Kyson
2023年 Nov 17日 10:32
Forum: TuyaOS-网关中控开发
Topic: 【分享】如何将Ubuntu转变为Zigbee网关
Replies: 0
Views: 5588

【分享】如何将Ubuntu转变为Zigbee网关

本文将介绍基于网关开发框架,把 Ubuntu 作为 Zigbee 网关接入涂鸦 IoT 平台,能够接入涂鸦生态所有的 Zigbee 子设备。 硬件准备 ZS3L 模组 USB 转串口 涂鸦生态任意的 Zigbee 子设备 硬件连接 参考 ZS3L 模组规格书,按照下表的对应关系把 ZS3L 和 USB 转串口引脚连接起来。 | ZS3L | USB 转串口 | | ---- | ---------- | | TX | RX | | RX | TX | | RTS | CTS | | CTS | RTS | 硬件连接好之后,把 USB 转串口插入到 PC 的 USB 接口上,使用 附录 的代码读...
by Kyson
2023年 Nov 17日 10:31
Forum: TuyaOS-Gateway&Central Control Device Development
Topic: TuyaOS Gateway Device Development Quick Start
Replies: 0
Views: 6403

TuyaOS Gateway Device Development Quick Start

This article will introduce how to quickly experience the TuyaOS gateway development framework on Ubuntu system. Prerequisites Ubuntu system is installed. Visual Studio Code is installed. Tuya Wind IDE plugin is installed on Visual Studio Code. Smart Life App is installed on the phone. Download SDK ...
by Kyson
2023年 Nov 17日 10:30
Forum: TuyaOS-网关中控开发
Topic: 【分享】TuyaOS 网关开发入门指南
Replies: 0
Views: 5558

【分享】TuyaOS 网关开发入门指南

本文将介绍如何在 Ubuntu 系统上快速体验 TuyaOS 网关开发框架。 先决条件 安装了 Ubuntu 系统。 安装了 Visual Studio Code 。 在 Visual Studio Code 上已安装 Tuya Wind IDE 插件。 手机中已安装 智慧生活 App 。 获取 SDK TuayOS 开发框架都发布在 Tuya Wind IDE 上,我们需要通过 Tuya Wind IDE 获取网关开发框架,步骤如下: 在 Tuya Wind IDE 主页单击 新建开发框架 。 开发模式选择 TuyaOS SDK 模式 。 类型开发包选择 网关设备开发包 。 开发平台选择 S...
by Kyson
2023年 Nov 8日 16:47
Forum: TuyaOS-网关中控开发
Topic: 【已解决】【网关】【TuyaOS SDK】【gw_arm_TuyaOS_3.7.0】故障替换功能的编译问题
Replies: 1
Views: 982

Re: 【网关】【TuyaOS SDK】【gw_arm_TuyaOS_3.7.0】故障替换功能的编译问题

你好,3.7.0 有个编译选项没加,你可以尝试链接 -lty_module_zigbee 库解决这个报错问题。