scapy.contrib.automotive.xcp.scanner
- class scapy.contrib.automotive.xcp.scanner.XCPOnCANScanner(can_socket: NativeCANSocket, id_range: Iterator[int] | None = None, sniff_time: float | None = 0.1, add_padding: bool | None = False, verbose: bool | None = False)[源代码]
基类:
object
Scans for XCP Slave on CAN
- scan_with_connect() List[XCPScannerResult] [源代码]
- scan_with_get_slave_id() List[XCPScannerResult] [源代码]
Starts the scan for XCP devices on CAN with the transport specific GetSlaveId Message