Support for alarm packet 0x27 and parsing of alarm flags