Oleksij Rempel
ed5b495da6
testj1939: fail if we use unsupported size
...
Currently if we set size which is more then 128 byte
will silently ignore provided value and send only maximal
supported size.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de >
2019-01-14 09:16:05 +01:00
Oleksij Rempel
5b68a2cef1
jcat: inverse if logic
...
it was if(offset != NULL), so it should be if(offset)
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de >
2019-01-04 14:40:07 +01:00
Oleksij Rempel
23e5e227ac
add jcat
...
jcat is kind of netcat for j1939
for example:
jcat can0:0x90 -r > /tmp/some_file
jcat -i some_file_to_send can0:0x80 :0x90,0x12300
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de >
2019-01-04 13:01:11 +01:00
Oleksij Rempel
e649b6ee2a
libj1939: add libj1939_parse_canaddr and reuse it by testj1939
...
this function will be needed jcat
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de >
2019-01-04 13:00:33 +01:00