ESP_LOG_BUFFER_HEX_LEVEL macro
Log a buffer of hex bytes at specified level, separated into 16 bytes each line. The hex log shows just like the one below: I (954) log_example: 54 68 65 20 77 61 79 20 74 6f 20 67 65 74 20 73 I (962) log_example: 74 61 72 74 65 64 20 69 73 20 74 6f 20 71 75 69 I (969) log_example: 74 20 74 61 6c 6b 69 6e 67 20 61 6e 64 20 62 65 I (977) log_example: 67 69 6e 20 64 6f 69 6e 67 2e 20 2d 20 57 61 6c I (984) log_example: 74 20 44 69 73 6e 65 79 00
Arguments
tag
Description tag to identify the log.
buffer
Pointer to the buffer array containing the data to be logged.
buff_len
Length of the buffer in bytes.
Examples
ESP_LOG_BUFFER_HEX_LEVEL is referenced by 11 libraries and example projects: