1 /* Copyright (c) 2022 Nordic Semiconductor ASA 2 * SPDX-License-Identifier: Apache-2.0 3 */ 4 5 #include <zephyr/bluetooth/bluetooth.h> 6 #include <zephyr/bluetooth/uuid.h> 7 8 /* NOTE: These helper functions always encodes into the same buffer storage. 9 * It is the responsibility of the user of this function to copy the information 10 * in this string if needed. 11 * 12 * NOTE: These functions are not thread-safe! 13 */ 14 const char *bt_hex(const void *buf, size_t len); 15 const char *bt_addr_str(const bt_addr_t *addr); 16 const char *bt_addr_le_str(const bt_addr_le_t *addr); 17 const char *bt_uuid_str(const struct bt_uuid *uuid); 18