mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
cansend: enhance help text to point out SFF/EFF identifiers
As suggested by https://github.com/jogo- an example was added that points out how to send a CAN frame with CAN ID 123 as SFF (11 bit) and EFF (29 bit). Reference: https://github.com/linux-can/can-utils/issues/126 Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
This commit is contained in:
@@ -86,8 +86,8 @@ int main(int argc, char **argv)
|
|||||||
fprintf(stderr, "<flags> a single ASCII Hex value (0 .. F) which defines");
|
fprintf(stderr, "<flags> a single ASCII Hex value (0 .. F) which defines");
|
||||||
fprintf(stderr, " canfd_frame.flags\n\n");
|
fprintf(stderr, " canfd_frame.flags\n\n");
|
||||||
fprintf(stderr, "e.g. 5A1#11.2233.44556677.88 / 123#DEADBEEF / 5AA# / ");
|
fprintf(stderr, "e.g. 5A1#11.2233.44556677.88 / 123#DEADBEEF / 5AA# / ");
|
||||||
fprintf(stderr, "123##1 / 213##311\n 1F334455#1122334455667788 / 123#R ");
|
fprintf(stderr, "123##1 / 213##311223344\n 1F334455#1122334455667788 / ");
|
||||||
fprintf(stderr, "for remote transmission request.\n\n");
|
fprintf(stderr, "123#R / 00000123#R3\n\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user