Skip to content

Commit

Permalink
add way to call isotp
Browse files Browse the repository at this point in the history
  • Loading branch information
geohot committed Mar 10, 2018
1 parent be82899 commit 585d0f9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,14 @@ def can_clear(self, bus):
"""
self._handle.controlWrite(Panda.REQUEST_OUT, 0xf1, bus, 0, b'')

# ******************* isotp *******************

def isotp_send(addr, dat, bus, recvaddr=None, subaddr=None):
return isotp_send(self, dat, addr, bus, recvaddr, subaddr)

def isotp_recv(addr, bus=0, sendaddr=None, subaddr=None):
return isotp_recv(self, addr, bus, recvaddr, subaddr)

# ******************* serial *******************

def serial_read(self, port_number):
Expand Down

0 comments on commit 585d0f9

Please sign in to comment.