From b6cb9a04e5a08684100284c4f84096c8285df8a1 Mon Sep 17 00:00:00 2001 From: Oliver Hartkopp Date: Thu, 14 Feb 2019 09:47:46 +0100 Subject: [PATCH] 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 --- cansend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cansend.c b/cansend.c index b8baf58..a0cdec9 100644 --- a/cansend.c +++ b/cansend.c @@ -86,8 +86,8 @@ int main(int argc, char **argv) fprintf(stderr, " a single ASCII Hex value (0 .. F) which defines"); fprintf(stderr, " canfd_frame.flags\n\n"); 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, "for remote transmission request.\n\n"); + fprintf(stderr, "123##1 / 213##311223344\n 1F334455#1122334455667788 / "); + fprintf(stderr, "123#R / 00000123#R3\n\n"); return 1; }