1 /* 2 * Copyright (c) 2017-2021 Nordic Semiconductor ASA 3 * Copyright (c) 2015-2016 Intel Corporation 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8 #include <stdbool.h> 9 10 #include <zephyr/bluetooth/bluetooth.h> 11 12 void bt_le_adv_resume(void); 13 14 struct bt_le_ext_adv *bt_le_adv_lookup_legacy(void); 15 16 void bt_le_adv_delete_legacy(void); 17 int bt_le_adv_set_enable(struct bt_le_ext_adv *adv, bool enable); 18 19 void bt_le_ext_adv_foreach(void (*func)(struct bt_le_ext_adv *adv, void *data), 20 void *data); 21 22 int bt_le_adv_set_enable_ext(struct bt_le_ext_adv *adv, 23 bool enable, 24 const struct bt_le_ext_adv_start_param *param); 25 int bt_le_adv_set_enable_legacy(struct bt_le_ext_adv *adv, bool enable); 26 int bt_le_lim_adv_cancel_timeout(struct bt_le_ext_adv *adv); 27 void bt_adv_reset_adv_pool(void); 28