1 /* Copyright (c) 2024 Nordic Semiconductor ASA 2 * SPDX-License-Identifier: Apache-2.0 3 */ 4 5 #ifndef ZEPHYR_TESTS_BLUETOOTH_COMMON_TESTLIB_INCLUDE_TESTLIB_ADDR_H_ 6 #define ZEPHYR_TESTS_BLUETOOTH_COMMON_TESTLIB_INCLUDE_TESTLIB_ADDR_H_ 7 8 #include <stdint.h> 9 10 #include <zephyr/bluetooth/addr.h> 11 #include <zephyr/bluetooth/byteorder.h> 12 13 /** Bluetooth LE static random address */ 14 #define BT_TESTLIB_ADDR_LE_RANDOM_C0_00_00_00_00_(last) \ 15 ((bt_addr_le_t){ \ 16 .type = BT_ADDR_LE_RANDOM, \ 17 .a = {{last, 0x00, 0x00, 0x00, 0x00, 0xc0}}, \ 18 }) 19 20 #endif /* ZEPHYR_TESTS_BLUETOOTH_COMMON_TESTLIB_INCLUDE_TESTLIB_ADDR_H_ */ 21