shimmeringbee / zda

Adapter to convert ZCL frames and queries into Shimmering Bee abstractions, written in Go.
Apache License 2.0
1 stars 2 forks source link

Migrate capabilities to use pointers to Data #14

Closed pwood closed 9 months ago

pwood commented 3 years ago

All Implementation have something similar to:

type Implementation struct {
    data     map[zda.IEEEAddressWithSubIdentifier]Data
}

Migrate the map to use a pointer to Data, this should reduce the requirement to copy and reassign the Data object when updating.

pwood commented 9 months ago

This is made redundant by the new approach to capabilities.