project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.32k stars 1.96k forks source link

[BUG] v1.0,v1.1 and v1.2 need to fix when rate =0 in Level control cluster #34426

Open agatah2333 opened 1 month ago

agatah2333 commented 1 month ago

Reproduction steps

I tried the tags with v1.0.0 ,v1.1.0.0 and v1.2.0.0 and compiled the virtual device as node: 0x654324

When run the chip-tool:

1. ./chip-tool onoff on 0x654324 1
2. ./chip-tool  levelcontrol move-to-level 254 0 0 0 0x654324 1
3. ./chip-tool  levelcontrol move 1 0 0 0 0x654324 1

The virtual device will show the Float point exception

Bug prevalence

each time

GitHub hash of the SDK that was being used

52e4a6435f74b20fb1bf355cc67587c3a3853488

Platform

core

Platform Version(s)

v1.2.0.0, v1.0.0, v1.1.0.0

Anything else?

No response

bzbarsky-apple commented 1 month ago

@tcarmelveilleux @jmartinez-silabs