mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-20 23:12:09 +02:00
candump/lib: make sprint_long_canframe CAN XL aware
The 'long' CAN frame representation does not really fit for CAN XL content. Therefore just a cropped output is provided to be able to see the CAN XL header information and up to 64 byte of data (without binary or swap formating options). To get the full qualified CAN XL content use the log file format. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
This commit is contained in:
@@ -198,7 +198,7 @@ int sprint_canframe(char *buf , cu_t *cu, int sep);
|
||||
|
||||
#define SWAP_DELIMITER '`'
|
||||
|
||||
int sprint_long_canframe(char *buf , struct canfd_frame *cf, int view);
|
||||
int sprint_long_canframe(char *buf , cu_t *cu, int view);
|
||||
/*
|
||||
* Creates a CAN frame hexadecimal output in user readable format.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user