toPacket method
toPacket returns the packet in the format of Layrz Protocol v3.
Implementation
@override
String toPacket() {
String payload = ';';
String crc = calculateCrc(payload.codeUnits).toRadixString(16).padLeft(4, '0').toUpperCase();
return '<Au>$payload$crc</Au>';
}