From e3c88b78c7bb51cebc77daf601e3e49509af62f8 Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Wed, 18 Dec 2024 16:41:15 +0800 Subject: [PATCH] =?utf8?q?=E5=A2=9E=E5=8A=A0=E8=BF=90=E8=A1=8C=E6=97=A5?= =?utf8?q?=E5=BF=97=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/bluetooth/src/BluetoothModel.cpp | 8 +++ .../nativeui/callerlog/src/CallerLogModel.cpp | 3 ++ .../phoneservice/src/PhoneService.cpp | 19 ++++++- .../service/ble_service/bleservice/bleEvent.c | 3 +- .../ble_service/bleservice/bleService.c | 54 +++++++------------ .../src/notify/makephone_notification.cpp | 19 +++++++ .../peripheral/utils/custom_save_runtime.c | 1 + .../peripheral/utils/custom_save_runtime.h | 40 ++++++++++++++ 8 files changed, 111 insertions(+), 36 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp index b4c411463..85a190917 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothModel.cpp @@ -53,6 +53,7 @@ #include "vibrator_service.h" #include "ConfigModel.h" #include "PhoneAGService.h" +#include "custom_save_runtime.h" namespace OHOS { #define BT_SPP_TASK_STACK_SIZE 2048 @@ -1200,12 +1201,15 @@ static void A2dpSrcConnectstateChanged(bd_addr_t *bdAddr, int connState) GraphicService::GetInstance()->PostGraphicEvent(std::bind(ACLConnectionSuss, *bdAddr)); SendMsgToUIService(EARPHONE_CONNECTED_TO_UI, 0, nullptr, 0); uapi_dev_runtime_set_earphone_connect_stat(1); + uapi_save_runtime_log(RUNTIME_LOG_BR_CONNECT_A2DP_HEADSET); + } if (connState == PROFILE_STATE_DISCONNECTED) { PhoneAudioManagerSetDeviceConnState(OUT_BLUETOOTH_A2DP, AUDIO_DEVICE_DISCONNECTED); GraphicService::GetInstance()->PostGraphicEvent(std::bind(ACLConnectionFail, *bdAddr)); SendMsgToUIService(EARPHONE_DISCONNECTED_TO_UI, 0, nullptr, 0); + uapi_save_runtime_log(RUNTIME_LOG_BR_DISCONNECT_A2DP_HEADSET); /* 实验室测试耳机回连场景,用户根据需要调整策略 */ bool ret = gap_br_set_bt_scan_mode(GAP_SCAN_MODE_CONNECTABLE_GENERAL_DISCOVERABLE, 60); // start scan if (!ret) { @@ -1492,6 +1496,8 @@ static void BtA2dpSnkConnectStateChangedCb(bd_addr_t *bd_addr, int conn_state) SendMsgToMsgCenterService(BT_DISCONNECTED_TO_MSGCENTER, 0, nullptr, 0); } + uapi_save_runtime_log(RUNTIME_LOG_BR_DISCONNECT_A2DP); + } else if (conn_state==PROFILE_STATE_CONNECTING || conn_state==PROFILE_STATE_CONNECTED) @@ -1510,6 +1516,8 @@ static void BtA2dpSnkConnectStateChangedCb(bd_addr_t *bd_addr, int conn_state) #endif SendMsgToUIService(BT_CONNECTED_TO_UI, 0, nullptr, 0); SendMsgToMsgCenterService(BT_CONNECTED_TO_MSGCENTER, 0, nullptr, 0); + + uapi_save_runtime_log(RUNTIME_LOG_BR_CONNECT_A2DP); // if(pbap_pce_get_device_connect_state(bd_addr)==PROFILE_STATE_DISCONNECTING || // pbap_pce_get_device_connect_state(bd_addr)==PROFILE_STATE_DISCONNECTED) // uapi_pbap_cmd_start_client(); diff --git a/code/sdk/application/wearable/fd230app/nativeui/callerlog/src/CallerLogModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/callerlog/src/CallerLogModel.cpp index 63ff5a2b3..b2beeb6be 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/callerlog/src/CallerLogModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/callerlog/src/CallerLogModel.cpp @@ -27,6 +27,8 @@ #include "cat1_server.h" #include "AlarmClockModel.h" #include "PhoneAGService.h" +#include "custom_save_runtime.h" + #ifdef __cplusplus extern "C" { #endif @@ -137,6 +139,7 @@ void calllognameupdate() void StatusReset(void) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "状态复位"); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_RESET); CallerLogModel::GetInstance()->SetCallStatus(false); CallerLogModel::GetInstance()->SetWaitingStatus(false); diff --git a/code/sdk/application/wearable/fd230app/nativeui/phoneservice/src/PhoneService.cpp b/code/sdk/application/wearable/fd230app/nativeui/phoneservice/src/PhoneService.cpp index aabe9e846..2949853b0 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/phoneservice/src/PhoneService.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/phoneservice/src/PhoneService.cpp @@ -46,6 +46,7 @@ extern "C" { #endif #include "bleService.h" +#include "custom_save_runtime.h" #define CALL_LOG_PATH "/user/userdata/calllog.bin" #define CALL_TMP_LOG_PATH "/user/userdata/calltmplog.bin" #define CALL_LOG_DIR "/user/userdata" @@ -689,6 +690,7 @@ static void ConnStateChanged(const bd_addr_t *bdAddr, profile_connect_state_t st SendMsgToUIService(BT_CONNECTED_TO_UI, 0, nullptr, 0); uapi_pbap_cmd_start_client(); + uapi_save_runtime_log(RUNTIME_LOG_BR_CONNECT_HFP); //SendMsgToMsgCenterService(BT_CONNECTED_TO_MSGCENTER, 0, nullptr, 0); break; case PROFILE_STATE_DISCONNECTING: // 蓝牙连接断连 @@ -702,6 +704,7 @@ static void ConnStateChanged(const bd_addr_t *bdAddr, profile_connect_state_t st SendMsgToUIService(BT_DISCONNECTED_TO_UI, 0, nullptr, 0); //SendMsgToMsgCenterService(BT_DISCONNECTED_TO_MSGCENTER, 0, nullptr, 0); } + uapi_save_runtime_log(RUNTIME_LOG_BR_DISCONNECT_HFP); break; default: @@ -1579,6 +1582,11 @@ static void stop_ring(void) OHOS::AlarmClockModel::GetInstance()->AlarmPlayerStop(); } + + + + + // 通话状态变化上报回调 static void CallStateChanged(const bd_addr_t *bdAddr, const hfp_hf_calls_info_t *call) { @@ -1587,12 +1595,14 @@ static void CallStateChanged(const bd_addr_t *bdAddr, const hfp_hf_calls_info_t WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "call is null or BT disconnected connStatus: 0x%X", g_btConnState); return; } + if(OHOS::CallerLogModel::GetInstance()->GetCallDial() == OHOS::CallerLogModel::HFP_PHONE_DIAL) { if(call->state==HFP_HF_CALL_STATE_DIALING||call->state==HFP_HF_CALL_STATE_ALERTING) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "HFP_PHONE_DIAL 手机拨号"); TransCallToMobilePhone(); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_HFP_TO_MOBILE_PHONE); return; } } @@ -1608,6 +1618,7 @@ static void CallStateChanged(const bd_addr_t *bdAddr, const hfp_hf_calls_info_t HfpIncomingEventPublish(TOPIC_EVENT_HFP_HINT,*call); } TransCallToMobilePhone(); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_HFP_TO_MOBILE_PHONE); return; } } @@ -1626,34 +1637,40 @@ static void CallStateChanged(const bd_addr_t *bdAddr, const hfp_hf_calls_info_t PostGraphicEvent(stop_ring); // } - WEARABLE_LOGI(WEARABLE_LOG_MODULE_APP, "CallStateChanged state:%d", call->state); switch (call->state) { case HFP_HF_CALL_STATE_ACTIVE: // 正在通话 CallChangeActivePro(call); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_HFP_ACTIVE); break; case HFP_HF_CALL_STATE_HELD: // 挂起 CallChangeHeldPro(call); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_HFP_HELD); break; case HFP_HF_CALL_STATE_DIALING: // 呼出,正在拨号 PhoneServiceScreenCtr(1); CallChangeDialPro(call); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_HFP_DIALING); break; case HFP_HF_CALL_STATE_ALERTING: // 呼出,对方响铃 PhoneServiceScreenCtr(1); CallChangeAlertPro(call); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_HFP_ALERTING); break; case HFP_HF_CALL_STATE_INCOMING: // 呼入 PhoneServiceScreenCtr(1); CallChangeIncomePro(call); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_HFP_INCOMING); break; case HFP_HF_CALL_STATE_WAITING: // 呼入等待 PhoneServiceScreenCtr(1); CallChangeIncomePro(call); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_HFP_WAITING); break; case HFP_HF_CALL_STATE_FINISHED: // 拒接/结束电话 CallChangeFinishPro(call); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_HFP_FINISHED); //PhoneServiceScreenCtr(0); break; default: diff --git a/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c b/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c index fca83a19d..509c19bda 100644 --- a/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c +++ b/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c @@ -44,7 +44,7 @@ extern "C" { #include "custom_runtime.h" #include "bleANCS.h" #include "Bluetooyhpabpserver.h" - +#include "custom_save_runtime.h" #define DEBUG_TEST (0) #define CRC_CHECK_ERR 0 //crc校验失败 @@ -5616,6 +5616,7 @@ static void GetSynDataEndCmd(uint16_t cmd,uint8_t *data,uint16_t len,uint8_t *to value[17] = 1;// value[18] = Calculate_CRC(value,18); sendBleData(value,19); + uapi_save_runtime_log(RUNTIME_LOG_BLE_APP_SYN_END); uapi_ble_connect_param_update(BLE_CONNECT_INTERVAL_SLOW); diff --git a/code/sdk/application/wearable/service/ble_service/bleservice/bleService.c b/code/sdk/application/wearable/service/ble_service/bleservice/bleService.c index e735a7055..51ef1ce0f 100644 --- a/code/sdk/application/wearable/service/ble_service/bleservice/bleService.c +++ b/code/sdk/application/wearable/service/ble_service/bleservice/bleService.c @@ -46,6 +46,7 @@ extern "C" { #ifdef SUPPORT_AT_OHOSFWK #include "BluetoothWrapper.h" #endif +#include "custom_save_runtime.h" // extern void bts_data_to_uuid_len2(uint16_t uuid_data, bt_uuid_t *out_uuid); @@ -575,6 +576,7 @@ void svr_ble_connstate_change_cb(unsigned short conn_id, bd_addr_t *addr, gap_bl if (GAP_BLE_STATE_DISCONNECTED == conn_state) { // restart ble adv when disconnected WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "GAP_BLE_STATE_DISCONNECTED!!! \r\n"); + uapi_save_runtime_log(RUNTIME_LOG_BLE_DISCONNECT); clean_phone_info(conn_id); @@ -615,6 +617,8 @@ void svr_ble_connstate_change_cb(unsigned short conn_id, bd_addr_t *addr, gap_bl { devpair_state = 0;// + uapi_save_runtime_log(RUNTIME_LOG_BLE_CONNECT); + if( g_ble_conn_id !=0 && conn_id!=g_ble_conn_id) { @@ -622,40 +626,9 @@ void svr_ble_connstate_change_cb(unsigned short conn_id, bd_addr_t *addr, gap_bl } - int ret =svr_ble_adv_stop(); - WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP,"%x",ret); - - - // if(!get_ble_pair()&&( cm_get_A2DP_switch() || cm_get_HFP_switch())) - // { - // bd_addr_t bdaddr={0}; - // uapi_get_br_address(&bdaddr); - // if(!(bdaddr.addr[0]==addr->addr[0] && bdaddr.addr[1]==addr->addr[1] && bdaddr.addr[2]==addr->addr[2] && bdaddr.addr[3]==addr->addr[3] - // && bdaddr.addr[4]==addr->addr[4] && bdaddr.addr[5]==addr->addr[5])) - // { - - // if(false==(bt_is_acl_connected(addr))) - // { - // if(cm_get_A2DP_switch() || cm_get_HFP_switch()) - // { - // int ret=gap_reconnect_media_device(addr); - // WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "gap_reconnect_media_device!!! %X\r\n",ret); - // } - // WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "gap_reconnect_media_device!!! \r\n"); - // } - // else - // { - // if(cm_get_A2DP_switch() || cm_get_HFP_switch()) - // uapi_a2dp_snk_connect(); - // WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "uapi_a2dp_snk_connect!!! \r\n"); - // } - // } - - // } + int ret =svr_ble_adv_stop(); + WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP,"%x",ret); - - - set_phone_info(addr,conn_id); ble_connect_ok(); @@ -762,6 +735,11 @@ uint16_t get_ble_interval(void) void srv_gap_ble_connect_param_update_callback(uint16_t conn_id, errcode_t status, const gap_ble_conn_param_update_t *param) { + if(param->interval==50) + uapi_save_runtime_log(RUNTIME_LOG_BLE_CONNECT_UPDATE_50); + else + uapi_save_runtime_log(RUNTIME_LOG_BLE_CONNECT_UPDATE_12); + ble_interval=param->interval; WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "conn_id %d status %d gap_ble_conn_param_update_t interval %d latency%d timeout %d ",conn_id,status,param->interval,param->latency,param->timeout); @@ -1465,15 +1443,19 @@ errcode_t svr_ble_bt_gatts_noyify(uint8_t *data, uint16_t data_len)//这里是 if (g_ble_conn_id == 0) return 0; errcode_t ret = gatts_notify_indicate(g_ble_server_id, g_ble_conn_id, &data_info); + uapi_save_runtime_log(RUNTIME_LOG_BLE_WATCH_REPLY); if(ret!=ERRCODE_SUCC) { msleep(50); ret=gatts_notify_indicate(g_ble_server_id, g_ble_conn_id, &data_info); + uapi_save_runtime_log(RUNTIME_LOG_BLE_WATCH_REPLY); if(ret!=ERRCODE_SUCC) { msleep(100); ret=gatts_notify_indicate(g_ble_server_id, g_ble_conn_id, &data_info); + uapi_save_runtime_log(RUNTIME_LOG_BLE_WATCH_REPLY); + if(ret!=ERRCODE_SUCC) { WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "gatts_notify_indicate ret:0x%x. serverid:%u,conn_id:%u,handle:%u.data_len:%d", ret, g_ble_server_id, @@ -1702,15 +1684,17 @@ static void svr_ble_bt_gatts_req_write_cb(uint8_t server_id, uint16_t conn_id, g fwrite("x",1,1,fp); fclose(fp); } - } + } if(Is_App_ble_handle(write_cb_para->handle)) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP," %d %d\r\n",conn_id,write_cb_para->handle); g_ble_conn_id=conn_id; + uapi_save_runtime_log(RUNTIME_LOG_BLE_APP_CMD); } if(is_alipay_handle(write_cb_para->handle)) { g_ble_Alipay_conn_id=conn_id; + uapi_save_runtime_log(RUNTIME_LOG_BLE_ALIPAY_CMD); WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP,"g_ble_Alipay_conn_id\r\n"); } // else @@ -1758,6 +1742,7 @@ static void svr_ble_adv_start_cb(uint8_t adv_id, adv_status_t status) if (adv_id == BLE_ADV_ID) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP,"BleAdvStartCallback adv_id: %d, status:%d\n", adv_id, status); ble_adv_start=1; + uapi_save_runtime_log(RUNTIME_LOG_BLE_BROADCAST_ON); } } @@ -1767,6 +1752,7 @@ static void svr_ble_adv_stop_cb(uint8_t adv_id, adv_status_t status) if (adv_id == BLE_ADV_ID) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP,"svr_ble_adv_stop_cb adv_id: %d, status:%d\n", adv_id, status); ble_adv_start=0; + uapi_save_runtime_log(RUNTIME_LOG_BLE_BROADCAST_OFF); } } diff --git a/code/sdk/application/wearable/service/msg_center/src/notify/makephone_notification.cpp b/code/sdk/application/wearable/service/msg_center/src/notify/makephone_notification.cpp index 745be7313..e7dc57d39 100755 --- a/code/sdk/application/wearable/service/msg_center/src/notify/makephone_notification.cpp +++ b/code/sdk/application/wearable/service/msg_center/src/notify/makephone_notification.cpp @@ -40,6 +40,7 @@ #include "../../../../../../../drivers/peripheral/config/include/ConfigModel.h" #include "osal_timer.h" #include "cmsis_os2.h" +#include "custom_save_runtime.h" // #define NOTIFY_THREE_SECONDS 3000 // #define NOTIFY_ONE_SECOND 1000 @@ -728,6 +729,16 @@ static void WatchFinishHandle(void) } } +// RUNTIME_LOG_PHONE_CAT1_DIALING, +// RUNTIME_LOG_PHONE_CAT1_INCOMING, +// RUNTIME_LOG_PHONE_CAT1_WAITING, +// RUNTIME_LOG_PHONE_CAT1_ACTIVE, +// RUNTIME_LOG_PHONE_CAT1_FINISH, +// RUNTIME_LOG_PHONE_CAT1_REJECT, + +// RUNTIME_LOG_PHONE_RESET, //状态复位 + + void using_cat1_phone_state_change_cb(uint8_t state) { g_callOperate = state; @@ -742,6 +753,7 @@ void using_cat1_phone_state_change_cb(uint8_t state) call_stat=0; calllog_info_init(0); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_CAT1_DIALING); break; case OPERATE_ALERTING: // 显示对方响铃 @@ -758,13 +770,16 @@ void using_cat1_phone_state_change_cb(uint8_t state) ui_api_vibrate_once_func(); } + call_stat=2; + uapi_save_runtime_log(RUNTIME_LOG_PHONE_CAT1_INCOMING); break; case OPERATE_WAITING: // 震动一下,提示有新电话呼入 还未对齐 WaitingOpreate(); call_stat=2; calllog_info_init(1); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_CAT1_WAITING); return; case OPERATE_WATCH_ACTIVE: // 手表接听,显示界面 @@ -772,6 +787,7 @@ void using_cat1_phone_state_change_cb(uint8_t state) call_stat=1; PhoneServiceScreenCtr(true); WatchActiveHandle(); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_CAT1_ACTIVE); break; case OPERATE_PHONE_HOLD: // 挂起状态,不做处理 @@ -779,11 +795,14 @@ void using_cat1_phone_state_change_cb(uint8_t state) case OPERATE_WATCH_FINISH: WatchFinishHandle(); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_CAT1_FINISH); return; //手表不做任何处理仅记录 case OPERATE_WATCH_REJECT: CustomEventPublish(TOPIC_EVENT_HFP_HINT,NULL,0); addcalllogend(); + uapi_save_runtime_log(RUNTIME_LOG_PHONE_CAT1_REJECT); + return; default: break; diff --git a/code/sdk/drivers/peripheral/utils/custom_save_runtime.c b/code/sdk/drivers/peripheral/utils/custom_save_runtime.c index 9a6a895c0..094632a51 100644 --- a/code/sdk/drivers/peripheral/utils/custom_save_runtime.c +++ b/code/sdk/drivers/peripheral/utils/custom_save_runtime.c @@ -76,6 +76,7 @@ errcode_t uapi_save_runtime_log(uint16_t cmd) if(custom_running_log_state_stat==0 || g_runtime_log_queue_created==0) { + PRINT("Error task or queue no ready\r\n"); return ERRCODE_FAIL; } ret = osal_msg_queue_write_copy(g_custom_runtime_log_cmd_queue, (void *)&mail, sizeof(custom_cmd_t), 0); diff --git a/code/sdk/drivers/peripheral/utils/custom_save_runtime.h b/code/sdk/drivers/peripheral/utils/custom_save_runtime.h index 5ae981f88..03ef145ca 100644 --- a/code/sdk/drivers/peripheral/utils/custom_save_runtime.h +++ b/code/sdk/drivers/peripheral/utils/custom_save_runtime.h @@ -27,8 +27,48 @@ typedef enum { //蓝牙 RUNTIME_LOG_BLE_MIN=0x0100, + + RUNTIME_LOG_BLE_BROADCAST_ON, + RUNTIME_LOG_BLE_BROADCAST_OFF, + RUNTIME_LOG_BLE_CONNECT, + RUNTIME_LOG_BLE_DISCONNECT, + + RUNTIME_LOG_BLE_CONNECT_UPDATE_50,//连接参数更新 0x0105 + RUNTIME_LOG_BLE_CONNECT_UPDATE_12, + + RUNTIME_LOG_BLE_APP_CMD,//APP下发命令 + RUNTIME_LOG_BLE_ALIPAY_CMD, + RUNTIME_LOG_BLE_WATCH_REPLY,//手表回复 + + RUNTIME_LOG_BLE_APP_SYN_END,//同步结束 + + RUNTIME_LOG_BR_CONNECT_HFP, + RUNTIME_LOG_BR_DISCONNECT_HFP, + RUNTIME_LOG_BR_CONNECT_A2DP, + RUNTIME_LOG_BR_DISCONNECT_A2DP, + + RUNTIME_LOG_BR_CONNECT_A2DP_HEADSET, + RUNTIME_LOG_BR_DISCONNECT_A2DP_HEADSET, //电话 RUNTIME_LOG_PHONE_MIN=0x0200, + RUNTIME_LOG_PHONE_HFP_ACTIVE, + RUNTIME_LOG_PHONE_HFP_HELD, + RUNTIME_LOG_PHONE_HFP_DIALING, + RUNTIME_LOG_PHONE_HFP_ALERTING, + RUNTIME_LOG_PHONE_HFP_INCOMING, + RUNTIME_LOG_PHONE_HFP_WAITING, + RUNTIME_LOG_PHONE_HFP_FINISHED, + RUNTIME_LOG_PHONE_HFP_TO_MOBILE_PHONE, + + RUNTIME_LOG_PHONE_CAT1_DIALING, + RUNTIME_LOG_PHONE_CAT1_INCOMING, + RUNTIME_LOG_PHONE_CAT1_WAITING, + RUNTIME_LOG_PHONE_CAT1_ACTIVE, + RUNTIME_LOG_PHONE_CAT1_FINISH, + RUNTIME_LOG_PHONE_CAT1_REJECT, + + RUNTIME_LOG_PHONE_RESET, //状态复位 + //cat1 RUNTIME_LOG_CAT1_MIN=0x0300, //运动 -- 2.17.1