breaker27 / smarthomatic

smarthomatic
http://www.smarthomatic.org
34 stars 12 forks source link

support arrays in e2p and packet definitions #53

Closed breaker27 closed 10 years ago

breaker27 commented 10 years ago

The e2p and packet definitions (xml) can only have a series of values with one of the allowed primitive data types.

Add support for having arrays of these.

(Note: Arrays of arrays, Structs and a mixture of arrays and structs are currently not planned, because no clear use case is known until now.)

breaker27 commented 10 years ago

Everything is supported except Arrays of ByteArrays which are not at byte boundaries.

This should never be the case in e2p layouts (because access would be slower and values should be byte-aligned to minimize write operations to e2p). But this could be the case for data packets.

Because of the somewhat complicated implementation, this is done as a separate task when needed some day.