LinuxSDK  V1.4.0.5
SwiApiGsmSms.h
Go to the documentation of this file.
1 
13 #ifndef __SWIAPIGSMSMS_H__
14 #define __SWIAPIGSMSMS_H__
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 /* include files */
21 #include "SwiDataTypes.h"
22 #include "SwiRcodes.h"
23 #define ADD_NUM_LENGTH 20
24 #define MSG_DATA_LENGTH 160
25 #define TIME_STAMP_LENGTH 14
36 typedef struct SWI_STRUCT_GSM_SMS_Deliver
37 {
38  swi_uint16 sizeStruct;
40  swi_uint16 notfctnVersionNum;
42  swi_uint8 orgAddrLength;
44  swi_uint8 orgAddrType;
46  swi_uint8 orgAddrNumbPlan;
48  swi_uint8 orgAddrNumber[ADD_NUM_LENGTH];
50  swi_uint8 svcCentreAddrlength;
52  swi_uint8 svcCentreAddrType;
54  swi_uint8 svcCentreAddrnumbPlan;
56  swi_uint8 svcCentreAddrNumber[ADD_NUM_LENGTH];
58  swi_uint8 repAllowFlag;
60  swi_uint8 protocolType;
62  swi_uint8 protocolId;
64  swi_uint8 DCSDataType;
66  swi_uint8 DCSClass;
68  swi_uint8 DCSCompression;
70  swi_uint8 DCSMsgWtngInd[3];
72  swi_uint8 usrDataHdrPresent;
74  swi_uint8 shortMsgLength;
76  swi_uint8 shortMsgData[MSG_DATA_LENGTH];
78  swi_uint8 moreMsgToSend;
80  swi_uint8 svcCentreTimeStamp[TIME_STAMP_LENGTH];
82 
83 #ifdef __cplusplus
84 } /* extern "C" { */
85 #endif
86 
87 #endif /* __SWIAPIGSMSMS_H__ */
88 
89 /*
90  * $Log: SwiApiGsmSms.h,v $
91  */

Linux SDK V1.4.0.5
Copyright (c) 2011 Sierra Wireless, Inc. All rights reserved