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

fix support for device configuration groups (#102) #103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chicco785
Copy link
Collaborator

This commit provide support for inheriting dynamically the configuration of a group for a device belonging to the group (#102)

  • when a message is received, we search for its device group
  • the device configuraiton is the merge of the device group and device configuration
  • if a device does not exist when a message arrives, the self registration creates a device with empty configuration (in this way any change to the device group configuration will be carried over also to devices already self provisioned)

other fixes are introduced, for example, self provisioned devices are now mapped to type:deviceId entityId (following standard data model naming) rather than deviceId:type

…tion#102)

This commit provide support for inheriting dynamically the configuration of a group for a device belonging to the group

* when a message is received, we search for its device group
* the device configuraiton is the merge of the device group and device configuration
* if a device does not exist when a message arrives, the self registration creates a device with empty configuration (in this way any change to the device group configuration will be carried over also to devices already self provisioned)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant