Publish/subscribe enum with negative value
Item 7 from Christophe Camelis list;
Updated by Richard Schimmel over 1 year ago
- Clause Reference set to Part 8 Clause 18.104.22.168
Clause 22.214.171.124 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 1 year 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.