parseTertiaryDevAttrs function
Implementation
Event parseTertiaryDevAttrs(List<int> data) {
try {
final hexStr = String.fromCharCodes(data);
final bytes = _decodeHex(hexStr);
return TertiaryDeviceAttributesEvent(
utf8.decode(bytes, allowMalformed: true),
);
} catch (_) {
final s = String.fromCharCodes(data);
return UnknownDcsEvent('\x1bP!|$s\x1b\\');
}
}