Search found 26 matches

by 花露水
2023年 Jan 13日 17:25
Forum: TuyaOS-联网单品开发
Topic: 【已解决】DP上传问题
Replies: 2
Views: 388

Re: DP上传问题

下面的是日子,每次卡死的时候都出现这个

by 花露水
2023年 Jan 13日 17:24
Forum: TuyaOS-联网单品开发
Topic: 【已解决】DP上传问题
Replies: 2
Views: 388

【已解决】DP上传问题

VOID_T update_switch_dp(VOID_T)//开关状态上传 { tal_system_sleep(1000);//电机转动需要时间 OPERATE_RET op_ret = OPRT_OK; INT_T dp_cnt = 1; /* update DP number */ INT_T DP_cnt; /* no connect router, return */ GW_WIFI_NW_STAT_E wifi_state = STAT_LOW_POWER; get_wf_gw_nw_status(&wifi_state); if (wifi_state <= STA...
by 花露水
2023年 Jan 13日 15:33
Forum: TuyaOS-联网单品开发
Topic: 【已解决】不知道为什么运行着就关机了,可能跟串口接受有关
Replies: 2
Views: 356

【已解决】不知道为什么运行着就关机了,可能跟串口接受有关

[01-13 15:29:07 TUYA D][lr:0x49509] RX_LEN:6 [01-13 15:29:07 TUYA D][lr:0x4902d] APP_Switch_Task! [01-13 15:29:07 TUYA D][lr:0x49509] RX_LEN:7 [01-13 15:29:07 TUYA D][app_switch.c:143] voltag CRC:OK [01-13 15:29:07 TUYA D][app_switch.c:146] voltag H:5900 [01-13 15:29:07 TUYA D][app_switch.c:148] vol...
by 花露水
2023年 Jan 12日 13:49
Forum: TuyaOS 开发
Topic: TuyaOS 示例合集
Replies: 6
Views: 9993

Re: TuyaOS 示例合集

yangjie 2023年 Jan 12日 10:51
花露水 2023年 Jan 6日 17:14

我好像没找到这个 示例 下载的地址,WindIDE生成的没那么多

在下周 TuyaOS 的时候会自动下载的,下载 BK7231N 和 RTL8720CF 最新版本的 TuyaOS 就可以获取到 tuyaos_demo_examples 示例了

有是有一个,没那么全,没事了,巴拉巴拉.h就那么看了

by 花露水
2023年 Jan 9日 14:10
Forum: TuyaOS-联网单品开发
Topic: 【已解决】公告里的 TuyaOS 示例合集 没有下载地址呢,需要一个串口中断接受的Demo
Replies: 10
Views: 1000

Re: 公告里的 TuyaOS 示例合集 没有下载地址呢,需要一个串口中断接受的Demo

花露水 2023年 Jan 9日 11:56
yangjie 2023年 Jan 9日 11:40

你可以看下 tkl_uart.h 和 tkl_uart.c 中的接口

uart_irq.png
uart_irq_log.png

跟我写的差不多,改改逻辑吧,本来想改成一个一个接受

长度传了个地址我是没想到的,之前我都直接在哪写个255发现有问题 :D

by 花露水
2023年 Jan 9日 11:56
Forum: TuyaOS-联网单品开发
Topic: 【已解决】公告里的 TuyaOS 示例合集 没有下载地址呢,需要一个串口中断接受的Demo
Replies: 10
Views: 1000

Re: 公告里的 TuyaOS 示例合集 没有下载地址呢,需要一个串口中断接受的Demo

yangjie 2023年 Jan 9日 11:40

你可以看下 tkl_uart.h 和 tkl_uart.c 中的接口

uart_irq.png
uart_irq_log.png

跟我写的差不多,改改逻辑吧,本来想改成一个一个接受

by 花露水
2023年 Jan 9日 10:45
Forum: TuyaOS-联网单品开发
Topic: 【已解决】公告里的 TuyaOS 示例合集 没有下载地址呢,需要一个串口中断接受的Demo
Replies: 10
Views: 1000

Re: 公告里的 TuyaOS 示例合集 没有下载地址呢,需要一个串口中断接受的Demo

yangjie 2023年 Jan 9日 10:40
花露水 2023年 Jan 9日 10:33

tuya_iot.config里写着基于项目 tuyaos-iot (3.3.0)

好的

有木有Demo啊,我就差这个串口接受没整完了