-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chip-tool wrong interpretation of device list in the description cluster, device-list attribute #14269
Comments
Interesting observation. My observation is for a cpu platform Ameba. |
The Te 7.5 branch 628d7ba from RPI4 to RPI4 has ID1 and ID2 used. |
The ids being off by 1 should have been fixed by #13731 (which is not included in 628d7ba but is included in cf1b254). I just built chip-tool from cf1b254 and what I am seeing is:
which looks correct. @chrisbeach59 could you double-check what you are seeing with that SHA? |
Will do. Need to finish up my TE7.5 testing. Should be done today or tomorrow. And will re-test. |
@bzbarsky-apple I just got to test this against TE8/rc3 and the behavior is correct. |
Problem
DUT reports type 22, rev 1, but chip tool interprets it as Type 1, Rev 0
[1643145748.328185][30126:30137] CHIP:DMG: ReportDataMessage =
[1643145748.328242][30126:30137] CHIP:DMG: {
[1643145748.328289][30126:30137] CHIP:DMG: AttributeReportIBs =
[1643145748.328354][30126:30137] CHIP:DMG: [
[1643145748.328405][30126:30137] CHIP:DMG: AttributeReportIB =
[1643145748.328473][30126:30137] CHIP:DMG: {
[1643145748.328534][30126:30137] CHIP:DMG: AttributeDataIB =
[1643145748.328598][30126:30137] CHIP:DMG: {
[1643145748.328661][30126:30137] CHIP:DMG: DataVersion = 0x0,
[1643145748.328723][30126:30137] CHIP:DMG: AttributePathIB =
[1643145748.328793][30126:30137] CHIP:DMG: {
[1643145748.328862][30126:30137] CHIP:DMG: Endpoint = 0x0,
[1643145748.328997][30126:30137] CHIP:DMG: Cluster = 0x1d,
[1643145748.329084][30126:30137] CHIP:DMG: Attribute = 0x0000_0000,
[1643145748.329161][30126:30137] CHIP:DMG: }
[1643145748.329238][30126:30137] CHIP:DMG:
[1643145748.329308][30126:30137] CHIP:DMG: Data = [
[1643145748.329376][30126:30137] CHIP:DMG:
[1643145748.329443][30126:30137] CHIP:DMG: ],
[1643145748.329508][30126:30137] CHIP:DMG: },
[1643145748.329577][30126:30137] CHIP:DMG:
[1643145748.329630][30126:30137] CHIP:DMG: },
[1643145748.329715][30126:30137] CHIP:DMG:
[1643145748.329767][30126:30137] CHIP:DMG: AttributeReportIB =
[1643145748.329842][30126:30137] CHIP:DMG: {
[1643145748.329897][30126:30137] CHIP:DMG: AttributeDataIB =
[1643145748.330070][30126:30137] CHIP:DMG: {
[1643145748.330137][30126:30137] CHIP:DMG: DataVersion = 0x0,
[1643145748.330325][30126:30137] CHIP:DMG: AttributePathIB =
[1643145748.330620][30126:30137] CHIP:DMG: {
[1643145748.330708][30126:30137] CHIP:DMG: Endpoint = 0x0,
[1643145748.330787][30126:30137] CHIP:DMG: Cluster = 0x1d,
[1643145748.330863][30126:30137] CHIP:DMG: Attribute = 0x0000_0000,
[1643145748.330931][30126:30137] CHIP:DMG: ListIndex = Null,
[1643145748.331058][30126:30137] CHIP:DMG: }
[1643145748.331176][30126:30137] CHIP:DMG:
[1643145748.331241][30126:30137] CHIP:DMG: Data =
[1643145748.331348][30126:30137] CHIP:DMG: {
[1643145748.331423][30126:30137] CHIP:DMG: 0x0 = 22,
[1643145748.331779][30126:30137] CHIP:DMG: 0x1 = 1,
[1643145748.332248][30126:30137] CHIP:DMG: },
[1643145748.332437][30126:30137] CHIP:DMG: },
[1643145748.332761][30126:30137] CHIP:DMG:
[1643145748.332830][30126:30137] CHIP:DMG: },
[1643145748.332909][30126:30137] CHIP:DMG:
[1643145748.332964][30126:30137] CHIP:DMG: ],
[1643145748.333050][30126:30137] CHIP:DMG:
[1643145748.333109][30126:30137] CHIP:DMG: SuppressResponse = true,
[1643145748.333161][30126:30137] CHIP:DMG: }
[1643145748.333691][30126:30137] CHIP:TOO: Descriptor.DeviceList response: 1 entries
[1643145748.333798][30126:30137] CHIP:TOO: [1]: {
[1643145748.333858][30126:30137] CHIP:TOO: Type: 1
[1643145748.333906][30126:30137] CHIP:TOO: Revision: 0
[1643145748.333953][30126:30137] CHIP:TOO: }
Proposed Solution
Fix
The text was updated successfully, but these errors were encountered: