/* Examples: 01 0102 010203 01020304 0102030405 010203040506 010203...050607 010203...060708 etc.  */
static void iso_print_data(uint8_t *data, size_t data_len)
/* Examples: 01 0102 010203 01020304 0102030405 010203040506 010203...050607 010203...060708 etc.  */
static void iso_print_data(uint8_t *data, size_t data_len)
{
	const uint8_t max_octets = 3;
	char data_str[35];
	size_t str_len;
	str_len = bin2hex(data, MIN(max_octets, data_len), data_str, sizeof(data_str));
	if (data_len > max_octets) {
		if (data_len > (max_octets * 2)) {
			static const char dots[] = "...";
			strcat(&data_str[str_len], dots);
			str_len += strlen(dots);
		}
		str_len += bin2hex(data + (data_len - MIN(max_octets, data_len - max_octets)),
				   MIN(max_octets, data_len - max_octets), data_str + str_len,
				   sizeof(data_str) - str_len);
	}
	printk("\t %s\n", data_str);
}