Ejemplo n.º 1
0
 def clear_trouble_codes(self):
     """
         Uses OBD Mode 04 to clear trouble codes and the malfunction
         indicator lamp (MIL) / check engine light
         :return:
     """
     if not self._check_response(
             self.send(commands.CLEAR_TROUBLE_CODES_COMMAND).raw_value):
         # logging warning
         logger.warning("Clear trouble codes did not return success")
Ejemplo n.º 2
0
 def check_feed_off(self):
     if not self._check_response(
             self.send(elm327.LINEFEED_OFF_COMMAND).raw_value):
         logger.warning("Line feed off command did not completed")
Ejemplo n.º 3
0
 def check_spaces_off(self):
     if not self._check_response(
             self.send(elm327.SPACES_OFF_COMMAND).raw_value):
         logger.warning("Spaces off command did not completed")