-
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
[Test Failed] TestDiscovery expects announcement for device type 0xffff which is no valid MEI #33697
Comments
It's running against all-clusters-app. There is no "valid" device type that can be used for that thing, obviously.... Probably it should just use a vendor-scoped device type in one of the test vendor namespaces. |
that would be the most simple option, I agree |
One other note: the test expects whatever device type id is specified on the command line, defaulting to 0xFFFF. When running it against anything other than all-clusters-app, the right data should be passed on the command line. |
We were claiming a device type of 0x0101 in the Descriptor DeviceTypeList on endpoint 1, but claiming a device type of 0xFFFF (not even a valid value) via DNS-SD advertising. Align our advertising behavior with the data model values. Fixes project-chip#33697
@bzbarsky-apple ahh ok yes I could override that setting ... will look into this too.thank you |
…33715) * Fix advertised device type for all-clusters-app to match data model. We were claiming a device type of 0x0101 in the Descriptor DeviceTypeList on endpoint 1, but claiming a device type of 0xFFFF (not even a valid value) via DNS-SD advertising. Align our advertising behavior with the data model values. Fixes #33697 * Address review comment.
Test issue(s)
I know that TestDiscovery.yaml is a chip internal test but it expects that the announced device type is 0xffff which is not any valid MEI definition for a Device type according to chip specs. The highest allowed non-manufacturerspecific devicetype should be 0xbfff (aka 49151).
Even tho the chip test applications are just reference implementations I think they should not use out of range data and formally invalid IDs
Platform
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: