LinuxQMISDK: qaCbkCatEventReportInd.h Source File

LinuxQMISDK SLQS03.03.07

- Main Page
- Modules
- References
- Data Structures

- File List
- Globals

qaCbkCatEventReportInd.h
Go to the documentation of this file.
1
14 #ifndef __CAT_EVENT_REPORT_IND_H__
15 #define __CAT_EVENT_REPORT_IND_H__
16
21 enum eQMI_CAT_EVENT_REPORT_IND_TLV
22 {
23 eTLV_DISPLAY_TEXT = 0x10,
24 eTLV_GET_IN_KEY = 0x11,
25 eTLV_GET_INPUT = 0x12,
26 eTLV_SETUP_MENU = 0x13,
27 eTLV_SELECT_ITEM = 0x14,
28 eTLV_ALPHA_IDENTIFIER = 0x15,
29 eTLV_SETUP_EVENT_LIST = 0x16,
30 eTLV_SETUP_IDLE_MODE_TEXT = 0x17,
31 eTLV_LANGUAGE_NOTIFICATION = 0x18,
32 eTLV_REFRESH = 0x19,
33 eTLV_END_PROACTIVE_SESSION = 0x1A
34 };
35
40 enum eQMI_CAT_EVENT_REPORT_IND_TLV_LENGTH
41 {
42 eTLV_SETUP_EVENT_LIST_LENGTH = 0x04,
43 eTLV_REFRESH_LENGTH = 0x03,
44 eTLV_END_PROACTIVE_SESSION_LENGTH = 0x01
45 };
46
51 #define QMI_MAX_CAT_EVENT_DATA_LENGTH 255
52 #define QMI_CAN_COMMON_EVENT_TLV_NUMBER 11
53
59 #pragma pack(push)
60 #pragma pack(1)
61
70 struct CatEventIDDataTlv
71 {
72 ULONG ReferenceID;
73 USHORT DataLength;
74 BYTE Data[QMI_MAX_CAT_EVENT_DATA_LENGTH];
75 };
76
86 struct CatAlPhaIdentifierTlv
87 {
88 BYTE ReferenceID;
89 USHORT AlphaIDLength;
90 BYTE AlphaID[QMI_MAX_CAT_EVENT_DATA_LENGTH];
91 };
92
106 struct CatEventListTlv
107 {
108 ULONG SetupEventList;
109 };
110
120 struct CatRefreshTlv
121 {
122 USHORT RefreshMode;
123 BYTE RefreshStage;
124 };
125
135 struct CatEndProactiveSessionTlv
136 {
137 BYTE EndProactiveSession;
138 };
139
144 #pragma pack(pop)
145
163 union currentCatEvent
164 {
165 struct CatEventIDDataTlv CatEvIDData;
166 struct CatAlPhaIdentifierTlv CatAlphaIdtfr;
167 struct CatEventListTlv CatEventLst;
168 struct CatRefreshTlv CatRefresh;
169 struct CatEndProactiveSessionTlv CatEndPS;
170 };
171
198 struct CatCommonEventTlv
199 {
200 BYTE TlvPresent;
201 BYTE EventID;
202 WORD EventLength;
203 union currentCatEvent CatEvent;
204 };
205
216 struct QmiCbkCatEventStatusReportInd{
217 BYTE event_Index;
218 struct CatCommonEventTlv CCETlv[QMI_CAN_COMMON_EVENT_TLV_NUMBER];
219 };
220
225 enum eQCWWANError UpkQmiCbkCatEventReportInd (
226 BYTE *pMdmResp,
227 struct QmiCbkCatEventStatusReportInd *pAipResp );
228
229 #endif /* __CAT_EVENT_REPORT_IND_H__ */
230
eTLV_END_PROACTIVE_SESSION
Definition: qaCbkCatEventReportInd.h:33
CatRefreshTlv::RefreshStage
BYTE RefreshStage
Definition: qaCbkCatEventReportInd.h:123
eQCWWANError
eQCWWANError
Definition: qmerrno.h:18
CatCommonEventTlv
Definition: qaCbkCatEventReportInd.h:198
CatEndProactiveSessionTlv
Definition: qaCbkCatEventReportInd.h:135
CatEventIDDataTlv::Data
BYTE Data[255]
Definition: qaCbkCatEventReportInd.h:74
eTLV_ALPHA_IDENTIFIER
Definition: qaCbkCatEventReportInd.h:28
CatEventListTlv::SetupEventList
ULONG SetupEventList
Definition: qaCbkCatEventReportInd.h:108
CatCommonEventTlv::EventID
BYTE EventID
Definition: qaCbkCatEventReportInd.h:201
eTLV_LANGUAGE_NOTIFICATION
Definition: qaCbkCatEventReportInd.h:31
BYTE
unsigned char BYTE
Definition: SwiDataTypes.h:26
eTLV_SETUP_IDLE_MODE_TEXT
Definition: qaCbkCatEventReportInd.h:30
CatEventIDDataTlv::ReferenceID
ULONG ReferenceID
Definition: qaCbkCatEventReportInd.h:72
CatAlPhaIdentifierTlv::AlphaIDLength
USHORT AlphaIDLength
Definition: qaCbkCatEventReportInd.h:89
CatCommonEventTlv::TlvPresent
BYTE TlvPresent
Definition: qaCbkCatEventReportInd.h:200
CatCommonEventTlv::EventLength
WORD EventLength
Definition: qaCbkCatEventReportInd.h:202
eTLV_SETUP_EVENT_LIST
Definition: qaCbkCatEventReportInd.h:29
currentCatEvent::CatEventLst
struct CatEventListTlv CatEventLst
Definition: qaCbkCatEventReportInd.h:167
QmiCbkCatEventStatusReportInd::CCETlv
struct CatCommonEventTlv CCETlv[11]
Definition: qaCbkCatEventReportInd.h:218
CatAlPhaIdentifierTlv::AlphaID
BYTE AlphaID[255]
Definition: qaCbkCatEventReportInd.h:90
CatAlPhaIdentifierTlv
Definition: qaCbkCatEventReportInd.h:86
eTLV_REFRESH_LENGTH
Definition: qaCbkCatEventReportInd.h:43
eTLV_END_PROACTIVE_SESSION_LENGTH
Definition: qaCbkCatEventReportInd.h:44
eTLV_GET_INPUT
Definition: qaCbkCatEventReportInd.h:25
CatEndProactiveSessionTlv::EndProactiveSession
BYTE EndProactiveSession
Definition: qaCbkCatEventReportInd.h:137
CatRefreshTlv
Definition: qaCbkCatEventReportInd.h:120
currentCatEvent::CatEvIDData
struct CatEventIDDataTlv CatEvIDData
Definition: qaCbkCatEventReportInd.h:165
USHORT
unsigned short USHORT
Definition: SwiDataTypes.h:29
CatEventListTlv
Definition: qaCbkCatEventReportInd.h:106
QMI_MAX_CAT_EVENT_DATA_LENGTH
#define QMI_MAX_CAT_EVENT_DATA_LENGTH
Definition: qaCbkCatEventReportInd.h:51
CatRefreshTlv::RefreshMode
USHORT RefreshMode
Definition: qaCbkCatEventReportInd.h:122
currentCatEvent::CatEndPS
struct CatEndProactiveSessionTlv CatEndPS
Definition: qaCbkCatEventReportInd.h:169
currentCatEvent::CatAlphaIdtfr
struct CatAlPhaIdentifierTlv CatAlphaIdtfr
Definition: qaCbkCatEventReportInd.h:166
currentCatEvent::CatRefresh
struct CatRefreshTlv CatRefresh
Definition: qaCbkCatEventReportInd.h:168
eTLV_REFRESH
Definition: qaCbkCatEventReportInd.h:32
ULONG
unsigned long ULONG
Definition: SwiDataTypes.h:23
eTLV_DISPLAY_TEXT
Definition: qaCbkCatEventReportInd.h:23
QMI_CAN_COMMON_EVENT_TLV_NUMBER
#define QMI_CAN_COMMON_EVENT_TLV_NUMBER
Definition: qaCbkCatEventReportInd.h:52
QmiCbkCatEventStatusReportInd
Definition: qaCbkCatEventReportInd.h:216
eTLV_SETUP_EVENT_LIST_LENGTH
Definition: qaCbkCatEventReportInd.h:42
CatEventIDDataTlv
Definition: qaCbkCatEventReportInd.h:70
eTLV_SELECT_ITEM
Definition: qaCbkCatEventReportInd.h:27
CatAlPhaIdentifierTlv::ReferenceID
BYTE ReferenceID
Definition: qaCbkCatEventReportInd.h:88
eTLV_GET_IN_KEY
Definition: qaCbkCatEventReportInd.h:24
CatEventIDDataTlv::DataLength
USHORT DataLength
Definition: qaCbkCatEventReportInd.h:73
currentCatEvent
Definition: qaCbkCatEventReportInd.h:163
eTLV_SETUP_MENU
Definition: qaCbkCatEventReportInd.h:26
eQMI_CAT_EVENT_REPORT_IND_TLV_LENGTH
eQMI_CAT_EVENT_REPORT_IND_TLV_LENGTH
Definition: qaCbkCatEventReportInd.h:40
eQMI_CAT_EVENT_REPORT_IND_TLV
eQMI_CAT_EVENT_REPORT_IND_TLV
Definition: qaCbkCatEventReportInd.h:21
UpkQmiCbkCatEventReportInd
enum eQCWWANError UpkQmiCbkCatEventReportInd(BYTE *pMdmResp, struct QmiCbkCatEventStatusReportInd *pAipResp)
WORD
unsigned short WORD
Definition: SwiDataTypes.h:28
CatCommonEventTlv::CatEvent
union currentCatEvent CatEvent
Definition: qaCbkCatEventReportInd.h:203
QmiCbkCatEventStatusReportInd::event_Index
BYTE event_Index
Definition: qaCbkCatEventReportInd.h:217