Implementation of CAN datagram reading