Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Zigbee: Multiple endpoints crash due to static endpoint var #10726

Closed
Assignees
P-R-O-C-H-Y
Labels
Area: ZigbeeIssues and Feature Request about ZigbeeStatus: SolvedThe issue has been resolved and requires no further action.
@FaBjE

Description

@FaBjE

When adding a second Zigbee endpoint the CPU crashes.
I noticed that the same endpoint ID was displayed while I added both endpoints with separate ID's

After some digging I found that the ZigbeeEP class has the endpoint variable as static.
This is not possible as each instance (aka endpoint) must have a unique endpoint ID.
I removed the static and it started working:FaBjE@f0566d8

Unfortunately this breaks several classes as they rely on the endpoint and others being static. For testing I removed those classes so I could compile:FaBjE@2c98584

I think there is some awareness about this issue, but maybe not the severity when trying to use a second endpoint.
Originally posted by@P-R-O-C-H-Y in#10135 (comment)

Metadata

Metadata

Assignees

Labels

Area: ZigbeeIssues and Feature Request about ZigbeeStatus: SolvedThe issue has been resolved and requires no further action.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp