293 Star 1.6K Fork 383

GVP合宙Luat / LuatOS

 / 详情

[🚀新需求]: 申请加一个 红外发送 超过8bit数据的方法(ir.sendNEC 发送超过8bit数据)

待办的
创建于  
2024-01-24 23:07

您的功能请求是否与解决某些问题有关?请描述一下。/ Is your feature request related to a problem? Please describe.

部分空调的遥控是 数据码超过8bit。 常见16bit。

描述您想要的解决方案 / Describe the solution you'd like

ir.sendNEC 数据码可传 多个8bit数据,如16bit。

描述您想要的详细使用步骤描述 / Describe the solution you'd like to use in what way

如空调的开机 信号是 0xB2 0x84 0xE0。
现阶段只能传 0xB2 0x84。无法开机
我需要传 0x84 0xE0的数组。组成完整的 0xB2 0x84 0xE0 信号。

其他备注信息或截图 / Add any other context or screenshots about the feature request here

确认信息

  • 检查过该需求,之前没有人提过 / Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • 这个需求是真实存在的,并且对于本项目来说是必要的
  • 我已经提供了该需求的清晰、详细、完整的方案,请按该方案进行实施
  • 我认为我提供的信息已经足够,不需要其他人继续完善该需求的其他细节
  • 我同意跟进该需求的实施进程,并在适时提供合理的解释与纠正

评论 (2)

邹任之 创建了任务

这个是根据实际测试得到的,带红外的手机/空调遥控器 发送命令时,用Air001读取信息,得到每个命令是发送6个8bit 数据。
去除反码,得到3个8bit数据。

温度30 B2 3F BC
2:2103-1
3:1077-0
4:2091-1
5:2099-1
6:1075-0
7:1103-0
8:2072-1
9:1071-0

10:1077-0
11:2100-1
12:1071-0
13:1079-0
14:2096-1
15:2097-1
16:1075-0
17:2097-1

18:1071-0
19:1101-0
20:2073-1
21:2094-1
22:2100-1
23:2097-1
24:2098-1
25:2096-1

26:2099-1
27:2092-1
28:1081-0
29:1072-0
30:1096-0
31:1055-0
32:1072-0
33:1075-0

34:2100-1
35:1075-0
36:2099-1
37:2095-1
38:2096-1
39:2101-1
40:1073-0
41:1075-0

42:1095-0
43:2077-1
44:1075-0
45:1076-0
46:1074-0
47:1071-0
48:2096-1
49:2099-1

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
4674 wendal 1578914274
Lua
1
https://gitee.com/openLuat/LuatOS.git
git@gitee.com:openLuat/LuatOS.git
openLuat
LuatOS
LuatOS

搜索帮助