Search found 7 matches

by shuangshuang.ruan
2024年 Apr 16日 18:13
Forum: TuyaOS-网关中控开发
Topic: 【求助】【网关】几个配网和编译的问题
Replies: 4
Views: 99

Re: 【求助】【网关】几个配网和编译的问题

a:蓝牙配网功能的代码已经内置于SDK中,因此不需要额外添加。但是,要使其工作,你需要初始化蓝牙相关的功能。对于如何进行初始化,可以参照tuyaos_demo_blemesh示例项目。 b:vendor目录下的tkl_wired.c文件中包含的函数被定义为弱链接(weak functions),这意味着这些函数可以被同名的其他函数覆盖。如果存在同名的强链接函数(例如在另一个文件中),则该强链接函数将优先被使用。 c:tuyaos_demo_gw项目中没有包含对zigbee和蓝牙的初始化代码。如果你正在开发一个zigbee网关,应当参考tuyaos_demo_zigbee示例项目,来获取如何初始...
by shuangshuang.ruan
2023年 Dec 26日 14:23
Forum: TuyaOS-Gateway&Central Control Device Development
Topic: [Sharing] Common Issues When Compiling Gateway Programs with Tuya Wind IDE
Replies: 0
Views: 1005

[Sharing] Common Issues When Compiling Gateway Programs with Tuya Wind IDE

System Environment: Linux, Ubuntu 20.04_amd64 Compilation Time and Notes: When executing build.sh for the first time, it will compile the vendor, taking between 5 to 20 minutes, depending on CPU performance. There might be no log output during kernel compilation, so please be patient. Errors during...
by shuangshuang.ruan
2023年 Dec 26日 11:50
Forum: TuyaOS-网关中控开发
Topic: 【分享】Tuya Wind IDE编译网关程序时常见问题
Replies: 0
Views: 1031

【分享】Tuya Wind IDE编译网关程序时常见问题

系统环境: Linux,Ubuntu 20.04_amd64 编译时间及注意事项: 首次执行 build.sh 时,会编译 vendor,耗时 5 到 20 分钟不等,主要取决于 CPU 性能。内核编译期间可能没有日志输出,请耐心等待。 在编译vendor过程中,报错不会立即停止编译,需要向上查找。可以使用 "error" 作为关键词进行搜索,以便找到相关错误信息。这一步是为了更准确地定位并解决编译中的问题。 安装依赖: apt install autoconf automake cmake gettext whois -y apt install bc bison fl...
by shuangshuang.ruan
2023年 Jun 8日 16:04
Forum: TuyaOS-网关中控开发
Topic: 【求助】网关如何对接cat1模组
Replies: 3
Views: 504

Re: 【求助】网关如何对接cat1模组

你好,ssd202平台已经适配涂鸦自研LZ201模组和移远EC21。 cat1使用到的接口如下: #include "tkl_cellular_base.h" #include "tkl_cellular_call.h" #include "tkl_cellular_sms.h" #include "tkl_cellular_mds.h" #include "tkl_cellular_vbat.h" #include "tkl_cellular_keypad.h" #incl...
by shuangshuang.ruan
2022年 Dec 28日 11:42
Forum: TuyaOS-网关中控开发
Topic: 【分享】多模网关快速开始
Replies: 0
Views: 720

【分享】多模网关快速开始

多模网关 是一款网关核心板,您可以用来用来熟悉 涂鸦 IoT 开发平台 接入的开发流程,提高后续产品开发效率。同时,也能作为产品预研阶段的快速验证,并快速搭建演示 DEMO。 一、产品详情 多模网关在硬件上集成了蓝牙模组和 Zigbee 模组,软件上使用 SSD202D TuyaOS 产物包,可零代码实现网关智能化。您无需任何适配,可接入涂鸦生态的所有 Zigbee 子设备和蓝牙子设备。 二、快速开始 目录结构 开发包整体目录结构如下: ├── hardware # 硬件手册,存放涂鸦自研硬件资料 ├── pc │ └── tools # 工具类目录,存放各种开发相关工具 ├── softw...
by shuangshuang.ruan
2022年 Dec 15日 17:07
Forum: TuyaOS-网关中控开发
Topic: 【已解决】设备重新上电,48571端口会5S一次向6667端口发送一次网络数据
Replies: 4
Views: 486

Re: 【求助】设备重新上电,48571端口会5S一次向6667端口发送一次网络数据

你好,这是网关局域网功能的广播包,不建议去掉。
如果确实有这个需求,可以使用tuya_svc_lan_disable关闭局域网功能。

by shuangshuang.ruan
2022年 Sep 29日 18:00
Forum: TuyaOS-网关中控开发
Topic: 【已解决】TuyaOS网关开发编译报错
Replies: 4
Views: 920

Re: 【求助】TuyaOS网关开发编译报错

你好,编译问题出在把未使用的函数链接进来了。可使用Wl,–gc-sections,不链接未用函数。
具体操作:
在apps下的Makefile文件里加上Wl,–gc-sections。比如
LINKFLAGS := -Wl,--gc-sections -Wl,--start-group $(LINKFLAGS) -Wl,--end-group