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

Allow application to set the local endpoint ID #1143

Merged
merged 1 commit into from
Sep 19, 2020

Conversation

cdjackson
Copy link
Member

This provides a method in the ZigBeeNetworkManager and the ZigBeeTransportTransmit interface to set the local endpoint ID. The interface implements a default implementation and currently this is not supported in any dongle implementations.

The main purpose of this is for the dual Ember network capability in #1024. In this implementation, if there are multiple networks, then a limitation of the multinetwork system on the Ember is that different networks need to use different endpoints so the NCP can work out what network is in use -:

From Silabs docs -:

Endpoint mapping: For Zigbee PRO networks, the Zigbee application framework maintains a mapping between network contexts and disjoint sets of endpoints. For example, network 0 may be associated with the set of endpoints {1,2,3} while network 1 is associated with the set {4,5,6}. Notice that these two sets of endpoints must be disjoint; that is, the same endpoint cannot be associated with two different network contexts.

Signed-off-by: Chris Jackson [email protected]

@cdjackson cdjackson merged commit a6117da into master Sep 19, 2020
@cdjackson cdjackson deleted the set-default-endpoint branch September 19, 2020 19:26
@cdjackson cdjackson mentioned this pull request Sep 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant