1 /* 2 * Copyright (c) 2022 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/bluetooth/addr.h> 8 #include <zephyr/fff.h> 9 #include <zephyr/kernel.h> 10 11 /* List of fakes used by this unit tester */ 12 #define HCI_CORE_FFF_FAKES_LIST(FAKE) \ 13 FAKE(bt_unpair) \ 14 FAKE(bt_hci_cmd_create) \ 15 FAKE(bt_hci_cmd_send_sync) 16 17 DECLARE_FAKE_VALUE_FUNC(int, bt_unpair, uint8_t, const bt_addr_le_t *); 18 DECLARE_FAKE_VALUE_FUNC(struct net_buf *, bt_hci_cmd_create, uint16_t, uint8_t); 19 DECLARE_FAKE_VALUE_FUNC(int, bt_hci_cmd_send_sync, uint16_t, struct net_buf *, struct net_buf **); 20