blob: 15a821af7fd1e6a2b4f1afdb7b196bdb72865aa8 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/**************************************************************************
2*
3* Copyright (c) 2013 ZTE Corporation.
4*
5***************************************************************************
6* Ä£ ¿é Ãû : ccapp
7* ÎÄ ¼þ Ãû : cc_timer.c
8* Ïà¹ØÎļþ :
9* ʵÏÖ¹¦ÄÜ : ccapp¶¨Ê±Æ÷³¬Ê±´¦Àí
10* ×÷ Õß :
11* °æ ±¾ : V1.0
12* Íê³ÉÈÕÆÚ : 2016-02-25
13* ÆäËü˵Ã÷ :
14**************************************************************************/
15
16/**************************************************************************
17* Ð޸ļǼ :
18***************************************************************************/
19/**************************************************************************
20* Ð޸ıàºÅ : 0001
21* ÐÞ ¸Ä ÈË :
22* ÐÞ¸ÄÈÕÆÚ :
23* ÐÞ¸ÄÄÚÈÝ :
24**************************************************************************/
25
26/**************************************************************************
27* #includeÇø
28**************************************************************************/
29#include "cc_main.h"
30#include "cc_proc.h"
31#include "cc_com.h"
32#include "cc_timer.h"
33#include "string.h"
34VOID *zCcApp_HookOffTimer(VOID *arg)
35{
36 MSG_BUF tMsgBuf = {0};
37
38 tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
39 tMsgBuf.usMsgCmd = ZCC_HOOKOFFTIMER_E;
40 tMsgBuf.usDataLen = 0;
41 zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
42 zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_HookOffTimer \n",__FUNCTION__);
43 return NULL;
44}
45
46VOID *zCcApp_HookOff_Idle_Timer(VOID *arg)
47{
48 MSG_BUF tMsgBuf = {0};
49
50 tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
51 tMsgBuf.usMsgCmd = ZCC_HOOKOFF_IDLE_TIMER_E;
52 tMsgBuf.usDataLen = 0;
53 zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
54 zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_HookOff_Idle_Timer \n",__FUNCTION__);
55 return NULL;
56}
57
58VOID *zCcApp_DtmfTimer(VOID *arg)
59{
60 MSG_BUF tMsgBuf = {0};
61
62 tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
63 tMsgBuf.usMsgCmd = ZCC_DTMFTIMER_E;
64 tMsgBuf.usDataLen = 0;
65 zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
66 zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_DtmfTimer \n",__FUNCTION__);
67
68 return NULL;
69}
70VOID *zCcApp_BusyToneTimer(VOID *arg)
71{
72 MSG_BUF tMsgBuf = {0};
73
74 tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
75 tMsgBuf.usMsgCmd = ZCC_BUSYTONETIMER_E;
76 tMsgBuf.usDataLen = 0;
77 zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
78 zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_BusyToneTimer \n",__FUNCTION__);
79 return NULL;
80}
81VOID *zCcApp_TkyToneTimer(VOID *arg)
82{
83 MSG_BUF tMsgBuf = {0};
84
85 tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
86 tMsgBuf.usMsgCmd = ZCC_TKYTIMER_E;
87 tMsgBuf.usDataLen = 0;
88 zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
89 zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_TkyToneTimer \n",__FUNCTION__);
90 return NULL;
91}
92VOID *zCcApp_SsDialToneTimer(VOID *arg)
93{
94 MSG_BUF tMsgBuf = {0};
95
96 tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
97 tMsgBuf.usMsgCmd = ZCC_SSDIALTONETIMER_E;
98 tMsgBuf.usDataLen = 0;
99 zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
100 zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s SsDialToneTimer \n",__FUNCTION__);
101 return NULL;
102}
103