Skip to content
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

[1.0] TC-DGGEN-2.2 can not read event #26046

Closed
cyyyys opened this issue Apr 11, 2023 · 3 comments · Fixed by #26056
Closed

[1.0] TC-DGGEN-2.2 can not read event #26046

cyyyys opened this issue Apr 11, 2023 · 3 comments · Fixed by #26056

Comments

@cyyyys
Copy link

cyyyys commented Apr 11, 2023

Reproduction steps

Problem
TC-DGGEN-2.2 cannot read hardware-fault-change radio-fault-change network-fault-change Event.

Here is the log.

TC-DGGEN-2.2.txt

Bug prevalence

not a bug

GitHub hash of the SDK that was being used

tag 1.0.0.2

Platform

freeRTOS

Platform Version(s)

No response

Type

Test Improvement

Anything else?

No response

@bzbarsky-apple
Copy link
Contributor

@cyyyys Those events only work via the fifo if CHIP_CONFIG_TEST is defined when compiling examples/all-clusters-app/linux/AllClustersCommandDelegate.cpp.

@yufengwangca Why is that restriction there?

@yufengwangca
Copy link
Contributor

Yes, we need to turn on this flag to enable Linux diagnostic simulation, maybe we should enable this flag by default in all-clusters-app within its CHIPProjectAppConfig.h since this app is always used for testing purpose.

@bzbarsky-apple
Copy link
Contributor

examples/all-clusters-app/linux/AllClustersCommandDelegate.cpp is always part of all-clusters-app. Why wouldn't we just remove those #if bits entirely from that file @yufengwangca ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants