zephyr/samples
Jukka Rissanen dc7b307a47 logging: Print hexdumps with 16 bytes in one line
The hexdump was earlier printed using 8 bytes in one line like this

[00:00:00.131,143] <wrn> sample_instance.inst2: Example of hexdump:
01 02 03 04 05 06 07 08 |........
09 0a 0b 0c 0d 0e 0f 10 |........
11 12 13 14 15 16 17 18 |........
19 1a 1b 1c 1d 1e 1f 20 |.......
21 22                   |!"

This is not utilizing the width of the output best way possible.

Better utilization of the output is to print 16 bytes in one line
like this:

[00:00:00.131,136] <wrn> sample_instance.inst2: Example of hexdump:
01 02 03 04 05 06 07 08  09 0a 0b 0c 0d 0e 0f 10 |........ ........
11 12 13 14 15 16 17 18  19 1a 1b 1c 1d 1e 1f 20 |........ .......
21 22                                            |!"

In order to make it easier to find / calculate the bytes in the
output, print the output bytes in 8 byte groups.

This has the benefit that it is easier to map the Zephyr hex output
to Wireshark output which prints the bytes like this.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2019-10-11 17:53:50 +02:00
..
application_development
basic
bluetooth samples: migrating to NVS backend with settings 2019-10-11 14:55:24 +02:00
boards samples: migrating to NVS backend with settings 2019-10-11 14:55:24 +02:00
cpp_synchronization
display coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
drivers coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
gui coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
hello_world
mpu
net samples: usb: wpanusb: Update documentation 2019-10-09 17:16:41 -05:00
nfc/nfc_hello
philosophers coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
portability coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
sensor coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
shields coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
subsys logging: Print hexdumps with 16 bytes in one line 2019-10-11 17:53:50 +02:00
synchronization
testing/integration
userspace coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
classic.rst
index.rst