LinuxSDK
V1.4.0.5
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
SwiApiCdmaVoice.h
Go to the documentation of this file.
1
13
#ifndef __SWIAPICDMAVOICE_H__
14
#define __SWIAPICDMAVOICE_H__
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
/* include files */
21
#include "
SwiDataTypes.h
"
22
#include "
SwiRcodes.h
"
23
29
typedef
enum
SWI_TYPE_DDTM_Pref
30
{
32
SWI_HDR_DDTM_PREF_MODE_OFF
= 0x00000000,
33
35
SWI_HDR_DDTM_PREF_MODE_ON
= 0x00000001,
36
38
SWI_HDR_DDTM_PREF_MODE_NO_CHANGE
= 0x00000002
39
}
SWI_TYPE_DDTM_Pref
;
40
46
typedef
struct
SWI_STRUCT_DDTM_Pref
47
{
48
swi_uint32
sizeStruct
;
51
swi_uint16
iDDTMPref
;
52
}
SWI_STRUCT_DDTM_Pref
;
53
54
/* Function prototypes */
55
56
SWI_API
SWI_RCODE
SwiGetAnswerState
(
swi_uint16
* AnswerMode,
57
swi_uint32
timeout);
58
59
SWI_API
SWI_RCODE
SwiSetAnswerState
(
swi_uint16
AnswerMode);
60
61
SWI_API
SWI_RCODE
SwiGetCallerID
(
swi_charp
szCallerID,
swi_uint32
iLength,
62
swi_uint32
timeout);
63
64
SWI_API
SWI_RCODE
SwiSetCallAnswerCmd
();
65
66
SWI_API
SWI_RCODE
SwiSetCallFlashCmd
(
swi_uint16
SOValue,
67
const
swi_charp
pszCallNumber,
68
swi_uint32
timeout);
69
70
SWI_API
SWI_RCODE
SwiGetHeadsetState
(
swi_uint16
*headsetState,
71
swi_uint32
timeout);
72
73
SWI_API
SWI_RCODE
SwiGetCdmaSpeakerVolume
(
swi_uint16
* pSpeakerVolume,
74
swi_uint32
timeout);
75
76
SWI_API
SWI_RCODE
SwiSetCdmaSpeakerVolume
(
swi_uint16
SpeakerVolume,
77
swi_uint32
timeout);
78
79
SWI_API
SWI_RCODE
SwiGetSpeakerMuteStatus
(
swi_uint16
* pSpeakerMuteStatus,
80
swi_uint32
timeout);
81
82
SWI_API
SWI_RCODE
SwiSetSpeakerMuteStatus
(
swi_uint16
SpeakerMuteStatus,
83
swi_uint32
timeout);
84
85
SWI_API
SWI_RCODE
SwiGetToneLevel
(
swi_uint16
* pToneLevel,
swi_uint32
timeout);
86
87
SWI_API
SWI_RCODE
SwiSetToneLevel
(
swi_uint16
ToneLevel,
swi_uint32
timeout);
88
89
SWI_API
SWI_RCODE
SwiGetDTMFMuteStatus
(
swi_uint16
* pDTMFMuteStatus,
90
swi_uint32
timeout);
91
92
SWI_API
SWI_RCODE
SwiSetDTMFMuteStatus
(
swi_uint16
DTMFMuteStatus,
93
swi_uint32
timeout);
94
95
SWI_API
SWI_RCODE
SwiGetMICMuteStatus
(
swi_uint16
* pMICMuteStatus,
96
swi_uint32
timeout);
97
98
SWI_API
SWI_RCODE
SwiSetMICMuteStatus
(
swi_uint16
MICMuteStatus,
99
swi_uint32
timeout);
100
101
SWI_API
SWI_RCODE
SwiSetDTMFKey
(
swi_uint16
DTMFKey,
102
swi_uint32
timeout);
103
SWI_API
SWI_RCODE
SwiGetDTMFDuration
(
swi_uint16
* pDTMFKeyOn,
104
swi_uint16
* pDTMFBurstDigitOn,
105
swi_uint16
* pDTMFBurstInterdigitOff,
106
swi_uint32
timeout);
107
108
SWI_API
SWI_RCODE
SwiSetDTMFDuration
(
swi_uint16
DTMFKeyOn,
109
swi_uint16
DTMFBurstDigitOn,
110
swi_uint16
DTMFBurstInterdigitOff,
111
swi_uint32
timeout);
112
113
SWI_API
SWI_RCODE
SwiSetKeyPressed
(
swi_uint16
phoneKey);
114
SWI_API
SWI_RCODE
SwiSetKeyReleased
();
115
SWI_API
SWI_RCODE
SwiPstGetMinuteCallBeep
(
swi_uint16
* callBeep,
116
swi_uint32
timeout);
117
118
SWI_API
SWI_RCODE
SwiPstSetMinuteCallBeep
(
swi_uint16
callBeep,
119
swi_uint32
timeout);
120
SWI_API
SWI_RCODE
SwiSetDDTMPref
(
swi_uint16
iDDTMPref,
swi_uint32
timeout);
121
SWI_API
SWI_RCODE
SwiClearVoicemail
(
swi_uint32
timeout);
122
123
#ifdef __cplusplus
124
}
/* extern "C" { */
125
#endif
126
127
#endif
/* __SWIAPICDMAVOICE_H__ */
128
129
/*
130
* $Log: SwiApiCdmaVoice.h,v $
131
*/
132
Linux SDK V1.4.0.5
Copyright (c) 2011 Sierra Wireless, Inc. All rights reserved