This commit is contained in:
lmx
2025-10-30 11:33:38 +08:00
parent 7567ddc088
commit c21ac0ab82
34 changed files with 208045 additions and 207243 deletions

View File

@ -70,6 +70,9 @@
#include "bt_background.h"
#include "default_event_handler.h"
// 为xtell传感器模块声明外部SPP处理函数
extern void xtell_spp_data_handler(u8 packet_type, u16 ch, u8 *packet, u16 size);
#ifdef CONFIG_BOARD_AISPEECH_VAD_ASR
extern int ais_platform_asr_open(void);
extern void ais_platform_asr_close(void);
@ -489,6 +492,11 @@ void spp_data_handler(u8 packet_type, u16 ch, u8 *packet, u16 size)
#endif
break;
}
// 将SPP事件转发给xtell传感器模块处理
if (xtell_spp_data_handler) {
xtell_spp_data_handler(packet_type, ch, packet, size);
}
}
extern const char *sdk_version_info_get(void);