Skip to content

Commit

Permalink
fix(target): accept hex values for extended addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
fkglr authored and rumpelsepp committed Nov 17, 2022
1 parent 8d2623d commit c64542a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/gallia/transports/can.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,14 @@ class ISOTPConfig(BaseModel):
rx_padding: int | None = None
tx_dl: int = 64

_auto_int = validator("src_addr", "dst_addr", pre=True, allow_reuse=True)(auto_int)
_auto_int = validator(
"src_addr",
"dst_addr",
"ext_address",
"rx_ext_address",
pre=True,
allow_reuse=True,
)(auto_int)


class ISOTPTransport(BaseTransport, scheme="isotp"):
Expand Down

0 comments on commit c64542a

Please sign in to comment.