Skip to content

Commit 49f0bd5

Browse files
author
chaotaoyang
committed
[rel][bug][bt] fix bug about sco cfm event para error
Project: Bluetooth redmine: #id, REDMINE-4712 ext-redmine: bug|feat#id [Description in detail] Affected branch: [master] Change-Id: I739d8fa942c3a4196ab0a8e971626be962b553ca
1 parent 2e01bd9 commit 49f0bd5

File tree

4 files changed

+42
-6
lines changed

4 files changed

+42
-6
lines changed

include/hfp_ag_api.h

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,48 @@ enum
104104
BTS2MU_AG_AT_CMD_CFM,
105105
};
106106

107+
/* AT res events */
108+
typedef enum
109+
{
110+
HFP_AG_SPK_RES = 0x00, /* Update speaker volume */
111+
HFP_AG_MIC_RES, /* Update microphone volume */
112+
HFP_AG_INBAND_RING_RES, /* Update inband ring state */
113+
HFP_AG_CIND_RES, /* Send indicator response for AT+CIND */
114+
HFP_AG_BINP_RES, /* Send phone number for voice tag for AT+BINP */
115+
HFP_AG_IND_RES, /* Update an indicator value */
116+
HFP_AG_BVRA_RES, /* Update voice recognition state */
117+
HFP_AG_CNUM_RES, /* Send subscriber number response for AT+CNUM */
118+
HFP_AG_BTRH_RES, /* Send CCAP incoming call hold */
119+
HFP_AG_CLCC_RES, /* Query list of calls */
120+
HFP_AG_COPS_RES, /* Read network operator */
121+
122+
HFP_AG_IN_CALL_RES, /* Indicate incoming phone call */
123+
HFP_AG_IN_CALL_CONN_RES, /* Incoming phone call connected */
124+
HFP_AG_CALL_WAIT_RES, /* Call waiting notification */
125+
HFP_AG_OUT_CALL_ORIG_RES, /* Outgoing phone call origination */
126+
HFP_AG_OUT_CALL_ALERT_RES, /* Outgoing phone call alerting remote party */
127+
HFP_AG_OUT_CALL_CONN_RES, /* Outgoing phone call connected */
128+
HFP_AG_CALL_CANCEL_RES, /* Incoming/outgoing 3-way canceled before connected */
129+
HFP_AG_END_CALL_RES, /* End call */
130+
HFP_AG_IN_CALL_HELD_RES, /* Incoming call held */
131+
HFP_AG_MULTI_CALL_RES, /* SLC at three way call */
132+
133+
HFP_AG_UNAT_RES, /* Response to unknown AT command event */
134+
HFP_AG_BIND_RES, /* Activate/Deactivate HF indicator */
135+
} hfp_ag_at_res_event_t;
136+
137+
/* Local AT command result codes defined in hfp_ag_api.h */
138+
typedef enum
139+
{
140+
HFP_AG_LOCAL_RES_FIRST = 0x0100,
141+
HFP_AG_LOCAL_RES_OK,
142+
HFP_AG_LOCAL_RES_ERROR,
143+
HFP_AG_LOCAL_RES_RING,
144+
HFP_AG_LOCAL_RES_CLIP,
145+
HFP_AG_LOCAL_RES_BRSF,
146+
HFP_AG_LOCAL_RES_CMEE,
147+
HFP_AG_LOCAL_RES_BCS
148+
} hfp_ag_lcoal_at_res_event_t;
107149
/****************************************struct define*************************************************/
108150
typedef struct
109151
{
@@ -179,12 +221,6 @@ typedef struct
179221
U8 code_id;
180222
} BTS2S_AG_AUDIO_CONN_IND;
181223

182-
typedef struct
183-
{
184-
U16 type;
185-
U8 mux_id;
186-
} BTS2S_AG_DEVICE_RESET_CMD;
187-
188224
typedef struct
189225
{
190226
U16 type;

lib/lib_bt_msvc.lib

20.6 KB
Binary file not shown.

lib/lib_bt_rvds.lib

33 KB
Binary file not shown.

lib/lib_bt_rvds_tran_only.lib

1.54 KB
Binary file not shown.

0 commit comments

Comments
 (0)