def data_to_binary(self):
        """
        :return: bytes
        """
        return bytes([COMMAND_CODE, self.transmit_error_counter,
                      self.receive_error_counter, self.bus_off_counter])