1 /*
2  * Copyright (c) 2025 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_TESTS_BSIM_BLUETOOTH_HOST_GATT_DEVICE_NAME_SRC_COMMON_H_
8 #define ZEPHYR_TESTS_BSIM_BLUETOOTH_HOST_GATT_DEVICE_NAME_SRC_COMMON_H_
9 
10 #include <stddef.h>
11 #include <stdint.h>
12 
13 #include <zephyr/bluetooth/bluetooth.h>
14 
15 #define ADVERTISER_NAME "Advertiser Pro II"
16 
generate_name(uint8_t * name,size_t length)17 static void generate_name(uint8_t *name, size_t length)
18 {
19 	for (size_t i = 0; i < length; i++) {
20 		name[i] = (i % 26) + 97;
21 	}
22 }
23 
24 #endif /* ZEPHYR_TESTS_BSIM_BLUETOOTH_HOST_DEVICE_NAME_CLEAR_SRC_COMMON_H_ */
25