bluetooth: common: Add BT hexdump
Added BT alisa for dumping binary data to the logg. The macro will be useful for BT as reworked settings supports r/w of raw data - which will be widely leveraged in bluetooth storage alignment to reworked settings. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
This commit is contained in:
parent
cb92c95aab
commit
c2e7847daa
1 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,9 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
|
|||
k_oops(); \
|
||||
}
|
||||
|
||||
#define BT_HEXDUMP_DBG(_data, _length, _str) \
|
||||
LOG_HEXDUMP_DBG((const u8_t *)_data, _length, _str)
|
||||
|
||||
const char *bt_hex_real(const void *buf, size_t len);
|
||||
const char *bt_addr_str_real(const bt_addr_t *addr);
|
||||
const char *bt_addr_le_str_real(const bt_addr_le_t *addr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue