1 /*
2  * Copyright (c) 2023 Codecoup
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef MOCKS_GATT_H_
8 #define MOCKS_GATT_H_
9 
10 #include <zephyr/fff.h>
11 #include <zephyr/bluetooth/gatt.h>
12 
13 void mock_bt_gatt_init(void);
14 void mock_bt_gatt_cleanup(void);
15 
16 DECLARE_FAKE_VALUE_FUNC(int, mock_bt_gatt_notify_cb, struct bt_conn *,
17 			struct bt_gatt_notify_params *);
18 DECLARE_FAKE_VALUE_FUNC(bool, mock_bt_gatt_is_subscribed, struct bt_conn *,
19 			const struct bt_gatt_attr *, uint16_t);
20 
21 void bt_gatt_notify_cb_reset(void);
22 uint16_t bt_gatt_get_mtu(struct bt_conn *conn);
23 
24 #endif /* MOCKS_GATT_H_ */
25