scapy.contrib.automotive.obd.scanner

class scapy.contrib.automotive.obd.scanner.OBD_DTC_Enumerator(sock)

Bases: scapy.contrib.automotive.obd.scanner.OBD_Enumerator

static print_payload(resp)
request = None
scan(state, full_scan=False, **kwargs)
class scapy.contrib.automotive.obd.scanner.OBD_Enumerator(sock)

Bases: scapy.contrib.automotive.enumerator.Enumerator

property filtered_results
static get_label(response, positive_case='PR: PositiveResponse', negative_case='NR: NegativeResponse')
scan(state, requests, exit_scan_on_first_negative_response=False, retry_if_busy_returncode=True, retries=3, timeout=1, **kwargs)
show_negative_response_details(dump=False)
class scapy.contrib.automotive.obd.scanner.OBD_S01_Enumerator(sock)

Bases: scapy.contrib.automotive.obd.scanner.OBD_Service_Enumerator

description = 'Available data in OBD service 01'
get_pkts(p_range)
static get_table_entry(tup)
class scapy.contrib.automotive.obd.scanner.OBD_S02_Enumerator(sock)

Bases: scapy.contrib.automotive.obd.scanner.OBD_Service_Enumerator

description = 'Available data in OBD service 02'
get_pkts(p_range)
static get_table_entry(tup)
class scapy.contrib.automotive.obd.scanner.OBD_S03_Enumerator(sock)

Bases: scapy.contrib.automotive.obd.scanner.OBD_DTC_Enumerator

description = 'Available DTCs in OBD service 03'
static get_table_entry(tup)
request = <OBD service=EmissionRelatedDiagnosticTroubleCodesRequest |<OBD_S03 |>>
class scapy.contrib.automotive.obd.scanner.OBD_S06_Enumerator(sock)

Bases: scapy.contrib.automotive.obd.scanner.OBD_Service_Enumerator

description = 'Available data in OBD service 06'
get_pkts(p_range)
static get_table_entry(tup)
class scapy.contrib.automotive.obd.scanner.OBD_S07_Enumerator(sock)

Bases: scapy.contrib.automotive.obd.scanner.OBD_DTC_Enumerator

description = 'Available DTCs in OBD service 07'
static get_table_entry(tup)
request = <OBD service=PendingEmissionRelatedDiagnosticTroubleCodesRequest |<OBD_S07 |>>
class scapy.contrib.automotive.obd.scanner.OBD_S08_Enumerator(sock)

Bases: scapy.contrib.automotive.obd.scanner.OBD_Service_Enumerator

description = 'Available data in OBD service 08'
get_pkts(p_range)
static get_table_entry(tup)
class scapy.contrib.automotive.obd.scanner.OBD_S09_Enumerator(sock)

Bases: scapy.contrib.automotive.obd.scanner.OBD_Service_Enumerator

description = 'Available data in OBD service 09'
get_pkts(p_range)
static get_table_entry(tup)
class scapy.contrib.automotive.obd.scanner.OBD_S0A_Enumerator(sock)

Bases: scapy.contrib.automotive.obd.scanner.OBD_DTC_Enumerator

description = 'Available DTCs in OBD service 10'
static get_table_entry(tup)
request = <OBD service=PermanentDiagnosticTroubleCodesRequest |<OBD_S0A |>>
class scapy.contrib.automotive.obd.scanner.OBD_Scanner(socket, reset_handler=None, enumerators=None, **kwargs)

Bases: scapy.contrib.automotive.enumerator.Scanner

default_enumerator_clss = [<class 'scapy.contrib.automotive.obd.scanner.OBD_S01_Enumerator'>, <class 'scapy.contrib.automotive.obd.scanner.OBD_S02_Enumerator'>, <class 'scapy.contrib.automotive.obd.scanner.OBD_S06_Enumerator'>, <class 'scapy.contrib.automotive.obd.scanner.OBD_S08_Enumerator'>, <class 'scapy.contrib.automotive.obd.scanner.OBD_S09_Enumerator'>, <class 'scapy.contrib.automotive.obd.scanner.OBD_S03_Enumerator'>, <class 'scapy.contrib.automotive.obd.scanner.OBD_S07_Enumerator'>, <class 'scapy.contrib.automotive.obd.scanner.OBD_S0A_Enumerator'>]
enter_state(state)
class scapy.contrib.automotive.obd.scanner.OBD_Service_Enumerator(sock)

Bases: scapy.contrib.automotive.obd.scanner.OBD_Enumerator

get_pkts(p_range)
get_supported(state, **kwargs)
static print_payload(resp)
scan(state, full_scan=False, **kwargs)