This commit is contained in:
huxi
2025-12-03 11:12:34 +08:00
parent c23ae4f24c
commit bc195654bf
8163 changed files with 3799544 additions and 92 deletions
@@ -0,0 +1,37 @@
#ifndef _MULTI_PROTOCOL_MAIN_H_
#define _MULTI_PROTOCOL_MAIN_H_
#include "system/includes.h"
#include "btstack/btstack_task.h"
#include "btstack/bluetooth.h"
#include "bt_common.h"
#include "app_ble_spp_api.h"
#include "app_config.h"
#include "classic/tws_api.h"
#include "classic/tws_event.h"
#include "btstack/avctp_user.h"
#include "app_main.h"
enum {
//Q_USER =0x400000
MULTI_PROTOCOL_RX_DATA_EVENT = (Q_USER + 100),
MULTI_PROTOCOL_TX_DATA_EVENT,
MULTI_PROTOCOL_TASK_EXIT,
};
#if (BT_AI_SEL_PROTOCOL & RCSP_MODE_EN)
extern const uint8_t rcsp_profile_data[];
#endif
extern void multi_protocol_bt_init(void);
extern void multi_protocol_bt_exit(void);
extern void bt_ble_adv_enable(u8 enable);
extern void multi_protocol_common_callback_init(void);
extern void multi_protocol_common_callback_exit(void);
extern void multi_protocol_bt_tws_poweroff_handler(void);
extern void multi_protocol_state_update_callback(void *_hdl, uint8_t state, uint8_t *packet, uint16_t size);
extern void multi_protocol_tws_sync_send(void);
extern void wechat_sport_init();
#endif