omsg.data[2] should be the subzone as per the protocol specification. In the case of my MDF the subzone register is indeed located at _VSCP_EEPROMEND + idx, but in case the register order in the MDF changes this will no longer be the case.
Wouldn't it be better to use this instead?
vscp_omsg.data[ 2 ] = readEEPROM( VSCP_EEPROM_END + EEPROM_SUBZONE );
The current implementation of SendInformationEvent() in my Hasselt/Paris-based firmware is:
omsg.data[2] should be the subzone as per the protocol specification. In the case of my MDF the subzone register is indeed located at _VSCP_EEPROMEND + idx, but in case the register order in the MDF changes this will no longer be the case.
Wouldn't it be better to use this instead? vscp_omsg.data[ 2 ] = readEEPROM( VSCP_EEPROM_END + EEPROM_SUBZONE );