BT_Notify_Srv_trc.txt 9.21 KB
[APP NAME] = BTNOTI
[SCOPE] = PLUTO, COSMOS
[MODULE] = MOD_MMI_CONN_APP
TRC_MSG(TRC_SRV_BT_NOTIFY_NOT_PARSER,                    "[BTNOTIFYSRV]Don't need to parse this part")
TRC_MSG(TRC_SRV_BT_NOTIFY_ELEM_END,                      "[BTNOTIFYSRV]srv_bt_notify_elem_end_hdlr(), error = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_END,                      "[BTNOTIFYSRV]srv_bt_notify_data_hdlr() error = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_XML_PARSE_BEFORE_START,        "[BTNOTIFYSRV]srv_bt_notify_xml_parse() is_run = %d, para_flag = %d, callback = %x, data = %x")
TRC_MSG(TRC_SRV_BT_NOTIFY_XML_PARSE_START,               "[BTNOTIFYSRV]srv_bt_notify_xml_parse() start, ret = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_XML_PARSE_DONE,                "[BTNOTIFYSRV]srv_bt_notify_xml_parse() Done")
TRC_MSG(TRC_SRV_BT_NOTIFY_XML_GEN_HEADER,                "[BTNOTIFYSRV]srv_bt_notify_xml_gen_header() category = %d, subtype = %d, msg_id = %d, action = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_XML_BEFORE_GEN,                "[BTNOTIFYSRV]srv_bt_notify_xml_generator() before start")
TRC_MSG(TRC_SRV_BT_NOTIFY_XML_GEN,                       "[BTNOTIFYSRV]srv_bt_notify_xml_generator() xml_gen_handle = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_XML_GEN_RES,                   "[BTNOTIFYSRV]srv_bt_notify_xml_generator() ret = %d")

TRC_MSG(TRC_SRV_BT_NOTIFY_CAPC_NOTIFYAPP,                "[BTNOTIFYSRV]srv_bt_noti_recv_cap_notify_app_with_retcode() retcode = %d, isnumber = %d ")
TRC_MSG(TRC_SRV_BT_NOTIFY_CAPC_NOTIFYAPP_USERDATA,       "[BTNOTIFYSRV]srv_bt_noti_recv_cap_notify_app_with_userdata() user_data = %x, retcode = %d, isnumber = %d ")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_INIT_DONE,                "[BTNOTIFYSRV]srv_bt_noti_recv_init() Done")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_PARSE_XML_CALLBACK,       "[BTNOTIFYSRV]recv_parse_xml_callback() para_flag = %d, data = %x, user_data = %x, ret = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_PARSE_HEADER_BEGIN,       "[BTNOTIFYSRV]srv_bt_noti_recv_parse_data() Begin")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_PARSE_ERR_1,              "[BTNOTIFYSRV]srv_bt_noti_recv_parse_data() error: xml file not exist")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_PARSE_ERR_2,              "[BTNOTIFYSRV]srv_bt_noti_recv_parse_data() error: parse header error, package lost")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_PARSE_ERR_3,              "[BTNOTIFYSRV]srv_bt_noti_recv_parse_data() error: xml file integrity check error, expected file size = %d, parse file size = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_PARSE_HEADER_END,         "[BTNOTIFYSRV]srv_bt_noti_recv_parse_data() End, ret = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_SEND_VERN_CMD,            "[BTNOTIFYSRV]srv_bt_noti_send_cmd_ext() send version cmd ret = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_IDLE_HLDR_ERR_1,          "[BTNOTIFYSRV]srv_bt_noti_recv_fsm_idle_hldr() error: failed to find sync bytes")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_IDLE_HLDR_OK,             "[BTNOTIFYSRV]srv_bt_noti_recv_fsm_idle_hldr() find sync bytes, buf_len = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_DATA_CMD_HLDR_OK,         "[BTNOTIFYSRV]srv_bt_noti_recv_fsm_data_cmd_hldr() xml_file_size = %d, counter = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_MAPD_CMD_HLDR_OK,         "[BTNOTIFYSRV]srv_bt_noti_recv_fsm_mapd_hldr() cmd_type = %d, para_count = %d, file_ext_type = %d, file_size = %d, ret = %d, counter = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_CAPC_CMD_HLDR_OK,         "[BTNOTIFYSRV]srv_bt_noti_recv_fsm_capc_hldr() cmd_type = %d, para_count = %d, file_size = %d, ret = %d, counter = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_MAPX_CMD_HLDR_OK,         "[BTNOTIFYSRV]srv_bt_noti_recv_fsm_mapx_hldr() ret_code = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_CMD_HLDR_ERR_1,           "[BTNOTIFYSRV]srv_bt_noti_recv_fsm_cmd_hldr() error: cmd_buf_invalid")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_CMD_HLDR_ERR_2,           "[BTNOTIFYSRV]srv_bt_noti_recv_fsm_cmd_hldr() error: cmd_buf_len > %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_CMD_HLDR_ERR_3,           "[BTNOTIFYSRV]srv_bt_noti_recv_fsm_cmd_hldr() error: cmd_parse_ret = %d, is_sync = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_FSM_HDLR_IN,              "[BTNOTIFYSRV]srv_bt_noti_recv_receive_data_fsm() %d <--")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_FSM_HDLR_OUT,             "[BTNOTIFYSRV]srv_bt_noti_recv_receive_data_fsm() %d -->")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_RECEIVE_DATA,             "[BTNOTIFYSRV]srv_bt_noti_recv_receive_data()")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_CONNECT_SUCCESS,          "[BTNOTIFYSRV]srv_bt_noti_recv_handle_connect_ind() spp client connectted")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_CONNECT_FAIL,             "[BTNOTIFYSRV]srv_bt_noti_recv_handle_connect_ind() spp client fail to connect")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_DISCONNECT,               "[BTNOTIFYSRV]srv_bt_noti_recv_handle_disconnect_ind() spp client disconnect")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_READY_TO_READ,            "[BTNOTIFYSRV]srv_bt_noti_recv_handle_ready_to_read_ind() conn_id = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_READY_TO_WRITE,           "[BTNOTIFYSRV]srv_bt_noti_recv_handle_ready_to_write_ind() conn_id = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_EVENT_HDLR,               "[BTNOTIFYSRV]srv_bt_noti_recv_event_handler() evt_id = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_SYNC_TIME,                "[BTNOTIFYSRV]srv_bt_noti_recv_update_time() time = %4d-%2d-%2d %2d:%2d:%2d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_SYNC_TIME_START,          "[BTNOTIFYSRV]srv_bt_noti_recv_sync_device_start() current_time_zone = %d, remote_time_zone = %d, current_time = %d, remote_time = %d, time_gap = %d seconds")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_SYNC_FINISHED,            "[BTNOTIFYSRV]sync device finished, result = %d, send comfirm cmd back to remote device")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_SEND_DATA_ERROR, 	 "[BTNOTIFYSRV]srv_bt_noti_recv_write_data() error happened before sending, connect state = %d, sync state = %d, ver_send_state = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_SEND_XML_DATA_FINISHED, 	 "[BTNOTIFYSRV]srv_bt_noti_recv_send_xml() sending pre_header = %d bytes, sending header = %d, sending xml_file = %d, ret = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_RECV_SEND_CMD_DATA_FINISHED, 	 "[BTNOTIFYSRV]srv_bt_noti_recv_send_cmd() sending pre_header = %d bytes, sending header = %d, ret = %d")

TRC_MSG(TRC_SRV_BT_NOTIFY_DISP_SET_INTERRUPT_EVENT_HANDLER,           "[BTNOTIFYSRV]srv_bt_noti_disp_set_interrupt_event_handler() event_id = %d, category = %d, event_func = 0x%x, curr_int_event_num = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_DISP_CLEAR_INTERRUPT_EVENT_HANDLER,         "[BTNOTIFYSRV]srv_bt_noti_disp_clear_interrupt_event_handler() event_id = %d, event_func = 0x%x, curr_int_event_num = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_DISP_EXEC_INTERRUPT_EVENT_HANDLER,          "[BTNOTIFYSRV]srv_bt_noti_disp_exec_interrupt_event() event_id = %d, category = %d, curr_int_event_num = %d")

TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_GET_MSG_NUM,              "[BTNOTIFYSRV]srv_bt_noti_data_get_msg_num() msg_num = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_GET_MSG_INFO,             "[BTNOTIFYSRV]srv_bt_noti_data_get_msg_info() index = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_GET_MSG_INFO_REF,         "[BTNOTIFYSRV]srv_bt_noti_data_get_msg_info_ref() index = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_DELETE_MSG,               "[BTNOTIFYSRV]srv_bt_noti_data_delete_msg() index = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_DELETE_ALL,               "[BTNOTIFYSRV]srv_bt_noti_data_delete_all() ")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_UPDATE_REMOTE_BLOCK_DELETE_MSG,    "[BTNOTIFYSRV]srv_bt_noti_data_block_remote_notification() delete msg sent from appId = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_UPDATE_REMOTE_BLOCK_PARSE_RESULT,  "[BTNOTIFYSRV]srv_bt_noti_data_block_remote_notification() parse_ret = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_SEND_SMS_PARSE_RESULT,    "[BTNOTIFYSRV]srv_bt_noti_data_send_sms() parse_ret = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_PARSE_XML_CALLBACK,       "[BTNOTIFYSRV]srv_bt_noti_data_parse_xml_callback() para_flag = %d, data = %x, user_data = %x, ret = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_PARSE_XML_CALLBACK_ERR_1, "[BTNOTIFYSRV]srv_bt_noti_data_parse_xml_callback() Error: invalid node index, package lost")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_PARSE_XML_CALLBACK_ERR_2, "[BTNOTIFYSRV]srv_bt_noti_data_parse_xml_callback() Error: fail to rename icon file")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_HANDLE_NEW_MSG,           "[BTNOTIFYSRV]srv_bt_noti_data_handle_new_msg() ")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_HANDLE_NEW_MSG_ERR_1,     "[BTNOTIFYSRV]srv_bt_noti_data_handle_new_msg() Error: busy parse body, package lost")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_HANDLE_NEW_MSG_ERR_2,     "[BTNOTIFYSRV]srv_bt_noti_data_handle_new_msg() Error: parse category error, unknown category")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_HANDLE_NEW_MSG_ERR_3,     "[BTNOTIFYSRV]srv_bt_noti_data_handle_new_msg() Error: fail to rename xml file")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_HANDLE_NEW_MSG_ERR_4,     "[BTNOTIFYSRV]srv_bt_noti_data_handle_new_msg() Error: parse body error")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_HANDLE_DEL_MSG,           "[BTNOTIFYSRV]srv_bt_noti_data_handle_del_msg() msg_id = %d ")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_SEND_REFRESH,             "[BTNOTIFYSRV]srv_bt_noti_data_send_refresh() ")
TRC_MSG(TRC_SRV_BT_NOTIFY_DATA_EVENT_HDLR,               "[BTNOTIFYSRV]srv_bt_noti_data_event_hdlr() evt_id = %d")
TRC_MSG(TRC_SRV_BT_NOTIFY_MISSED_CALL_COUNT,		 "[BTNOTIFYSRV]srv_bt_noti_data_notify_missed_call(), missed_call_count=%d")
TRC_MSG(TRC_SRV_BT_NOTIFY_UPDATE_REMOTE_MISSED_CALL_PARSE_RESULT,  "[BTNOTIFYSRV]srv_bt_noti_update_remote_missed_call() parse_ret = %d")