Publish/subscribe enum with negative value
Item 7 from Christophe Camelis list;
Updated by Richard Schimmel over 2 years ago
- Clause Reference set to Part 8 Clause 220.127.116.11
Clause 18.104.22.168 states: "Enumerated values outside the standardized range but within the MMS integer size shall be assumed to be value extensions and shall not cause a protocol error".
So we have to add this to the conformance test
Updated by Thierry Dufaure over 2 years ago
I think this is good to test that negative enuemration does not cause trouble with the subscribers.
Nevertheless, I do not see the use case where there are more negative values that positive ones - in other words, the smallest negative value forces the size of the enumeration requires a INT16.