zephyr/tests/bluetooth/audio/mocks/include/bap_broadcast_source.h
Emil Gydesen ab9ee0817d Bluetooth: BAP: Add broadcast source callback structs
These callbacks are trigger for changes that affect the entire
broadcast source, such as the BIG started and terminated events.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-12-06 15:17:06 +01:00

23 lines
630 B
C

/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef MOCKS_BAP_BROADCAST_SOURCE_H_
#define MOCKS_BAP_BROADCAST_SOURCE_H_
#include <stdint.h>
#include <zephyr/bluetooth/audio/bap.h>
#include <zephyr/fff.h>
extern struct bt_bap_broadcast_source_cb mock_bap_broadcast_source_cb;
void mock_bap_broadcast_source_init(void);
DECLARE_FAKE_VOID_FUNC(mock_bap_broadcast_source_started_cb, struct bt_bap_broadcast_source *);
DECLARE_FAKE_VOID_FUNC(mock_bap_broadcast_source_stopped_cb, struct bt_bap_broadcast_source *,
uint8_t);
#endif /* MOCKS_BAP_BROADCAST_SOURCE_H_ */