Ac6 Training Logo
Training Consulting Tools
xref: /Zephyr-4.1.0/tests/bluetooth/host/cs/mocks/conn.c
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2024 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include "mocks/conn.h"
8 
9 #include <zephyr/kernel.h>
10 
11 DEFINE_FAKE_VOID_FUNC(bt_conn_unref, struct bt_conn *);
12 DEFINE_FAKE_VALUE_FUNC(struct bt_conn *, bt_conn_lookup_handle, uint16_t, enum bt_conn_type);
13 DEFINE_FAKE_VOID_FUNC(notify_remote_cs_capabilities, struct bt_conn *,
14 		      struct bt_conn_le_cs_capabilities);
15 DEFINE_FAKE_VOID_FUNC(notify_remote_cs_fae_table, struct bt_conn *, struct bt_conn_le_cs_fae_table);
16 DEFINE_FAKE_VOID_FUNC(notify_cs_config_created, struct bt_conn *, struct bt_conn_le_cs_config *);
17 DEFINE_FAKE_VOID_FUNC(notify_cs_config_removed, struct bt_conn *, uint8_t);
18 DEFINE_FAKE_VOID_FUNC(notify_cs_subevent_result, struct bt_conn *,
19 		      struct bt_conn_le_cs_subevent_result *);
20 DEFINE_FAKE_VOID_FUNC(notify_cs_security_enable_available, struct bt_conn *);
21 DEFINE_FAKE_VOID_FUNC(notify_cs_procedure_enable_available, struct bt_conn *,
22 		      struct bt_conn_le_cs_procedure_enable_complete *);
23 

served by {OpenGrok

Last Index Update: Sat Dec 20 03:01:31 CET 2025

CodEx Logo