Gammu internals
1.38.0
gsmreply.h
Go to the documentation of this file.
1
/* (c) 2002-2009 by Marcin Wiacek & Michal Cihar */
2
15
#ifndef __gsm_reply_h
16
#define __gsm_reply_h
17
18
#include "
protocol/protocol.h
"
19
#include <
gammu.h
>
20
25
typedef
enum
{
26
ID_None
=1,
27
ID_GetModel
,
28
ID_GetFirmware
,
29
ID_EnableSecurity
,
30
ID_OpenFile
,
31
ID_CloseFile
,
32
ID_GetIMEI
,
33
ID_GetDateTime
,
34
ID_GetAlarm
,
35
ID_GetMemory
,
36
ID_GetMemoryStatus
,
37
ID_GetSMSC
,
38
ID_GetSMSMessage
,
39
ID_EnableEcho
,
40
ID_EnableErrorInfo
,
41
ID_SetOBEX
,
42
ID_SetUSSD
,
43
ID_GetUSSD
,
44
ID_GetNote
,
45
ID_SetNote
,
46
ID_GetSignalQuality
,
47
ID_GetBatteryCharge
,
48
ID_GetSMSFolders
,
49
ID_GetSMSFolderStatus
,
50
ID_GetSMSStatus
,
51
ID_AddSMSFolder
,
52
ID_ConfigureNetworkInfo
,
53
ID_GetNetworkInfo
,
54
ID_GetNetworkCode
,
55
ID_GetNetworkName
,
56
ID_GetRingtone
,
57
ID_DialVoice
,
58
ID_GetCalendarNotesInfo
,
59
ID_GetCalendarNote
,
60
ID_GetSecurityCode
,
61
ID_GetWAPBookmark
,
62
ID_GetBitmap
,
63
ID_GetCRC
,
64
ID_SetAttrib
,
65
ID_SaveSMSMessage
,
66
ID_CancelCall
,
67
ID_SetDateTime
,
68
ID_SetAlarm
,
69
ID_DisableConnectFunc
,
70
ID_EnableConnectFunc
,
71
ID_AnswerCall
,
72
ID_SetBitmap
,
73
ID_SetRingtone
,
74
ID_DeleteSMSMessage
,
75
ID_DeleteCalendarNote
,
76
ID_SetPath
,
77
ID_SetSMSC
,
78
ID_SetProfile
,
79
ID_SetMemory
,
80
ID_DeleteMemory
,
81
ID_SetCalendarNote
,
82
ID_AddCalendarNote
,
83
ID_SetIncomingSMS
,
84
ID_SetIncomingCB
,
85
ID_SetIncomingCall
,
86
ID_GetCNMIMode
,
87
ID_GetCalendarNotePos
,
88
ID_Initialise
,
89
ID_Terminate
,
90
ID_GetConnectSet
,
91
ID_SetWAPBookmark
,
92
ID_GetLocale
,
93
ID_SetLocale
,
94
ID_GetCalendarSettings
,
95
ID_SetCalendarSettings
,
96
ID_GetGPRSPoint
,
97
ID_GetGPRSState
,
98
ID_SetGPRSPoint
,
99
ID_EnableGPRSPoint
,
100
ID_DeleteWAPBookmark
,
101
ID_Netmonitor
,
102
ID_HoldCall
,
103
ID_UnholdCall
,
104
ID_ConferenceCall
,
105
ID_SplitCall
,
106
ID_TransferCall
,
107
ID_SwitchCall
,
108
ID_GetManufactureMonth
,
109
ID_GetProductCode
,
110
ID_GetOriginalIMEI
,
111
ID_GetHardware
,
112
ID_GetPPM
,
113
ID_GetSMSMode
,
114
ID_GetSMSMemories
,
115
ID_GetManufacturer
,
116
ID_SetMemoryType
,
117
ID_GetMemoryCharset
,
118
ID_SetMemoryCharset
,
119
ID_SetSMSParameters
,
120
ID_GetFMStation
,
121
ID_SetFMStation
,
122
ID_GetLanguage
,
123
ID_SetFastSMSSending
,
124
ID_Reset
,
125
ID_GetToDoInfo
,
126
ID_GetToDo
,
127
ID_PressKey
,
128
ID_DeleteAllToDo
,
129
ID_SetLight
,
130
ID_Divert
,
131
ID_SetDivert
,
132
ID_SetToDo
,
133
ID_AddToDo
,
134
ID_PlayTone
,
135
ID_GetChatSettings
,
136
ID_GetSyncMLSettings
,
137
ID_GetSyncMLName
,
138
ID_GetSecurityStatus
,
139
ID_EnterSecurityCode
,
140
ID_GetProfile
,
141
ID_GetRingtonesInfo
,
142
ID_MakeAuthentication
,
143
ID_GetSpeedDial
,
144
ID_ResetPhoneSettings
,
145
ID_SendDTMF
,
146
ID_GetDisplayStatus
,
147
ID_SetAutoNetworkLogin
,
148
ID_SetConnectSet
,
149
ID_GetSIMIMSI
,
150
ID_GetFileInfo
,
151
ID_FileSystemStatus
,
152
ID_GetFile
,
153
ID_AddFile
,
154
ID_AddFolder
,
155
ID_DeleteFolder
,
156
ID_DeleteFile
,
157
ID_ModeSwitch
,
158
ID_GetProtocol
,
159
ID_Screenshot
,
160
ID_GetScreenSize
,
161
162
/* Alcatel AT mode */
163
ID_SetFlowControl
,
164
ID_AlcatelConnect
,
165
ID_AlcatelProtocol
,
166
167
/* Alcatel Binary mode */
168
ID_AlcatelAttach
,
169
ID_AlcatelDetach
,
170
ID_AlcatelCommit
,
171
ID_AlcatelCommit2
,
172
ID_AlcatelEnd
,
173
ID_AlcatelClose
,
174
ID_AlcatelStart
,
175
ID_AlcatelSelect1
,
176
ID_AlcatelSelect2
,
177
ID_AlcatelSelect3
,
178
ID_AlcatelBegin1
,
179
ID_AlcatelBegin2
,
180
ID_AlcatelGetIds1
,
181
ID_AlcatelGetIds2
,
182
ID_AlcatelGetCategories1
,
183
ID_AlcatelGetCategories2
,
184
ID_AlcatelGetCategoryText1
,
185
ID_AlcatelGetCategoryText2
,
186
ID_AlcatelAddCategoryText1
,
187
ID_AlcatelAddCategoryText2
,
188
ID_AlcatelGetFields1
,
189
ID_AlcatelGetFields2
,
190
ID_AlcatelGetFieldValue1
,
191
ID_AlcatelGetFieldValue2
,
192
ID_AlcatelDeleteItem1
,
193
ID_AlcatelDeleteItem2
,
194
ID_AlcatelDeleteField
,
195
ID_AlcatelCreateField
,
196
ID_AlcatelUpdateField
,
197
198
ID_SetPower
,
199
200
ID_IncomingFrame
,
201
202
ID_User1
,
203
ID_User2
,
204
ID_User3
,
205
ID_User4
,
206
ID_User5
,
207
ID_User6
,
208
ID_User7
,
209
ID_User8
,
210
ID_User9
,
211
ID_User10
,
212
213
ID_All
,
214
ID_EachFrame
215
}
GSM_Phone_RequestID
;
216
227
typedef
struct
{
231
GSM_Error
(*Function) (
GSM_Protocol_Message
*msg,
GSM_StateMachine
*s);
236
const
unsigned
char
*
msgtype
;
241
const
size_t
subtypechar
;
245
const
int
subtype
;
250
const
GSM_Phone_RequestID
requestID
;
251
}
GSM_Reply_Function
;
252
253
#endif
254
256
/* How should editor hadle tabs in this file? Add editor commands here.
257
* vim: noexpandtab sw=8 ts=8 sts=8:
258
*/
ID_AddCalendarNote
Definition:
gsmreply.h:82
ID_EnableSecurity
Definition:
gsmreply.h:29
ID_User3
Definition:
gsmreply.h:204
ID_SetPower
Definition:
gsmreply.h:198
ID_GetUSSD
Definition:
gsmreply.h:43
ID_SetGPRSPoint
Definition:
gsmreply.h:98
ID_GetRingtonesInfo
Definition:
gsmreply.h:141
ID_SetSMSParameters
Definition:
gsmreply.h:119
ID_SetUSSD
Definition:
gsmreply.h:42
GSM_Reply_Function::msgtype
const unsigned char * msgtype
Definition:
gsmreply.h:236
ID_GetScreenSize
Definition:
gsmreply.h:160
ID_AlcatelDeleteField
Definition:
gsmreply.h:194
ID_AlcatelGetIds2
Definition:
gsmreply.h:181
ID_SetIncomingSMS
Definition:
gsmreply.h:83
ID_GetFMStation
Definition:
gsmreply.h:120
ID_GetManufacturer
Definition:
gsmreply.h:115
ID_GetSMSC
Definition:
gsmreply.h:37
ID_HoldCall
Definition:
gsmreply.h:102
ID_SetLight
Definition:
gsmreply.h:129
ID_AlcatelAttach
Definition:
gsmreply.h:168
ID_AlcatelGetCategoryText1
Definition:
gsmreply.h:184
ID_Reset
Definition:
gsmreply.h:124
ID_DeleteFolder
Definition:
gsmreply.h:155
ID_SetAttrib
Definition:
gsmreply.h:64
ID_AlcatelCommit2
Definition:
gsmreply.h:171
ID_SetNote
Definition:
gsmreply.h:45
ID_GetFile
Definition:
gsmreply.h:152
ID_MakeAuthentication
Definition:
gsmreply.h:142
ID_AlcatelCreateField
Definition:
gsmreply.h:195
ID_GetAlarm
Definition:
gsmreply.h:34
ID_GetFileInfo
Definition:
gsmreply.h:150
ID_AlcatelConnect
Definition:
gsmreply.h:164
ID_SetDivert
Definition:
gsmreply.h:131
ID_GetNetworkCode
Definition:
gsmreply.h:54
ID_AlcatelGetCategories2
Definition:
gsmreply.h:183
ID_SetConnectSet
Definition:
gsmreply.h:148
ID_SetToDo
Definition:
gsmreply.h:132
ID_GetSyncMLSettings
Definition:
gsmreply.h:136
ID_GetToDo
Definition:
gsmreply.h:126
_GSM_StateMachine
Definition:
gsmstate.h:1401
ID_GetNote
Definition:
gsmreply.h:44
ID_GetConnectSet
Definition:
gsmreply.h:90
ID_All
Definition:
gsmreply.h:213
ID_GetFirmware
Definition:
gsmreply.h:28
ID_SetBitmap
Definition:
gsmreply.h:72
ID_GetSMSStatus
Definition:
gsmreply.h:50
ID_AddToDo
Definition:
gsmreply.h:133
ID_SetPath
Definition:
gsmreply.h:76
ID_Divert
Definition:
gsmreply.h:130
ID_SaveSMSMessage
Definition:
gsmreply.h:65
ID_EnableEcho
Definition:
gsmreply.h:39
ID_GetRingtone
Definition:
gsmreply.h:56
GSM_Error
GSM_Error
Definition:
gammu-error.h:23
ID_SetFastSMSSending
Definition:
gsmreply.h:123
ID_AddSMSFolder
Definition:
gsmreply.h:51
ID_DeleteCalendarNote
Definition:
gsmreply.h:75
ID_AlcatelSelect3
Definition:
gsmreply.h:177
GSM_Reply_Function::requestID
const GSM_Phone_RequestID requestID
Definition:
gsmreply.h:250
ID_GetCalendarNote
Definition:
gsmreply.h:59
ID_FileSystemStatus
Definition:
gsmreply.h:151
ID_SetFlowControl
Definition:
gsmreply.h:163
ID_DisableConnectFunc
Definition:
gsmreply.h:69
ID_EachFrame
Definition:
gsmreply.h:214
ID_Initialise
Definition:
gsmreply.h:88
protocol.h
ID_GetBatteryCharge
Definition:
gsmreply.h:47
ID_AlcatelDeleteItem2
Definition:
gsmreply.h:193
ID_GetOriginalIMEI
Definition:
gsmreply.h:110
ID_GetCNMIMode
Definition:
gsmreply.h:86
ID_AlcatelGetFields1
Definition:
gsmreply.h:188
ID_GetLocale
Definition:
gsmreply.h:92
ID_AlcatelAddCategoryText1
Definition:
gsmreply.h:186
GSM_Reply_Function::subtype
const int subtype
Definition:
gsmreply.h:245
ID_EnableGPRSPoint
Definition:
gsmreply.h:99
ID_PressKey
Definition:
gsmreply.h:127
ID_GetProtocol
Definition:
gsmreply.h:158
ID_GetIMEI
Definition:
gsmreply.h:32
ID_AlcatelEnd
Definition:
gsmreply.h:172
ID_ConferenceCall
Definition:
gsmreply.h:104
ID_SetRingtone
Definition:
gsmreply.h:73
ID_GetMemoryCharset
Definition:
gsmreply.h:117
ID_SetDateTime
Definition:
gsmreply.h:67
ID_AlcatelAddCategoryText2
Definition:
gsmreply.h:187
ID_GetSecurityCode
Definition:
gsmreply.h:60
ID_DeleteAllToDo
Definition:
gsmreply.h:128
ID_SetOBEX
Definition:
gsmreply.h:41
ID_GetProductCode
Definition:
gsmreply.h:109
ID_AlcatelDetach
Definition:
gsmreply.h:169
ID_GetSMSFolders
Definition:
gsmreply.h:48
ID_AlcatelSelect1
Definition:
gsmreply.h:175
ID_DeleteFile
Definition:
gsmreply.h:156
gammu.h
ID_OpenFile
Definition:
gsmreply.h:30
ID_None
Definition:
gsmreply.h:26
ID_SetCalendarNote
Definition:
gsmreply.h:81
ID_ConfigureNetworkInfo
Definition:
gsmreply.h:52
GSM_Protocol_Message
Definition:
protocol.h:16
ID_GetCalendarNotePos
Definition:
gsmreply.h:87
ID_GetDisplayStatus
Definition:
gsmreply.h:146
ID_EnableConnectFunc
Definition:
gsmreply.h:70
ID_SetCalendarSettings
Definition:
gsmreply.h:95
ID_SetAutoNetworkLogin
Definition:
gsmreply.h:147
ID_GetSignalQuality
Definition:
gsmreply.h:46
ID_GetCalendarNotesInfo
Definition:
gsmreply.h:58
ID_User7
Definition:
gsmreply.h:208
ID_SetIncomingCB
Definition:
gsmreply.h:84
ID_GetSMSMode
Definition:
gsmreply.h:113
ID_GetNetworkName
Definition:
gsmreply.h:55
ID_GetGPRSPoint
Definition:
gsmreply.h:96
ID_AlcatelCommit
Definition:
gsmreply.h:170
ID_GetMemory
Definition:
gsmreply.h:35
ID_SetIncomingCall
Definition:
gsmreply.h:85
ID_AddFolder
Definition:
gsmreply.h:154
ID_AlcatelDeleteItem1
Definition:
gsmreply.h:192
ID_User9
Definition:
gsmreply.h:210
ID_CancelCall
Definition:
gsmreply.h:66
ID_GetSecurityStatus
Definition:
gsmreply.h:138
ID_GetCalendarSettings
Definition:
gsmreply.h:94
ID_SetMemoryCharset
Definition:
gsmreply.h:118
ID_DeleteSMSMessage
Definition:
gsmreply.h:74
ID_AlcatelGetCategories1
Definition:
gsmreply.h:182
GSM_Reply_Function::subtypechar
const size_t subtypechar
Definition:
gsmreply.h:241
ID_GetSIMIMSI
Definition:
gsmreply.h:149
ID_ModeSwitch
Definition:
gsmreply.h:157
ID_SetLocale
Definition:
gsmreply.h:93
ID_GetMemoryStatus
Definition:
gsmreply.h:36
ID_PlayTone
Definition:
gsmreply.h:134
ID_GetPPM
Definition:
gsmreply.h:112
ID_SetMemory
Definition:
gsmreply.h:79
ID_GetHardware
Definition:
gsmreply.h:111
ID_ResetPhoneSettings
Definition:
gsmreply.h:144
ID_UnholdCall
Definition:
gsmreply.h:103
ID_AlcatelProtocol
Definition:
gsmreply.h:165
ID_Terminate
Definition:
gsmreply.h:89
ID_SetAlarm
Definition:
gsmreply.h:68
GSM_Reply_Function
Definition:
gsmreply.h:227
ID_User2
Definition:
gsmreply.h:203
ID_AlcatelBegin1
Definition:
gsmreply.h:178
ID_GetSMSFolderStatus
Definition:
gsmreply.h:49
ID_AlcatelGetFields2
Definition:
gsmreply.h:189
ID_SetMemoryType
Definition:
gsmreply.h:116
ID_GetDateTime
Definition:
gsmreply.h:33
ID_GetGPRSState
Definition:
gsmreply.h:97
ID_IncomingFrame
Definition:
gsmreply.h:200
ID_AlcatelGetCategoryText2
Definition:
gsmreply.h:185
ID_SendDTMF
Definition:
gsmreply.h:145
ID_AlcatelGetIds1
Definition:
gsmreply.h:180
ID_DeleteMemory
Definition:
gsmreply.h:80
ID_CloseFile
Definition:
gsmreply.h:31
ID_TransferCall
Definition:
gsmreply.h:106
ID_EnterSecurityCode
Definition:
gsmreply.h:139
ID_GetWAPBookmark
Definition:
gsmreply.h:61
ID_GetLanguage
Definition:
gsmreply.h:122
ID_GetSMSMessage
Definition:
gsmreply.h:38
ID_AlcatelClose
Definition:
gsmreply.h:173
ID_EnableErrorInfo
Definition:
gsmreply.h:40
ID_GetChatSettings
Definition:
gsmreply.h:135
ID_SetFMStation
Definition:
gsmreply.h:121
ID_GetProfile
Definition:
gsmreply.h:140
ID_Netmonitor
Definition:
gsmreply.h:101
ID_AlcatelGetFieldValue1
Definition:
gsmreply.h:190
ID_GetSpeedDial
Definition:
gsmreply.h:143
ID_SplitCall
Definition:
gsmreply.h:105
ID_DialVoice
Definition:
gsmreply.h:57
ID_GetManufactureMonth
Definition:
gsmreply.h:108
ID_GetNetworkInfo
Definition:
gsmreply.h:53
ID_Screenshot
Definition:
gsmreply.h:159
ID_AnswerCall
Definition:
gsmreply.h:71
ID_User6
Definition:
gsmreply.h:207
ID_GetSMSMemories
Definition:
gsmreply.h:114
ID_GetToDoInfo
Definition:
gsmreply.h:125
ID_SwitchCall
Definition:
gsmreply.h:107
ID_User1
Definition:
gsmreply.h:202
ID_User8
Definition:
gsmreply.h:209
GSM_Phone_RequestID
GSM_Phone_RequestID
Definition:
gsmreply.h:25
ID_AlcatelGetFieldValue2
Definition:
gsmreply.h:191
ID_AlcatelUpdateField
Definition:
gsmreply.h:196
ID_GetSyncMLName
Definition:
gsmreply.h:137
ID_GetCRC
Definition:
gsmreply.h:63
ID_AlcatelBegin2
Definition:
gsmreply.h:179
ID_User10
Definition:
gsmreply.h:211
ID_AlcatelStart
Definition:
gsmreply.h:174
ID_SetWAPBookmark
Definition:
gsmreply.h:91
ID_User5
Definition:
gsmreply.h:206
ID_AlcatelSelect2
Definition:
gsmreply.h:176
ID_GetModel
Definition:
gsmreply.h:27
ID_SetSMSC
Definition:
gsmreply.h:77
ID_GetBitmap
Definition:
gsmreply.h:62
ID_AddFile
Definition:
gsmreply.h:153
ID_User4
Definition:
gsmreply.h:205
ID_DeleteWAPBookmark
Definition:
gsmreply.h:100
ID_SetProfile
Definition:
gsmreply.h:78
libgammu
gsmreply.h
Generated on Wed Nov 16 2016 13:39:19 for Gammu internals by
1.8.12