ble测试存档
This commit is contained in:
4
Makefile
4
Makefile
@ -611,13 +611,13 @@ c_SRC_FILES := \
|
||||
cpu/br28/uart_dev.c \
|
||||
cpu/br28/umidigi_chargestore.c \
|
||||
apps/common/colorful_lights/colorful_lights.c \
|
||||
apps/earphone/xtell_Sensor/xtell_app_main.c \
|
||||
apps/earphone/xtell_Sensor/xtell_handler.c \
|
||||
|
||||
|
||||
|
||||
# 定义需要自动搜索 .c 文件的目录列表
|
||||
C_SRC_DIRS := \
|
||||
apps/earphone/remote_control \
|
||||
apps/earphone/xtell_Sensor \
|
||||
|
||||
# 使用 shell 的 find 命令递归查找所有 .c 文件
|
||||
# foreach 遍历 C_SRC_DIRS 中的每一个目录
|
||||
|
||||
@ -0,0 +1,235 @@
|
||||
#include "RC_app_main.h"
|
||||
#include "nvs.h"
|
||||
#include "timer.h"
|
||||
#include "system/includes.h"
|
||||
|
||||
// 包含BLE HID相关的API
|
||||
#include "earphone.h" // 宏定义 EARPHONE_STATE_...
|
||||
|
||||
// =================================================================================
|
||||
// 宏定义与日志
|
||||
// =================================================================================
|
||||
|
||||
#define RC_LOG_ENABLE 1
|
||||
#if RC_LOG_ENABLE
|
||||
#define rc_log(format, ...) printf("[RC_APP] " format, ##__VA_ARGS__)
|
||||
#else
|
||||
#define rc_log(format, ...)
|
||||
#endif
|
||||
|
||||
// =================================================================================
|
||||
// 外部函数声明
|
||||
// =================================================================================
|
||||
extern void TYPE_V_EVENT(char* uid);
|
||||
|
||||
|
||||
// =================================================================================
|
||||
// 静态函数声明
|
||||
// =================================================================================
|
||||
|
||||
static RFID_Device_Type_t get_rfid_device_type(const u8* uid);
|
||||
|
||||
// BLE 状态转换的辅助函数
|
||||
static void rc_ble_state_set_connecting(void);
|
||||
static void rc_ble_state_set_connected(void);
|
||||
static void rc_ble_state_set_disconnected(void);
|
||||
|
||||
// =================================================================================
|
||||
// 全局变量
|
||||
// =================================================================================
|
||||
|
||||
static RC_Context_t g_rc_context; // 全局上下文实例
|
||||
static u16 g_rfid_timer_id = 0; // RFID 定时器ID
|
||||
static u16 g_ble_timer_id = 0; // BLE 定时器ID
|
||||
|
||||
|
||||
// =================================================================================
|
||||
// 核心回调函数 (Core Callback Handlers)
|
||||
// =================================================================================
|
||||
|
||||
/**
|
||||
* @brief RFID回调处理函数 (由定时器周期性调用)
|
||||
*/
|
||||
void rc_rfid_callback_handler(void *priv)
|
||||
{
|
||||
u8 uid[UID_LENGTH] = {0};
|
||||
|
||||
TYPE_V_EVENT((char *)uid);
|
||||
|
||||
u8 is_new_data = 0;
|
||||
for (int i = 0; i < UID_LENGTH; i++) {
|
||||
if (uid[i] != 0x00) {
|
||||
is_new_data = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!is_new_data) {
|
||||
return;
|
||||
}
|
||||
|
||||
rc_log("New RFID card detected.\n");
|
||||
|
||||
RFID_Device_Type_t device_type = get_rfid_device_type(uid);
|
||||
|
||||
switch (device_type) {
|
||||
case RFID_DEVICE_TYPE_MAIN_BOARD:
|
||||
rc_log("Device is Main Board. Storing MAC...\n");
|
||||
if (ble_hid_is_connected()) {
|
||||
// 先停止扫描和连接尝试,实现断开
|
||||
EARPHONE_STATE_CANCEL_PAGE_SCAN();
|
||||
}
|
||||
// 将新的MAC地址写入Flash
|
||||
nvs_write_main_board_mac(uid);
|
||||
// 重新启动扫描,以连接到新的主板
|
||||
EARPHONE_STATE_SET_PAGE_SCAN_ENABLE();
|
||||
break;
|
||||
|
||||
case RFID_DEVICE_TYPE_REMOTE_CONTROL:
|
||||
rc_log("Device is another Remote Control.\n");
|
||||
if (g_rc_context.state == RC_STATE_CONNECTED) {
|
||||
rc_log("Sending teaming request to main board...\n");
|
||||
// report_id 1 通常用于标准键盘/消费者报告
|
||||
ble_hid_data_send(1, uid, UID_LENGTH);
|
||||
} else {
|
||||
rc_log("Not connected to main board, ignoring teaming request.\n");
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
rc_log("Unknown RFID device type.\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief BLE回调处理函数 (由定时器周期性调用)
|
||||
*/
|
||||
void rc_ble_callback_handler(void *priv)
|
||||
{
|
||||
bool is_connected = ble_hid_is_connected();
|
||||
|
||||
// 状态机转换
|
||||
if (is_connected && g_rc_context.state != RC_STATE_CONNECTED) {
|
||||
rc_ble_state_set_connected();
|
||||
} else if (!is_connected && g_rc_context.state != RC_STATE_DISCONNECTED) {
|
||||
rc_ble_state_set_disconnected();
|
||||
}
|
||||
|
||||
// 状态机行为
|
||||
switch (g_rc_context.state) {
|
||||
case RC_STATE_DISCONNECTED:
|
||||
{
|
||||
u8 target_mac[MAC_ADDR_LENGTH] = {0};
|
||||
// 检查Flash中是否有已配对的MAC
|
||||
if (nvs_read_main_board_mac(target_mac) > 0) {
|
||||
rc_log("Found paired MAC. Start scanning...\n");
|
||||
// 启动扫描和连接。SDK的HID实现会自动连接到已配对的设备。
|
||||
EARPHONE_STATE_SET_PAGE_SCAN_ENABLE();
|
||||
} else {
|
||||
rc_log("No paired MAC found. Waiting for RFID pairing...\n");
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case RC_STATE_CONNECTING:
|
||||
// 在这个状态下,我们只是等待 is_connected 变为 true
|
||||
rc_log("Waiting for connection result...\n");
|
||||
break;
|
||||
|
||||
case RC_STATE_CONNECTED:
|
||||
// 已连接,目前无需周期性操作
|
||||
// rc_log("BLE is connected.\n");
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 根据UID前缀判断设备类型
|
||||
*/
|
||||
static RFID_Device_Type_t get_rfid_device_type(const u8* uid)
|
||||
{
|
||||
if (uid == NULL) {
|
||||
return RFID_DEVICE_TYPE_UNKNOWN;
|
||||
}
|
||||
|
||||
// 根据 RC_app_main.h 中定义的UID前缀进行判断
|
||||
if (uid[0] == UID_PREFIX_MAIN_BOARD) {
|
||||
return RFID_DEVICE_TYPE_MAIN_BOARD;
|
||||
} else if (uid[0] == UID_PREFIX_REMOTE_CONTROL) {
|
||||
return RFID_DEVICE_TYPE_REMOTE_CONTROL;
|
||||
}
|
||||
|
||||
return RFID_DEVICE_TYPE_UNKNOWN;
|
||||
}
|
||||
// =================================================================================
|
||||
// 辅助函数 (Helper Functions)
|
||||
// =================================================================================
|
||||
|
||||
/**
|
||||
* @brief 进入 CONNECTING 状态的逻辑
|
||||
*/
|
||||
static void rc_ble_state_set_connecting(void)
|
||||
{
|
||||
rc_log("State transition to -> CONNECTING\n");
|
||||
g_rc_context.state = RC_STATE_CONNECTING;
|
||||
// 可以在这里控制LED灯效,例如黄灯呼吸闪烁
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 进入 CONNECTED 状态的逻辑
|
||||
*/
|
||||
static void rc_ble_state_set_connected(void)
|
||||
{
|
||||
rc_log("State transition to -> CONNECTED\n");
|
||||
g_rc_context.state = RC_STATE_CONNECTED;
|
||||
// 停止扫描以省电
|
||||
EARPHONE_STATE_CANCEL_PAGE_SCAN();
|
||||
|
||||
// 发送指令,要求主板连接遥控器的经典蓝牙
|
||||
u8 classic_conn_req_payload[] = {0x01, 0x02, 0x03};
|
||||
rc_log("Sending request for classic BT connection.\n");
|
||||
ble_hid_data_send(0xFE, classic_conn_req_payload, sizeof(classic_conn_req_payload));
|
||||
|
||||
// 在这里控制LED灯效,例如蓝灯呼吸闪烁三次后熄灭
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 进入 DISCONNECTED 状态的逻辑
|
||||
*/
|
||||
static void rc_ble_state_set_disconnected(void)
|
||||
{
|
||||
rc_log("State transition to -> DISCONNECTED\n");
|
||||
g_rc_context.state = RC_STATE_DISCONNECTED;
|
||||
// 在这里控制LED灯效,例如黄灯呼吸闪烁
|
||||
}
|
||||
|
||||
// 初始化函数 (Initialization Function)
|
||||
// =================================================================================
|
||||
|
||||
/**
|
||||
* @brief 遥控器应用主初始化函数
|
||||
*/
|
||||
void rc_app_main_init(void)
|
||||
{
|
||||
rc_log("Initializing Remote Control App...\n");
|
||||
|
||||
// 1. 初始化全局上下文
|
||||
memset(&g_rc_context, 0, sizeof(RC_Context_t));
|
||||
g_rc_context.state = RC_STATE_DISCONNECTED; // 初始状态为未连接
|
||||
|
||||
// 2. 检查并启动RFID处理定时器
|
||||
if (g_rfid_timer_id == 0) {
|
||||
g_rfid_timer_id = sys_timer_add(NULL, rc_rfid_callback_handler, RC_RFID_CALLBACK_INTERVAL_MS);
|
||||
rc_log("RFID handler timer started (ID: %d).\n", g_rfid_timer_id);
|
||||
}
|
||||
|
||||
// 3. 检查并启动BLE处理定时器
|
||||
if (g_ble_timer_id == 0) {
|
||||
g_ble_timer_id = sys_timer_add(NULL, rc_ble_callback_handler, RC_BLE_CALLBACK_INTERVAL_MS);
|
||||
rc_log("BLE handler timer started (ID: %d).\n", g_ble_timer_id);
|
||||
}
|
||||
}
|
||||
93
apps/earphone/remote_control/RC_app_main.h
Normal file
93
apps/earphone/remote_control/RC_app_main.h
Normal file
@ -0,0 +1,93 @@
|
||||
#ifndef __RC_APP_MAIN_H__
|
||||
#define __RC_APP_MAIN_H__
|
||||
|
||||
#include "typedef.h"
|
||||
|
||||
// =================================================================================
|
||||
// 常量定义 (Constants)
|
||||
// =================================================================================
|
||||
|
||||
// 假设UID的前1个字节用于区分设备类型
|
||||
#define UID_PREFIX_MAIN_BOARD 0xA1 // 主板UID前缀
|
||||
#define UID_PREFIX_REMOTE_CONTROL 0xA2 // 遥控器UID前缀
|
||||
|
||||
#define UID_LENGTH 8 // RFID UID 的标准长度
|
||||
#define MAC_ADDR_LENGTH 6 // 蓝牙MAC地址的长度
|
||||
|
||||
// 定时器调用间隔 (ms)
|
||||
#define RC_RFID_CALLBACK_INTERVAL_MS 500 // RFID轮询间隔,500ms
|
||||
#define RC_BLE_CALLBACK_INTERVAL_MS 1000 // BLE状态机处理间隔, 1s
|
||||
|
||||
// =================================================================================
|
||||
// 枚举与结构体定义 (Enums & Structs)
|
||||
// =================================================================================
|
||||
|
||||
/**
|
||||
* @brief 遥控器核心状态机
|
||||
*/
|
||||
typedef enum {
|
||||
RC_STATE_IDLE, // 空闲状态,等待初始化
|
||||
RC_STATE_DISCONNECTED, // 未连接主板 (正在扫描或等待)
|
||||
RC_STATE_CONNECTING, // 正在连接主板
|
||||
RC_STATE_CONNECTED, // 已连接主板
|
||||
} RC_State_t;
|
||||
|
||||
/**
|
||||
* @brief RFID读取到的设备类型
|
||||
*/
|
||||
typedef enum {
|
||||
RFID_DEVICE_TYPE_UNKNOWN, // 未知设备
|
||||
RFID_DEVICE_TYPE_MAIN_BOARD, // 船体主板
|
||||
RFID_DEVICE_TYPE_REMOTE_CONTROL // 其他遥控器
|
||||
} RFID_Device_Type_t;
|
||||
|
||||
/**
|
||||
* @brief 遥控器应用全局上下文
|
||||
*/
|
||||
typedef struct {
|
||||
RC_State_t state; // 当前状态机状态
|
||||
u8 paired_mac_addr[MAC_ADDR_LENGTH]; // 已配对主板的MAC地址
|
||||
// ... 可在此处添加更多运行时需要管理的数据
|
||||
} RC_Context_t;
|
||||
|
||||
|
||||
// =================================================================================
|
||||
// 公共函数声明 (Public Function Prototypes)
|
||||
// =================================================================================
|
||||
|
||||
/**
|
||||
* @brief 遥控器应用主初始化函数
|
||||
* @details
|
||||
* - 初始化全局上下文
|
||||
* - 设置并启动RFID和BLE处理定时器
|
||||
*/
|
||||
void rc_app_main_init(void);
|
||||
|
||||
/**
|
||||
* @brief RFID回调处理函数 (由定时器周期性调用)
|
||||
* @details
|
||||
* - 调用RFID读取函数
|
||||
* - 分析UID并执行相应逻辑 (配对/组队)
|
||||
*/
|
||||
void rc_rfid_callback_handler(void *priv);
|
||||
|
||||
/**
|
||||
* @brief BLE回调处理函数 (由定时器周期性调用)
|
||||
* @details
|
||||
* - 维护与主板的BLE连接状态
|
||||
* - 处理断线重连等
|
||||
*/
|
||||
void rc_ble_callback_handler(void *priv);
|
||||
|
||||
/**
|
||||
* @brief BLE连接状态回调 (由蓝牙协议栈调用)
|
||||
* @param status 0: 成功, 其他: 失败
|
||||
* @param addr 连接或断开的设备地址
|
||||
* @details
|
||||
* - 在BLE连接成功后,请求主板连接经典蓝牙
|
||||
* - 更新连接状态
|
||||
*/
|
||||
// void rc_ble_connection_status_callback(u8 status, u8 *addr); // No longer needed
|
||||
|
||||
|
||||
#endif // __RC_APP_MAIN_H__
|
||||
@ -168,7 +168,7 @@ void TYPE_B_EVENT(void)
|
||||
* 6. 操作结束后关闭RF场。
|
||||
* @return 无。
|
||||
*/
|
||||
void TYPE_V_EVENT(void)
|
||||
void TYPE_V_EVENT(char* uid)
|
||||
{
|
||||
unsigned char result, i;
|
||||
xlog("TYPE_V_EVENT begin\n");
|
||||
@ -188,6 +188,7 @@ void TYPE_V_EVENT(void)
|
||||
xlog("UID=");
|
||||
for (i = 0; i < 8; i++)
|
||||
{
|
||||
uid[i] = PICC_V.UID[i];
|
||||
xlog("%02X", PICC_V.UID[i]);
|
||||
}
|
||||
xlog("\r\n");
|
||||
@ -298,6 +299,6 @@ void rfid_task_fuc(void)
|
||||
|
||||
// TYPE_A_EVENT();
|
||||
// TYPE_B_EVENT();
|
||||
TYPE_V_EVENT();
|
||||
// TYPE_V_EVENT();
|
||||
// TYPE_F_EVENT();
|
||||
}
|
||||
|
||||
@ -2,61 +2,73 @@
|
||||
#include "system/syscfg_id.h"
|
||||
#include "nvs.h"
|
||||
|
||||
// 2. 定义一个唯一的配置项ID (必须在1-49之间)
|
||||
#define CFG_FACTORY_INFO_ID 10
|
||||
// 2. 定义唯一的配置项ID
|
||||
#define CFG_FACTORY_INFO_ID 10 // 旧的、通用的出厂信息ID (已废弃)
|
||||
#define CFG_RC_MAC_ADDR_ID 11 // 新的、专门用于存储遥控器配对MAC的ID
|
||||
|
||||
/**
|
||||
* @brief 将出厂信息写入Flash
|
||||
*
|
||||
* @param info 指向要写入的出厂信息结构体的指针
|
||||
* @return 实际写入的长度, <0: 失败
|
||||
* @brief 将主板MAC地址写入Flash
|
||||
*/
|
||||
int nvs_write_factory_info(const factory_info_t *info)
|
||||
int nvs_write_main_board_mac(const u8 *mac_addr)
|
||||
{
|
||||
if (!info) {
|
||||
if (!mac_addr) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
printf("--> Writing factory info to flash...\n");
|
||||
int ret = syscfg_write(CFG_FACTORY_INFO_ID, (void*)info, sizeof(factory_info_t));
|
||||
if (ret != sizeof(factory_info_t)) {
|
||||
printf("!!! syscfg_write factory info failed, ret = %d\n", ret);
|
||||
rc_nvs_data_t nvs_data;
|
||||
memcpy(nvs_data.main_board_mac, mac_addr, MAIN_BOARD_MAC_ADDR_LENGTH);
|
||||
|
||||
printf("--> Writing main board MAC to flash...\n");
|
||||
int ret = syscfg_write(CFG_RC_MAC_ADDR_ID, &nvs_data, sizeof(rc_nvs_data_t));
|
||||
if (ret != sizeof(rc_nvs_data_t)) {
|
||||
printf("!!! syscfg_write main board MAC failed, ret = %d\n", ret);
|
||||
} else {
|
||||
printf("--> syscfg_write factory info success.\n");
|
||||
printf("--> syscfg_write main board MAC success.\n");
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 从Flash读取出厂信息
|
||||
*
|
||||
* @param info 指向用于存储读取数据的出厂信息结构体的指针
|
||||
* @return 实际读取的长度, <0: 失败 (例如尚未写入过)
|
||||
* @brief 从Flash读取主板MAC地址
|
||||
*/
|
||||
int nvs_read_factory_info(factory_info_t *info)
|
||||
int nvs_read_main_board_mac(u8 *mac_addr)
|
||||
{
|
||||
if (!info) {
|
||||
if (!mac_addr) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
printf("--> Reading factory info from flash...\n");
|
||||
int ret = syscfg_read(CFG_FACTORY_INFO_ID, (void*)info, sizeof(factory_info_t));
|
||||
if (ret != sizeof(factory_info_t)) {
|
||||
printf("!!! syscfg_read factory info failed, ret = %d. Maybe not set yet.\n", ret);
|
||||
// 如果读取失败,清空结构体以避免使用脏数据
|
||||
memset(info, 0, sizeof(factory_info_t));
|
||||
rc_nvs_data_t nvs_data;
|
||||
printf("--> Reading main board MAC from flash...\n");
|
||||
int ret = syscfg_read(CFG_RC_MAC_ADDR_ID, &nvs_data, sizeof(rc_nvs_data_t));
|
||||
|
||||
if (ret != sizeof(rc_nvs_data_t)) {
|
||||
printf("!!! syscfg_read main board MAC failed, ret = %d. Maybe not set yet.\n", ret);
|
||||
memset(mac_addr, 0, MAIN_BOARD_MAC_ADDR_LENGTH);
|
||||
} else {
|
||||
printf("--> syscfg_read factory info success.\n");
|
||||
// 可以在这里打印读取到的信息以供调试
|
||||
printf(" Product ID: %s\n", info->product_id);
|
||||
printf(" Serial No: %s\n", info->serial_number);
|
||||
printf(" HW Version: 0x%x\n", info->hw_version);
|
||||
printf("--> syscfg_read main board MAC success.\n");
|
||||
memcpy(mac_addr, nvs_data.main_board_mac, MAIN_BOARD_MAC_ADDR_LENGTH);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
// =================================================================================
|
||||
// 以下为旧的通用出厂信息API,已废弃
|
||||
// =================================================================================
|
||||
|
||||
int nvs_write_factory_info(const factory_info_t *info)
|
||||
{
|
||||
printf("WARNING: nvs_write_factory_info is deprecated.\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
int nvs_read_factory_info(factory_info_t *info)
|
||||
{
|
||||
printf("WARNING: nvs_read_factory_info is deprecated.\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 清空Flash中的出厂信息
|
||||
*
|
||||
|
||||
@ -3,42 +3,55 @@
|
||||
|
||||
#include "typedef.h"
|
||||
|
||||
// 定义出厂信息数据结构
|
||||
typedef struct {
|
||||
char product_id[16]; // 产品ID
|
||||
char serial_number[32]; // 序列号
|
||||
u16 hw_version; // 硬件版本
|
||||
u16 cal_data; // 某个校准数据
|
||||
u32 manufacture_date; // 生产日期 (Unix时间戳)
|
||||
} factory_info_t;
|
||||
#define MAIN_BOARD_MAC_ADDR_LENGTH 6
|
||||
|
||||
/**
|
||||
* @brief 将出厂信息写入Flash
|
||||
* @brief 定义用于存储遥控器配对信息的数据结构
|
||||
*/
|
||||
typedef struct {
|
||||
u8 main_board_mac[MAIN_BOARD_MAC_ADDR_LENGTH]; // 配对的主板MAC地址
|
||||
// u8 reserved[2]; // 可选的保留字节,用于对齐或未来扩展
|
||||
} rc_nvs_data_t;
|
||||
|
||||
/**
|
||||
* @brief 将主板MAC地址写入Flash
|
||||
*
|
||||
* @param info 指向要写入的出厂信息结构体的指针
|
||||
* @param mac_addr 指向要写入的MAC地址数组的指针
|
||||
* @return 实际写入的长度, <0: 失败
|
||||
*/
|
||||
int nvs_write_factory_info(const factory_info_t *info);
|
||||
int nvs_write_main_board_mac(const u8 *mac_addr);
|
||||
|
||||
/**
|
||||
* @brief 从Flash读取出厂信息
|
||||
* @brief 从Flash读取主板MAC地址
|
||||
*
|
||||
* @param info 指向用于存储读取数据的出厂信息结构体的指针
|
||||
* @param mac_addr 指向用于存储读取数据的MAC地址数组的指针
|
||||
* @return 实际读取的长度, <0: 失败 (例如尚未写入过)
|
||||
*/
|
||||
int nvs_read_main_board_mac(u8 *mac_addr);
|
||||
|
||||
|
||||
// =================================================================================
|
||||
// 以下为旧的通用出厂信息API,已废弃,不建议在新代码中使用
|
||||
// =================================================================================
|
||||
|
||||
typedef struct {
|
||||
char product_id[16];
|
||||
char serial_number[32];
|
||||
u16 hw_version;
|
||||
u16 cal_data;
|
||||
u32 manufacture_date;
|
||||
} factory_info_t;
|
||||
|
||||
__attribute__((deprecated("Use nvs_write_main_board_mac instead")))
|
||||
int nvs_write_factory_info(const factory_info_t *info);
|
||||
|
||||
__attribute__((deprecated("Use nvs_read_main_board_mac instead")))
|
||||
int nvs_read_factory_info(factory_info_t *info);
|
||||
|
||||
/**
|
||||
* @brief 清空Flash中的出厂信息
|
||||
*
|
||||
* @return 0: 成功, <0: 失败
|
||||
*/
|
||||
__attribute__((deprecated("This function is no longer needed")))
|
||||
int nvs_clear_factory_info(void);
|
||||
|
||||
/**
|
||||
* @brief 用于测试NVS读写功能的函数
|
||||
*
|
||||
*/
|
||||
__attribute__((deprecated("This function is no longer needed")))
|
||||
void nvs_test_factory_info(void);
|
||||
|
||||
#endif // __NVS_H__
|
||||
267
apps/earphone/xtell_Sensor/ble_test.c
Normal file
267
apps/earphone/xtell_Sensor/ble_test.c
Normal file
@ -0,0 +1,267 @@
|
||||
#include "system/app_core.h"
|
||||
#include "system/includes.h"
|
||||
#include "btstack/btstack_task.h"
|
||||
#include "btstack/bluetooth.h"
|
||||
#include "le_common.h"
|
||||
#include "ble_user.h"
|
||||
|
||||
#if 1 //ENABLE_THIS_TEST
|
||||
|
||||
#define LOG_TAG_CONST EARPHONE
|
||||
#define LOG_TAG "[BLE_TEST]"
|
||||
#define LOG_ERROR_ENABLE
|
||||
#define LOG_DEBUG_ENABLE
|
||||
#define LOG_INFO_ENABLE
|
||||
#include "debug.h"
|
||||
|
||||
// =================== 配置区 START ===================
|
||||
|
||||
// 1. 设置要连接的目标从机设备蓝牙名称
|
||||
#define TARGET_BLE_NAME "CM-22222"
|
||||
|
||||
// 2. 设置要搜索的 Service UUID 和 Characteristic UUID
|
||||
// Service UUID: 0x180D
|
||||
#define TARGET_SERVICE_UUID16 0x180D
|
||||
// Characteristic UUID: 0x2A37 (Notify)
|
||||
#define TARGET_CHARACTERISTIC_UUID16 0x2A37
|
||||
#define TARGET_CHARACTERISTIC_OPT_TYPE ATT_PROPERTY_NOTIFY
|
||||
|
||||
// =================== 配置区 END =====================
|
||||
|
||||
// ATT RAM buffer
|
||||
#define ATT_LOCAL_MTU_SIZE (517)
|
||||
#define ATT_SEND_CBUF_SIZE (256)
|
||||
#define ATT_RAM_BUFSIZE (ATT_CTRL_BLOCK_SIZE + ATT_LOCAL_MTU_SIZE + ATT_SEND_CBUF_SIZE)
|
||||
static u8 att_ram_buffer[ATT_RAM_BUFSIZE] __attribute__((aligned(4)));
|
||||
|
||||
// Profile 搜索 buffer
|
||||
#define SEARCH_PROFILE_BUFSIZE (512)
|
||||
static u8 search_ram_buffer[SEARCH_PROFILE_BUFSIZE] __attribute__((aligned(4)));
|
||||
|
||||
// BLE 工作状态
|
||||
static u8 ble_work_state = 0;
|
||||
static hci_con_handle_t con_handle;
|
||||
|
||||
// 搜索到的目标特征值句柄
|
||||
static u16 target_write_handle = 0;
|
||||
static u16 target_notify_handle = 0;
|
||||
|
||||
// 函数前向声明
|
||||
static int ble_central_test_scan_enable(u32 en);
|
||||
static void cbk_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size);
|
||||
|
||||
|
||||
// 设置 BLE 工作状态
|
||||
static void set_ble_work_state(u8 state) {
|
||||
if (state != ble_work_state) {
|
||||
log_info("ble_work_state: %d -> %d\n", ble_work_state, state);
|
||||
ble_work_state = state;
|
||||
}
|
||||
}
|
||||
|
||||
// 解析广播数据,寻找目标设备
|
||||
static bool resolve_adv_report(u8 *adv_address, u8 data_length, u8 *data) {
|
||||
u8 i, length, ad_type;
|
||||
u8 *adv_data_ptr = data;
|
||||
|
||||
for (i = 0; i < data_length;) {
|
||||
if (*adv_data_ptr == 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
length = *adv_data_ptr++;
|
||||
ad_type = *adv_data_ptr++;
|
||||
i += (length + 1);
|
||||
|
||||
if (ad_type == HCI_EIR_DATATYPE_COMPLETE_LOCAL_NAME || ad_type == HCI_EIR_DATATYPE_SHORTENED_LOCAL_NAME) {
|
||||
if (length > 1 && (0 == memcmp(adv_data_ptr, TARGET_BLE_NAME, strlen(TARGET_BLE_NAME)))) {
|
||||
log_info("Found target device: %s", TARGET_BLE_NAME);
|
||||
log_info_hexdump(adv_address, 6);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
adv_data_ptr += (length - 1);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// 创建连接
|
||||
static void central_test_create_connection(u8 *addr, u8 addr_type) {
|
||||
if (ble_work_state >= BLE_ST_CREATE_CONN) {
|
||||
return;
|
||||
}
|
||||
log_info("Stopping scan...");
|
||||
ble_central_test_scan_enable(0);
|
||||
|
||||
struct create_conn_param_t conn_param = {0};
|
||||
conn_param.conn_interval = 24;
|
||||
conn_param.conn_latency = 0;
|
||||
conn_param.supervision_timeout = 600;
|
||||
conn_param.peer_address_type = addr_type;
|
||||
memcpy(conn_param.peer_address, addr, 6);
|
||||
|
||||
set_ble_work_state(BLE_ST_CREATE_CONN);
|
||||
ble_op_create_connection(&conn_param);
|
||||
}
|
||||
|
||||
// 开始搜索 Profile
|
||||
static void central_test_search_profile() {
|
||||
target_write_handle = 0;
|
||||
target_notify_handle = 0;
|
||||
user_client_init(con_handle, search_ram_buffer, SEARCH_PROFILE_BUFSIZE);
|
||||
ble_op_search_profile_all();
|
||||
}
|
||||
|
||||
// 搜索 Profile 结果回调
|
||||
void user_client_report_search_result(search_result_t *result_info) {
|
||||
if (result_info == (void *)-1) {
|
||||
log_info("Search profile complete.");
|
||||
set_ble_work_state(BLE_ST_SEARCH_COMPLETE);
|
||||
// 如果找到了 NOTIFY 特征,使能它
|
||||
if (target_notify_handle) {
|
||||
log_info("Enabling notification for handle 0x%04x", target_notify_handle);
|
||||
u16 val = 0x0001;
|
||||
ble_op_att_send_data(target_notify_handle + 1, &val, 2, ATT_OP_WRITE);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (result_info->services.uuid16 == TARGET_SERVICE_UUID16 &&
|
||||
result_info->characteristic.uuid16 == TARGET_CHARACTERISTIC_UUID16) {
|
||||
log_info("Found target characteristic UUID 0x%04x", TARGET_CHARACTERISTIC_UUID16);
|
||||
if ((result_info->characteristic.properties & ATT_PROPERTY_WRITE_WITHOUT_RESPONSE) ||
|
||||
(result_info->characteristic.properties & ATT_PROPERTY_WRITE)) {
|
||||
target_write_handle = result_info->characteristic.value_handle;
|
||||
log_info("Found write handle: 0x%04x", target_write_handle);
|
||||
}
|
||||
if (result_info->characteristic.properties & ATT_PROPERTY_NOTIFY) {
|
||||
target_notify_handle = result_info->characteristic.value_handle;
|
||||
log_info("Found notify handle: 0x%04x", target_notify_handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 接收到数据回调
|
||||
void user_client_report_data_callback(att_data_report_t *report_data) {
|
||||
log_info("RX data, handle=0x%04x, len=%d:", report_data->value_handle, report_data->blob_length);
|
||||
log_info_hexdump(report_data->blob, report_data->blob_length);
|
||||
}
|
||||
|
||||
// BLE 事件回调处理
|
||||
static void cbk_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size) {
|
||||
switch (packet_type) {
|
||||
case HCI_EVENT_PACKET:
|
||||
switch (hci_event_packet_get_type(packet)) {
|
||||
case HCI_EVENT_LE_META:
|
||||
switch (hci_event_le_meta_get_subevent_code(packet)) {
|
||||
case HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE:
|
||||
case HCI_SUBEVENT_LE_CONNECTION_COMPLETE:
|
||||
if (hci_subevent_le_connection_complete_get_status(packet)) {
|
||||
log_error("Connection failed, status: 0x%x", hci_subevent_le_connection_complete_get_status(packet));
|
||||
set_ble_work_state(BLE_ST_CONNECT_FAIL);
|
||||
ble_central_test_scan_enable(1); // 重新开始扫描
|
||||
} else {
|
||||
con_handle = hci_subevent_le_connection_complete_get_connection_handle(packet);
|
||||
log_info("Connection established, handle: 0x%04x", con_handle);
|
||||
ble_op_att_send_init(con_handle, att_ram_buffer, ATT_RAM_BUFSIZE, ATT_LOCAL_MTU_SIZE);
|
||||
set_ble_work_state(BLE_ST_CONNECT);
|
||||
central_test_search_profile();
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case HCI_EVENT_DISCONNECTION_COMPLETE:
|
||||
log_info("Disconnected, reason: 0x%x", hci_event_disconnection_complete_get_reason(packet));
|
||||
con_handle = 0;
|
||||
ble_op_att_send_init(0, NULL, 0, 0);
|
||||
set_ble_work_state(BLE_ST_DISCONN);
|
||||
ble_central_test_scan_enable(1); // 断开后重新扫描
|
||||
break;
|
||||
|
||||
case GAP_EVENT_ADVERTISING_REPORT:
|
||||
if (ble_work_state != BLE_ST_SCAN) {
|
||||
break;
|
||||
}
|
||||
adv_report_t *report = (void *)&packet[2];
|
||||
if (resolve_adv_report(report->address, report->length, report->data)) {
|
||||
central_test_create_connection(report->address, report->address_type);
|
||||
}
|
||||
break;
|
||||
|
||||
case ATT_EVENT_MTU_EXCHANGE_COMPLETE:
|
||||
log_info("MTU exchange complete, MTU = %d", att_event_mtu_exchange_complete_get_MTU(packet));
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// 启动或停止扫描
|
||||
static int ble_central_test_scan_enable(u32 en) {
|
||||
if (en) {
|
||||
if (ble_work_state >= BLE_ST_SCAN) {
|
||||
return 0; // 已经在扫描或连接中
|
||||
}
|
||||
log_info("Starting scan...");
|
||||
set_ble_work_state(BLE_ST_SCAN);
|
||||
ble_op_set_scan_param(SCAN_ACTIVE, 48, 48);
|
||||
ble_op_scan_enable2(1, 0);
|
||||
} else {
|
||||
if (ble_work_state < BLE_ST_SCAN) {
|
||||
return 0; // 已经停止
|
||||
}
|
||||
log_info("Stopping scan...");
|
||||
set_ble_work_state(BLE_ST_IDLE);
|
||||
ble_op_scan_enable2(0, 0);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// 发送数据接口
|
||||
int xtell_ble_central_test_send_data(u8 *data, u16 len) {
|
||||
if (!con_handle || ble_work_state != BLE_ST_SEARCH_COMPLETE) {
|
||||
log_error("Not connected or profile search not complete.");
|
||||
return -1;
|
||||
}
|
||||
if (!target_write_handle) {
|
||||
log_error("No writable characteristic found.");
|
||||
return -1;
|
||||
}
|
||||
|
||||
int ret = ble_op_att_send_data(target_write_handle, data, len, ATT_OP_WRITE_WITHOUT_RESPOND);
|
||||
if (ret == 0) {
|
||||
log_info("TX data, len=%d:", len);
|
||||
log_info_hexdump(data, len);
|
||||
} else {
|
||||
log_error("Failed to send data, ret=%d", ret);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
// 注册 BLE central 模式需要的回调
|
||||
static void ble_central_test_register_handlers(void) {
|
||||
log_info("Registering BLE central test handlers...");
|
||||
// 注意:le_device_db_init() 和 ble_stack_gatt_role() 可能已被RCSP的profile_init调用
|
||||
// 这里我们只覆盖 packet handlers
|
||||
gatt_client_init(); // 确保 gatt client 被初始化
|
||||
gatt_client_register_packet_handler(cbk_packet_handler);
|
||||
hci_event_callback_set(cbk_packet_handler);
|
||||
le_l2cap_register_packet_handler(cbk_packet_handler);
|
||||
ble_vendor_set_default_att_mtu(ATT_LOCAL_MTU_SIZE);
|
||||
}
|
||||
|
||||
// 测试总开关和初始化
|
||||
void xtell_ble_central_test_start(void) {
|
||||
if (ble_work_state != 0) {
|
||||
log_info("Test is already running.");
|
||||
return;
|
||||
}
|
||||
log_info("======== Xtell BLE Central Test Start ========");
|
||||
set_ble_work_state(BLE_ST_INIT_OK);
|
||||
ble_module_enable(1); // 使能 BLE 模块
|
||||
ble_central_test_register_handlers(); // 注册我们的回调
|
||||
ble_central_test_scan_enable(1); // 开始扫描
|
||||
}
|
||||
|
||||
#endif
|
||||
@ -102,6 +102,7 @@ extern void create_process(u16* pid, const char* name, void *priv, void (*func)(
|
||||
extern void close_process(u16* pid,char* name);
|
||||
extern void start_collect_fuc(void);
|
||||
extern void BLE_send_fuc(void);
|
||||
extern void xtell_ble_central_test_start(void);
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
* 模式状态机, 通过start_app()控制状态切换
|
||||
@ -302,6 +303,7 @@ static int bt_connction_status_event_handler(struct bt_event *bt)
|
||||
} else {
|
||||
#if !TCFG_WIRELESS_MIC_ENABLE
|
||||
bt_ble_init();
|
||||
xtell_ble_central_test_start();
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -5718,103 +5718,30 @@ objs/apps/common/colorful_lights/colorful_lights.c.o
|
||||
-r=objs/apps/common/colorful_lights/colorful_lights.c.o,usr_timer_add,l
|
||||
-r=objs/apps/common/colorful_lights/colorful_lights.c.o,usr_timer_del,l
|
||||
-r=objs/apps/common/colorful_lights/colorful_lights.c.o,spi_dma_set_addr_for_isr,l
|
||||
objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,create_process,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,printf,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,sys_timer_add,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,close_process,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,sys_timer_del,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,close_BL,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,user_send_cmd_prepare,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,delay_2ms,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,xtell_set_ble_name,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,xtell_app_main,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,log_print,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,timer_get_ms,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,update_result_deal,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,app_var_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,get_charge_online_flag,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,vbat_check_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,start_app,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,check_power_on_voltage,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,rcsp_adv_fill_mac_addr,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,cpu_reset_by_soft,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,close_BL_number,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,app_var,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,config_update_mode,l
|
||||
objs/apps/earphone/xtell_Sensor/xtell_handler.c.o
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,le_user_app_send_event,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sys_event_notify,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,le_user_app_event_handler,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,nvs_test_factory_info,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,create_process,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,rfid_task_fuc,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,hw_iic_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,printf,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,i2c_scanner_probe,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,clk_set,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,clk_get,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_pll_para,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_function_select_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bredr_handle_register,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,rcsp_earphone_state_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,btstack_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sys_auto_shut_down_enable,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_sniff_feature_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sys_auto_sniff_controle,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sys_auto_shut_down_disable,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sys_key_event_enable,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_app_exit,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_hci_event_handler,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,app_power_event_handler,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,rcsp_sys_event_handler_specific,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,default_event_handler,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,get_tone_config,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,__set_sbc_cap_bitpool,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,ble_bqb_test_thread_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_ble_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_init_ok_search_index,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,is_dac_power_off,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_wait_connect_and_phone_connect_switch,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sys_timeout_add,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,clear_current_poweron_memory_search_index,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,strcmp,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,send_data_to_ble_client,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,earphone_change_pwr_mode,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,ui_update_status,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,tone_get_status,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,get_call_status,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sys_timeout_del,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,is_1t2_connection,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,get_current_poweron_memory_search_index,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,get_esco_coder_busy_flag,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,user_send_cmd_prepare,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,tone_play_index,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,xtell_bl_state,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_newname,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,xt_ble_new_name,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,SC7U22_init,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,MMC5603nj_init,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,BMP280_init,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,rfid_fuc_id,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,SC7U22_calibration_id,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,start_collect_fuc_id,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,BLE_send_fuc_id,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,app_var,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,init_ok,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,config_btctler_mode,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sniff_out,l
|
||||
objs/apps/earphone/remote_control/nvs.c.o
|
||||
-r=objs/apps/earphone/remote_control/nvs.c.o,nvs_write_factory_info,pl
|
||||
-r=objs/apps/earphone/remote_control/nvs.c.o,nvs_write_main_board_mac,pl
|
||||
-r=objs/apps/earphone/remote_control/nvs.c.o,printf,l
|
||||
-r=objs/apps/earphone/remote_control/nvs.c.o,syscfg_write,l
|
||||
-r=objs/apps/earphone/remote_control/nvs.c.o,nvs_read_factory_info,pl
|
||||
-r=objs/apps/earphone/remote_control/nvs.c.o,nvs_read_main_board_mac,pl
|
||||
-r=objs/apps/earphone/remote_control/nvs.c.o,syscfg_read,l
|
||||
-r=objs/apps/earphone/remote_control/nvs.c.o,nvs_write_factory_info,pl
|
||||
-r=objs/apps/earphone/remote_control/nvs.c.o,nvs_read_factory_info,pl
|
||||
-r=objs/apps/earphone/remote_control/nvs.c.o,nvs_clear_factory_info,pl
|
||||
-r=objs/apps/earphone/remote_control/nvs.c.o,nvs_test_factory_info,pl
|
||||
-r=objs/apps/earphone/remote_control/nvs.c.o,os_time_dly,l
|
||||
-r=objs/apps/earphone/remote_control/nvs.c.o,puts,l
|
||||
objs/apps/earphone/remote_control/RC_app_main.c.o
|
||||
-r=objs/apps/earphone/remote_control/RC_app_main.c.o,rc_rfid_callback_handler,pl
|
||||
-r=objs/apps/earphone/remote_control/RC_app_main.c.o,TYPE_V_EVENT,l
|
||||
-r=objs/apps/earphone/remote_control/RC_app_main.c.o,printf,l
|
||||
-r=objs/apps/earphone/remote_control/RC_app_main.c.o,ble_hid_is_connected,
|
||||
-r=objs/apps/earphone/remote_control/RC_app_main.c.o,nvs_write_main_board_mac,l
|
||||
-r=objs/apps/earphone/remote_control/RC_app_main.c.o,ble_hid_data_send,
|
||||
-r=objs/apps/earphone/remote_control/RC_app_main.c.o,rc_ble_callback_handler,pl
|
||||
-r=objs/apps/earphone/remote_control/RC_app_main.c.o,nvs_read_main_board_mac,l
|
||||
-r=objs/apps/earphone/remote_control/RC_app_main.c.o,rc_app_main_init,pl
|
||||
-r=objs/apps/earphone/remote_control/RC_app_main.c.o,sys_timer_add,l
|
||||
-r=objs/apps/earphone/remote_control/RC_app_main.c.o,puts,l
|
||||
objs/apps/earphone/remote_control/RFID/reader/CPU_CARD.c.o
|
||||
-r=objs/apps/earphone/remote_control/RFID/reader/CPU_CARD.c.o,CPU_CARD_EVENT,pl
|
||||
-r=objs/apps/earphone/remote_control/RFID/reader/CPU_CARD.c.o,CPU_Rats,pl
|
||||
@ -5948,6 +5875,113 @@ objs/apps/earphone/remote_control/RFID/rfid_hal.c.o
|
||||
-r=objs/apps/earphone/remote_control/RFID/rfid_hal.c.o,FM176XX_SoftReset,pl
|
||||
-r=objs/apps/earphone/remote_control/RFID/rfid_hal.c.o,rfid_delay_ms,pl
|
||||
-r=objs/apps/earphone/remote_control/RFID/rfid_hal.c.o,os_time_dly,l
|
||||
objs/apps/earphone/xtell_Sensor/ble_test.c.o
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,user_client_report_search_result,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,log_print,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,ble_user_cmd_prepare,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,user_client_report_data_callback,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,printf_buf,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,xtell_ble_central_test_send_data,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,xtell_ble_central_test_start,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,ble_module_enable,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,gatt_client_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,gatt_client_register_packet_handler,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,hci_event_callback_set,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,le_l2cap_register_packet_handler,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,ble_vendor_set_default_att_mtu,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,little_endian_read_16,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,user_client_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,memcmp,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,log_tag_const_i_EARPHONE,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/ble_test.c.o,log_tag_const_e_EARPHONE,l
|
||||
objs/apps/earphone/xtell_Sensor/example/example.c.o
|
||||
objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,create_process,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,printf,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,sys_timer_add,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,close_process,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,sys_timer_del,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,close_BL,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,user_send_cmd_prepare,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,delay_2ms,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,xtell_set_ble_name,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,xtell_app_main,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,log_print,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,timer_get_ms,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,update_result_deal,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,app_var_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,get_charge_online_flag,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,vbat_check_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,start_app,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,check_power_on_voltage,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,rcsp_adv_fill_mac_addr,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,cpu_reset_by_soft,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,close_BL_number,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,app_var,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_app_main.c.o,config_update_mode,l
|
||||
objs/apps/earphone/xtell_Sensor/xtell_handler.c.o
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,le_user_app_send_event,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sys_event_notify,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,le_user_app_event_handler,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,nvs_test_factory_info,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,create_process,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,rfid_task_fuc,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,hw_iic_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,printf,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,i2c_scanner_probe,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,clk_set,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,clk_get,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_pll_para,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_function_select_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bredr_handle_register,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,rcsp_earphone_state_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,btstack_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sys_auto_shut_down_enable,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_sniff_feature_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sys_auto_sniff_controle,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sys_auto_shut_down_disable,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sys_key_event_enable,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_app_exit,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_hci_event_handler,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,app_power_event_handler,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,rcsp_sys_event_handler_specific,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,default_event_handler,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,get_tone_config,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,__set_sbc_cap_bitpool,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,ble_bqb_test_thread_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_ble_init,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,xtell_ble_central_test_start,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_init_ok_search_index,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,is_dac_power_off,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_wait_connect_and_phone_connect_switch,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sys_timeout_add,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,clear_current_poweron_memory_search_index,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,strcmp,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,send_data_to_ble_client,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,earphone_change_pwr_mode,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,ui_update_status,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,tone_get_status,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,get_call_status,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sys_timeout_del,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,is_1t2_connection,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,get_current_poweron_memory_search_index,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,get_esco_coder_busy_flag,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,user_send_cmd_prepare,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,tone_play_index,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,xtell_bl_state,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,bt_newname,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,xt_ble_new_name,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,SC7U22_init,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,MMC5603nj_init,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,BMP280_init,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,rfid_fuc_id,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,SC7U22_calibration_id,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,start_collect_fuc_id,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,BLE_send_fuc_id,pl
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,app_var,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,init_ok,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,config_btctler_mode,l
|
||||
-r=objs/apps/earphone/xtell_Sensor/xtell_handler.c.o,sniff_out,l
|
||||
cpu/br28/liba/cpu.a.llvm.19376.crc16.c
|
||||
-r=cpu/br28/liba/cpu.a.llvm.19376.crc16.c,__crc16_mutex_init,pl
|
||||
-r=cpu/br28/liba/cpu.a.llvm.19376.crc16.c,os_mutex_create,l
|
||||
@ -9807,6 +9841,99 @@ cpu/br28/liba/btstack.a.llvm.1436470.vCard.c
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1436470.vCard.c,profile_debug_enable,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1436470.vCard.c,l2cap_debug_enable,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1436470.vCard.c,__ctype_ptr__,l
|
||||
cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_register_packet_handler,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_request_can_send_now_event,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,att_dispatch_client_request_can_send_now_event,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_init,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,printf,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,hci_add_event_handler,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,att_dispatch_register_client,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_is_ready,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_get_mtu,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_listen_for_characteristic_value_updates,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_linked_list_add,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_stop_listening_for_characteristic_value_updates,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_linked_list_remove,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_primary_services,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_primary_services_by_uuid16,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,uuid_add_bluetooth_prefix,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_primary_services_by_uuid128,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_characteristics_for_service,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_find_included_services_for_service,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_characteristics_for_handle_range_by_uuid16,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_characteristics_for_handle_range_by_uuid128,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_characteristics_for_service_by_uuid16,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_characteristics_for_service_by_uuid128,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_characteristic_descriptors,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_characteristic_descriptors_by_handle,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_value_of_characteristic_using_value_handle,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_value_of_characteristics_by_uuid16,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_value_of_characteristics_by_uuid128,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_value_of_characteristic,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_long_value_of_characteristic_using_value_handle_with_offset,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_long_value_of_characteristic_using_value_handle,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_long_value_of_characteristic,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_multiple_characteristic_values,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_value_of_characteristic_without_response,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,att_dispatch_client_can_send_now,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_value_of_characteristic_extend,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_value_of_characteristic,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_long_value_of_characteristic_with_offset,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_long_value_of_characteristic,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_reliable_write_long_value_of_characteristic,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_client_characteristic_configuration,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,little_endian_store_16,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_characteristics_for_handle_range_by_uuid16,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,sdp_normalize_uuid,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_characteristics_for_handle_range_by_uuid128,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_characteristic_descriptor_using_descriptor_handle,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_characteristic_descriptor,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_long_characteristic_descriptor_using_descriptor_handle_with_offset,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_long_characteristic_descriptor_using_descriptor_handle,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_long_characteristic_descriptor,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_characteristic_descriptor_using_descriptor_handle,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_characteristic_descriptor,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_long_characteristic_descriptor_using_descriptor_handle_with_offset,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_long_characteristic_descriptor_using_descriptor_handle,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_long_characteristic_descriptor,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_prepare_write,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_execute_write,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_cancel_write,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_pts_suppress_mtu_exchange,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_deserialize_service,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,little_endian_read_16,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,reverse_128,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,uuid_has_bluetooth_prefix,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,big_endian_read_32,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_deserialize_characteristic,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_deserialize_characteristic_descriptor,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_listen_for_characteristic_value_updates_simple,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_self_characteristic_descriptors,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_self_characteristics_for_service,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,call_gatt_client_run,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_sync_mtu,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_memory_gatt_client_get,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_memory_gatt_client_free,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_run_loop_remove_timer,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,put_buf,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,l2cap_max_le_mtu,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,att_server_sync_mtu,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,sm_api_request_pairing,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_linked_list_iterator_init,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_linked_list_iterator_has_next,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_linked_list_iterator_next,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,memcmp,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_set_timer,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,l2cap_reserve_packet_buffer,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,l2cap_get_outgoing_buffer,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,l2cap_send_prepared_connectionless,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,bt_store_16,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,puts,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,app_info_debug_enable,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,le_audio_debug_enable,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,config_le_gatt_client_num,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,ble_debug_enable,l
|
||||
cpu/br28/liba/btstack.a.llvm.1748794.rfcomm.c
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1748794.rfcomm.c,rfcomm_change_credits_setting,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1748794.rfcomm.c,rfcomm_channel_for_rfcomm_cid,pl
|
||||
@ -10237,12 +10364,12 @@ cpu/br28/liba/btstack.a.llvm.2207106.att_send.c
|
||||
-r=cpu/br28/liba/btstack.a.llvm.2207106.att_send.c,config_asser,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.2207106.att_send.c,CONFIG_BTCTLER_TWS_ENABLE,l
|
||||
cpu/br28/liba/btstack.a.llvm.2252410.client_user.c
|
||||
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_report_search_result,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_report_search_result,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_report_descriptor_result,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,printf,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,put_buf,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_search_descriptor_is_enable,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_report_data_callback,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_report_data_callback,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_set_search_complete,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,user_client_gatt_event,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.2252410.client_user.c,gatt_client_discover_characteristics_for_service,l
|
||||
@ -10963,99 +11090,6 @@ cpu/br28/liba/btstack.a.llvm.1584474.iap_profile.c
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1584474.iap_profile.c,le_audio_debug_enable,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1584474.iap_profile.c,user_interface,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1584474.iap_profile.c,bt_suspend_iap_resumeiap_release,pl
|
||||
cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_register_packet_handler,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_request_can_send_now_event,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,att_dispatch_client_request_can_send_now_event,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_init,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,printf,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,hci_add_event_handler,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,att_dispatch_register_client,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_is_ready,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_get_mtu,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_listen_for_characteristic_value_updates,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_linked_list_add,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_stop_listening_for_characteristic_value_updates,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_linked_list_remove,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_primary_services,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_primary_services_by_uuid16,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,uuid_add_bluetooth_prefix,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_primary_services_by_uuid128,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_characteristics_for_service,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_find_included_services_for_service,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_characteristics_for_handle_range_by_uuid16,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_characteristics_for_handle_range_by_uuid128,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_characteristics_for_service_by_uuid16,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_characteristics_for_service_by_uuid128,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_characteristic_descriptors,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_characteristic_descriptors_by_handle,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_value_of_characteristic_using_value_handle,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_value_of_characteristics_by_uuid16,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_value_of_characteristics_by_uuid128,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_value_of_characteristic,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_long_value_of_characteristic_using_value_handle_with_offset,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_long_value_of_characteristic_using_value_handle,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_long_value_of_characteristic,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_multiple_characteristic_values,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_value_of_characteristic_without_response,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,att_dispatch_client_can_send_now,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_value_of_characteristic_extend,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_value_of_characteristic,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_long_value_of_characteristic_with_offset,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_long_value_of_characteristic,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_reliable_write_long_value_of_characteristic,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_client_characteristic_configuration,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,little_endian_store_16,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_characteristics_for_handle_range_by_uuid16,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,sdp_normalize_uuid,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_characteristics_for_handle_range_by_uuid128,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_characteristic_descriptor_using_descriptor_handle,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_characteristic_descriptor,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_long_characteristic_descriptor_using_descriptor_handle_with_offset,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_long_characteristic_descriptor_using_descriptor_handle,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_read_long_characteristic_descriptor,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_characteristic_descriptor_using_descriptor_handle,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_characteristic_descriptor,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_long_characteristic_descriptor_using_descriptor_handle_with_offset,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_long_characteristic_descriptor_using_descriptor_handle,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_write_long_characteristic_descriptor,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_prepare_write,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_execute_write,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_cancel_write,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_pts_suppress_mtu_exchange,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_deserialize_service,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,little_endian_read_16,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,reverse_128,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,uuid_has_bluetooth_prefix,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,big_endian_read_32,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_deserialize_characteristic,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_deserialize_characteristic_descriptor,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_listen_for_characteristic_value_updates_simple,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_self_characteristic_descriptors,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_discover_self_characteristics_for_service,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,call_gatt_client_run,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,gatt_client_sync_mtu,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_memory_gatt_client_get,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_memory_gatt_client_free,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_run_loop_remove_timer,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,put_buf,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,l2cap_max_le_mtu,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,att_server_sync_mtu,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,sm_api_request_pairing,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_linked_list_iterator_init,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_linked_list_iterator_has_next,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_linked_list_iterator_next,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,memcmp,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,btstack_set_timer,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,l2cap_reserve_packet_buffer,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,l2cap_get_outgoing_buffer,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,l2cap_send_prepared_connectionless,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,bt_store_16,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,puts,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,app_info_debug_enable,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,le_audio_debug_enable,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,config_le_gatt_client_num,l
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1591906.gatt_client.c,ble_debug_enable,l
|
||||
cpu/br28/liba/btstack.a.llvm.1847630.sdp.c
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1847630.sdp.c,sdp_init,pl
|
||||
-r=cpu/br28/liba/btstack.a.llvm.1847630.sdp.c,l2cap_register_service_internal,l
|
||||
|
||||
Reference in New Issue
Block a user