int sumA7Packet(Uint8List bytes) { int sum = 0; for (int i = 1; i < bytes.length - 2; i++) { sum += bytes[i]; } return sum; }