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> |
||
|---|---|---|
| .. | ||
| application_development | ||
| basic | ||
| bluetooth | ||
| boards | ||
| cpp_synchronization | ||
| display | ||
| drivers | ||
| gui | ||
| hello_world | ||
| mpu | ||
| net | ||
| nfc/nfc_hello | ||
| philosophers | ||
| portability | ||
| sensor | ||
| shields | ||
| subsys | ||
| synchronization | ||
| testing/integration | ||
| userspace | ||
| classic.rst | ||
| index.rst | ||