openBackhaul / wireInterface

Technology specific interface definition for Ethernet PHY interfaces according to IEEE 802.3
Apache License 2.0
2 stars 1 forks source link

transceiverIsOnList cannot be addressed #27

Closed openBackhaul closed 2 years ago

openBackhaul commented 4 years ago

transceiverIsOnList is of datatype Boolean[*] (Array of Boolean).

Unfortunately, list attributes cannot be addressed neither for reading nor for writing. So, the entire Array cannot be addressed.

Because it is a primitive datatype, the instances in the Array do not have a key attribute, which could be addressed by value. So, the elements inside the Array can also not be addressed.

As a consequence, any value inside the Array can only be addressed by reading and writing the entire Configuration Class.

Proposal: Changing the primitive Boolean into a composed datatype combing an instance number (e.g. transceiverNumber : Integer) with the actual configuration parameter (e.g. isOn : Boolean).

openBackhaul commented 3 years ago

Covered by the decision made in issue#28.

demx8as6 commented 2 years ago

considered as duplicated of #28