aboutsummaryrefslogtreecommitdiff
path: root/src/sample/ble_audio_ba/ble_audio_ba_role.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sample/ble_audio_ba/ble_audio_ba_role.h')
-rw-r--r--src/sample/ble_audio_ba/ble_audio_ba_role.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/sample/ble_audio_ba/ble_audio_ba_role.h b/src/sample/ble_audio_ba/ble_audio_ba_role.h
new file mode 100644
index 0000000..aa18f5e
--- /dev/null
+++ b/src/sample/ble_audio_ba/ble_audio_ba_role.h
@@ -0,0 +1,37 @@
+/**
+*****************************************************************************************
+* Copyright(c) 2017, Realtek Semiconductor Corporation. All rights reserved.
+*****************************************************************************************
+ * @file ble_audio_ba_app.h
+ * @brief This file handles BLE BT5 central application routines.
+ * @author jane
+ * @date 2017-06-06
+ * @version v1.0
+ **************************************************************************************
+ * @attention
+ * <h2><center>&copy; COPYRIGHT 2017 Realtek Semiconductor Corporation</center></h2>
+ **************************************************************************************
+ */
+
+#ifndef _BLE_AUDIO_BA_ROLE_H_
+#define _BLE_AUDIO_BA_ROLE_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+#include "bass_def.h"
+
+bool app_ble_audio_profile_init(void);
+void app_ble_audio_handle_adv_report(T_LE_EXT_ADV_REPORT_INFO *p_report);
+bool app_ble_audio_pa_sync(T_DEV_INFO *p_dev_info);
+bool app_ble_audio_stop_pa_sync(bool need_release);
+//bass cp
+bool app_ble_audio_add_source(T_BLE_LINK *p_link, T_BASS_PA_SYNC pa_sync, uint32_t bis_array);
+bool app_ble_audio_modify_source(T_BLE_LINK *p_link, T_BASS_PA_SYNC pa_sync, uint32_t bis_array);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+