Added serial port reading and basic packet decoding