Wireshark-bugs: [Wireshark-bugs] [Bug 8214] ZigBee Cluster Library dissector does not handle arr
Comment # 11
on bug 8214
from Arasch Honarbacht
(In reply to comment #10)
> (In reply to comment #9)
> >
> > Notice that array, bag and set have identical memory layouts, so it should
> > be possible to reuse much of the code that has been developed for array
> > right out of the box. Structures are slightly different though.
>
> Ok: I'll re-open this bug (and change the title slightly).
>
> Can you provide a capture with with the 'structure' data type ?
>
> Can you also provide a capture containing the bag and set data types ?
>
> Presumably there's *something* different between the array, bag & set data
> types ?
For the Read Attribute Response frame there is really no difference. While an
array in ZCL is a ordered sequence of elements, elements in a set have no
associated order and are unique. A bag is a set without the restriction that
elements must be unique (comparable to a multi_set in STL as opposed to a set,
for example). The difference is how such attributes are managed and accesses by
commands like Write Attributes Structured etc.
I don't have capture files for theses cases because such attributes are used
sparingly, but I can certainly create some. This will take a while because I
need to establish an appropriate test setup.
You are receiving this mail because:
- You are watching all bug changes.