Publish/subscribe enum with value > 127
Item 6 from Christophe Camelis list;
Is such enum value allowed by the standard?
Updated by John Bruder about 1 year ago
This could really complicate the MMS mapping.
8-1 says "the MMS data type shall be the minimum size required to contain the maximum standardized value".
Currently, all Enums map to an 8-bit signed integer.
But if one attribute exceeds 127, it will need a different MMS data type than all other Enums. This can be done, but users will need to know the "maximum standardized value" for each Enum.
Updated by Thierry Dufaure 8 months ago
I wouldn't make the test conditional ENS can be subscribed.
The ENS using values outside the INT8 range, could be in a DataSet with bolean; those boolean are indeed subscribed (application) - and ping-ponged.
When a subscriber cannot subscribe to a type, I think it is meant: the application cannot receive it, but the communication can. Otherwise it is difficut to shre and configure dataSet based on what the subscriber is allowing. Am I wrong?