connectivitylayer/isimessage/symbianisamacroif/include/wgmodem25/smsisi.h
changeset 5 8ccc39f9d787
parent 0 63b37f68c1ce
equal deleted inserted replaced
4:510c70acdbf6 5:8ccc39f9d787
    13 * 
    13 * 
    14 * Description:
    14 * Description:
    15 * Name      : PN_SMS [ 0x02 ] Resource SMS Server
    15 * Name      : PN_SMS [ 0x02 ] Resource SMS Server
    16 * Version   : 008.002
    16 * Version   : 008.002
    17 *
    17 *
       
    18 * Documentation: www.wirelessmodemapi.com
       
    19 *
    18 */
    20 */
    19 
    21 
    20 
    22 
    21 #ifndef _SYMBIAN_ISI_SMSISI_H_
    23 #ifndef _SYMBIAN_ISI_SMSISI_H_
    22 #define _SYMBIAN_ISI_SMSISI_H_
    24 #define _SYMBIAN_ISI_SMSISI_H_
    23 
    25 
    24 #define SMS_SERVER_ISI_VERSION_Z	 8
    26 #define SMS_SERVER_ISI_VERSION_Z	 8
    25 #define SMS_SERVER_ISI_VERSION_Y	 2
    27 #define SMS_SERVER_ISI_VERSION_Y	 4
    26 
    28 
    27 
    29 
    28 //CONSTANTS
    30 //CONSTANTS
    29 #define SMS_ADDRESS_MAX_LEN                               	0x0C                                                 	
    31 #define SMS_ADDRESS_MAX_LEN                               	0x0C                                                 	
    30 #define SMS_DELIVER_UD_MAX_LEN                            	0x8C                                              	
    32 #define SMS_DELIVER_UD_MAX_LEN                            	0x8C                                              	
    41 #define SMS_CB_MESSAGE_CONTENT_SIZE                       	0x52                                              	
    43 #define SMS_CB_MESSAGE_CONTENT_SIZE                       	0x52                                              	
    42 #define SMS_SETTING_REPLY_PATH                            	0x01                                                 	
    44 #define SMS_SETTING_REPLY_PATH                            	0x01                                                 	
    43 #define SMS_SETTING_REPLY_PATH_MASK                       	0xFE                                              	
    45 #define SMS_SETTING_REPLY_PATH_MASK                       	0xFE                                              	
    44 #define SMS_SETTING_CONF_REQUEST                          	0x02                                                 	
    46 #define SMS_SETTING_CONF_REQUEST                          	0x02                                                 	
    45 #define SMS_SETTING_CONF_REQUEST_MASK                     	0xFD                                              	
    47 #define SMS_SETTING_CONF_REQUEST_MASK                     	0xFD                                              	
       
    48 #define SMS_TP_FCS_TEL_INTERWRK_NOT_SUPPORTED             	0x80                                              	
       
    49 #define SMS_TP_FCS_SM_TYPE0_NOT_SUPPORTED                 	0x81                                              	
       
    50 #define SMS_TP_FCS_CANNOT_REPLACE_SM                      	0x82                                              	
       
    51 #define SMS_TP_FCS_UNSPECIFIED_PID_ERR                    	0x8F                                              	
       
    52 #define SMS_TP_FCS_DCS_NOT_SUPPORTED                      	0x90                                              	
       
    53 #define SMS_TP_FCS_MESSAGE_CLASS_NOT_SUPPORTED            	0x91                                              	
       
    54 #define SMS_TP_FCS_UNSPECIFIED_DCS_ERR                    	0x9F                                              	
       
    55 #define SMS_TP_FCS_CMD_CANNOT_BE_ACTIONED                 	0xA0                                              	
       
    56 #define SMS_TP_FCS_CMD_UNSUPPORTED                        	0xA1                                              	
       
    57 #define SMS_TP_FCS_UNSPECIFIED_CMD_ERR                    	0xAF                                              	
       
    58 #define SMS_TP_FCS_TPDU_NOT_SUPPORTED                     	0xB0                                              	
       
    59 #define SMS_TP_FCS_SC_BUSY                                	0xC0                                              	
       
    60 #define SMS_TP_FCS_NO_SC_SUBSCRIPTION                     	0xC1                                              	
       
    61 #define SMS_TP_FCS_SC_SYSTEM_FAILURE                      	0xC2                                              	
       
    62 #define SMS_TP_FCS_INVALID_SME_ADDR                       	0xC3                                              	
       
    63 #define SMS_TP_FCS_DEST_SME_BARRED                        	0xC4                                              	
       
    64 #define SMS_TP_FCS_SM_REJECTED_DUPLICATE_SM               	0xC5                                              	
       
    65 #define SMS_TP_FCS_TP_VPF_NOT_SUPPORTED                   	0xC6                                              	
       
    66 #define SMS_TP_FCS_TP_VP_NOT_SUPPORTED                    	0xC7                                              	
       
    67 #define SMS_TP_FCS_SIM_STORAGE_FULL                       	0xD0                                              	
       
    68 #define SMS_TP_FCS_NO_STORAGE_IN_SIM                      	0xD1                                              	
       
    69 #define SMS_TP_FCS_ERROR_IN_MS                            	0xD2                                              	
       
    70 #define SMS_TP_FCS_MEM_CAP_EXCEEDED                       	0xD3                                              	
       
    71 #define SMS_TP_FCS_SIM_ATK_BUSY                           	0xD4                                              	
       
    72 #define SMS_TP_FCS_SIM_DATA_DOWNLOAD_ERROR                	0xD5                                              	
       
    73 #define SMS_TP_FCS_UNSPECIFIED                            	0xFF                                              	
       
    74 #define SMS_TP_MTI_MASK                                   	0x03                                                 	
       
    75 #define SMS_TP_MTI_DELIVER                                	0x00                                                 	
       
    76 #define SMS_TP_MTI_DELIVER_REPORT                         	0x00                                                 	
       
    77 #define SMS_TP_MTI_STATUS_REPORT                          	0x02                                                 	
       
    78 #define SMS_TP_MTI_COMMAND                                	0x02                                                 	
       
    79 #define SMS_TP_MTI_SUBMIT                                 	0x01                                                 	
       
    80 #define SMS_TP_MTI_SUBMIT_REPORT                          	0x01                                                 	
       
    81 #define SMS_TP_MTI_UNDEFINED                              	0x03                                                 	
       
    82 #define SMS_TP_MMS_MASK                                   	0x04                                                 	
       
    83 #define SMS_TP_MMS_MORE_MESSAGES                          	0x00                                                 	
       
    84 #define SMS_TP_MMS_NO_MORE_MESSAGES                       	0x04                                                 	
       
    85 #define SMS_TP_VPF_MASK                                   	0x18                                              	
       
    86 #define SMS_TP_VPF_NOT_PRESENT                            	0x00                                                 	
       
    87 #define SMS_TP_VPF_RELATIVE_FORMAT                        	0x10                                              	
       
    88 #define SMS_TP_VPF_ENHANCED_FORMAT                        	0x08                                                 	
       
    89 #define SMS_TP_VPF_ABSOLUTE_FORMAT                        	0x18                                              	
       
    90 #define SMS_TP_VP_RF_WEEK_BASE_VALUE                      	0xC0                                              	
       
    91 #define SMS_TP_VP_RF_DAY_BASE_VALUE                       	0xA6                                              	
       
    92 #define SMS_TP_VP_RF_HOUR_BASE_VALUE                      	0x8F                                              	
       
    93 #define SMS_TP_SRI_MASK                                   	0x20                                              	
       
    94 #define SMS_TP_SRI_NOT_RETURNED                           	0x00                                                 	
       
    95 #define SMS_TP_SRI_RETURNED                               	0x20                                              	
       
    96 #define SMS_TP_SRR_MASK                                   	0x20                                              	
       
    97 #define SMS_TP_SRR_NOT_REQUESTED                          	0x00                                                 	
       
    98 #define SMS_TP_SRR_REQUESTED                              	0x20                                              	
       
    99 #define SMS_TP_RP_MASK                                    	0x80                                              	
       
   100 #define SMS_TP_RP_NOT_SET                                 	0x00                                                 	
       
   101 #define SMS_TP_RP_SET                                     	0x80                                              	
       
   102 #define SMS_TP_RD_MASK                                    	0x04                                                 	
       
   103 #define SMS_TP_RD_ACCEPT                                  	0x00                                                 	
       
   104 #define SMS_TP_RD_REJECT                                  	0x04                                                 	
       
   105 #define SMS_TP_SRQ_MASK                                   	0x20                                              	
       
   106 #define SMS_TP_SRQ_SUBMIT                                 	0x00                                                 	
       
   107 #define SMS_TP_SRQ_COMMAND                                	0x20                                              	
       
   108 #define SMS_TP_UDHI_MASK                                  	0x40                                              	
       
   109 #define SMS_TP_UDHI_MESSAGE                               	0x00                                                 	
       
   110 #define SMS_TP_UDHI_HEADER_MESSAGE                        	0x40                                              	
       
   111 #define SMS_TP_PI_EXTENSION_BIT_MASK                      	0x80                                              	
       
   112 #define SMS_TP_PI_EXTENSION_AVAIL                         	0x80                                              	
       
   113 #define SMS_TP_PI_EXTENSION_NOT_AVAIL                     	0x00                                                 	
       
   114 #define SMS_TP_PI_UDL_AVAIL                               	0x04                                                 	
       
   115 #define SMS_TP_PI_UDL_NOT_AVAIL                           	0x00                                                 	
       
   116 #define SMS_TP_PI_DCS_AVAIL                               	0x02                                                 	
       
   117 #define SMS_TP_PI_DCS_NOT_AVAIL                           	0x00                                                 	
       
   118 #define SMS_TP_PI_PID_AVAIL                               	0x01                                                 	
       
   119 #define SMS_TP_PI_PID_NOT_AVAIL                           	0x00                                                 	
       
   120 #define SMS_TP_DCS_SMS_GDC_UNCOMPRESSED                   	0x00                                                 	
       
   121 #define SMS_TP_DCS_SMS_GDC_COMPRESSED                     	0x20                                              	
       
   122 #define SMS_TP_DCS_SMS_GDC_NO_CLASS_MEANING               	0x00                                                 	
       
   123 #define SMS_TP_DCS_SMS_GDC_CLASS_MEANING                  	0x10                                              	
       
   124 #define SMS_TP_DCS_SMS_GDC_CS_GSM_7BIT                    	0x00                                                 	
       
   125 #define SMS_TP_DCS_SMS_GDC_CS_8BIT                        	0x04                                                 	
       
   126 #define SMS_TP_DCS_SMS_GDC_CS_UCS2                        	0x08                                                 	
       
   127 #define SMS_TP_DCS_SMS_GDC_CS_RESERVED                    	0x0C                                                 	
       
   128 #define SMS_TP_DCS_SMS_GDC_CLASS0                         	0x00                                                 	
       
   129 #define SMS_TP_DCS_SMS_GDC_CLASS1_ME                      	0x01                                                 	
       
   130 #define SMS_TP_DCS_SMS_GDC_CLASS2_SIM                     	0x02                                                 	
       
   131 #define SMS_TP_DCS_SMS_GDC_CLASS3_TE                      	0x03                                                 	
       
   132 #define SMS_TP_DCS_SMS_MWI_IS_INACTIVE                    	0x00                                                 	
       
   133 #define SMS_TP_DCS_SMS_MWI_IS_ACTIVE                      	0x08                                                 	
       
   134 #define SMS_TP_DCS_SMS_MWI_VOICEMAIL                      	0x00                                                 	
       
   135 #define SMS_TP_DCS_SMS_MWI_FAX                            	0x01                                                 	
       
   136 #define SMS_TP_DCS_SMS_MWI_EMAIL                          	0x02                                                 	
       
   137 #define SMS_TP_DCS_SMS_MWI_OTHER                          	0x03                                                 	
       
   138 #define SMS_TP_DCS_SMS_DATA_CODING_MESSAGE_CLASS          	0xF0                                              	
       
   139 #define SMS_TP_DCS_SMS_DCMC_MC_GSM_7BIT                   	0x00                                                 	
       
   140 #define SMS_TP_DCS_SMS_DCMC_MC_GSM_8BIT                   	0x02                                                 	
       
   141 #define SMS_TP_DCS_SMS_DCMC_MC_UCS2                       	0x04                                                 	
       
   142 #define SMS_TP_DCS_SMS_DCMC_CLASS0                        	0x00                                                 	
       
   143 #define SMS_TP_DCS_SMS_DCMC_CLASS1_ME                     	0x01                                                 	
       
   144 #define SMS_TP_DCS_SMS_DCMC_CLASS2_SIM                    	0x02                                                 	
       
   145 #define SMS_TP_DCS_SMS_DCMC_CLASS3_TE                     	0x03                                                 	
       
   146 #define SMS_TP_DCS_SMS_ADG_MASK_FOR_GDC                   	0x40                                              	
       
   147 #define SMS_TP_DCS_MSG_WAITING_MASK                       	0xF0                                              	
       
   148 #define SMS_TP_DCS_MSG_WAITING_DISCARD                    	0xC0                                              	
       
   149 #define SMS_TP_DCS_MSG_WAITING_STORE                      	0xD0                                              	
       
   150 #define SMS_TP_DCS_MSG_WAITING_UCS2                       	0xE0                                              	
       
   151 #define SMS_TP_DCS_CBS_LANGUAGE_GSM_7BIT                  	0x00                                                 	
       
   152 #define SMS_TP_DCS_CBS_GSM_7BIT_GERMAN                    	0x00                                                 	
       
   153 #define SMS_TP_DCS_CBS_GSM_7BIT_ENGLISH                   	0x01                                                 	
       
   154 #define SMS_TP_DCS_CBS_GSM_7BIT_ITALIAN                   	0x02                                                 	
       
   155 #define SMS_TP_DCS_CBS_GSM_7BIT_FRENCH                    	0x03                                                 	
       
   156 #define SMS_TP_DCS_CBS_GSM_7BIT_SPANISH                   	0x04                                                 	
       
   157 #define SMS_TP_DCS_CBS_GSM_7BIT_DUTCH                     	0x05                                                 	
       
   158 #define SMS_TP_DCS_CBS_GSM_7BIT_SWEDISH                   	0x06                                                 	
       
   159 #define SMS_TP_DCS_CBS_GSM_7BIT_DANISH                    	0x07                                                 	
       
   160 #define SMS_TP_DCS_CBS_GSM_7BIT_PORTUGESE                 	0x08                                                 	
       
   161 #define SMS_TP_DCS_CBS_GSM_7BIT_FINNISH                   	0x09                                                 	
       
   162 #define SMS_TP_DCS_CBS_GSM_7BIT_NORWEGIAN                 	0x0A                                                 	
       
   163 #define SMS_TP_DCS_CBS_GSM_7BIT_GREEK                     	0x0B                                                 	
       
   164 #define SMS_TP_DCS_CBS_GSM_7BIT_TURKISH                   	0x0C                                                 	
       
   165 #define SMS_TP_DCS_CBS_GSM_7BIT_HUNGARIAN                 	0x0D                                                 	
       
   166 #define SMS_TP_DCS_CBS_GSM_7BIT_POLISH                    	0x0E                                                 	
       
   167 #define SMS_TP_DCS_CBS_GSM_7BIT_UNSPECIFIED               	0x0F                                                 	
       
   168 #define SMS_TP_DCS_CBS_LANGUAGE_INDICATED_GSM_7BIT        	0x10                                              	
       
   169 #define SMS_TP_DCS_CBS_LANGUAGE_INDICATED_UCS2            	0x11                                              	
       
   170 #define SMS_TP_DCS_CBS_LANGUAGE_GSM_7BIT_EXTENDED         	0x10                                              	
       
   171 #define SMS_TP_DCS_CBS_GSM_7BIT_CZECH                     	0x00                                                 	
       
   172 #define SMS_TP_DCS_CBS_GSM_7BIT_HEBREW                    	0x01                                                 	
       
   173 #define SMS_TP_DCS_CBS_GSM_7BIT_ARABIC                    	0x02                                                 	
       
   174 #define SMS_TP_DCS_CBS_GSM_7BIT_RUSSIAN                   	0x03                                                 	
       
   175 #define SMS_TP_DCS_CBS_GSM_7BIT_ICELANDIC                 	0x04                                                 	
       
   176 #define SMS_TP_DCS_CBS_GENERAL_DATA_CODING                	0x40                                              	
       
   177 #define SMS_TP_DCS_CBS_GDC_UNCOMPRESSED                   	0x00                                                 	
       
   178 #define SMS_TP_DCS_CBS_GDC_COMPRESSED                     	0x20                                              	
       
   179 #define SMS_TP_DCS_CBS_GDC_NO_CLASS_MEANING               	0x00                                                 	
       
   180 #define SMS_TP_DCS_CBS_GDC_CLASS_MEANING                  	0x10                                              	
       
   181 #define SMS_TP_DCS_CBS_GDC_CS_GSM_7BIT                    	0x00                                                 	
       
   182 #define SMS_TP_DCS_CBS_GDC_CS_8BIT                        	0x04                                                 	
       
   183 #define SMS_TP_DCS_CBS_GDC_CS_UCS2                        	0x08                                                 	
       
   184 #define SMS_TP_DCS_CBS_GDC_CS_RESERVED                    	0x0C                                                 	
       
   185 #define SMS_TP_DCS_CBS_GDC_CLASS0                         	0x00                                                 	
       
   186 #define SMS_TP_DCS_CBS_GDC_CLASS1_ME                      	0x01                                                 	
       
   187 #define SMS_TP_DCS_CBS_GDC_CLASS2_SIM                     	0x02                                                 	
       
   188 #define SMS_TP_DCS_CBS_GDC_CLASS3_TE                      	0x03                                                 	
       
   189 #define SMS_TP_DCS_CBS_WAP_MESSAGES                       	0xF0                                              	
       
   190 #define SMS_TP_DCS_CBS_DATA_CODING_MSG_HANDLING           	0xF0                                              	
       
   191 #define SMS_TP_DCS_CBS_DCMH_MC_GSM_7BIT                   	0x00                                                 	
       
   192 #define SMS_TP_DCS_CBS_DCMH_MC_GSM_8BIT                   	0x02                                                 	
       
   193 #define SMS_TP_DCS_CBS_DCMH_MC_UCS2                       	0x04                                                 	
       
   194 #define SMS_TP_DCS_CBS_DCMH_CLASS0                        	0x00                                                 	
       
   195 #define SMS_TP_DCS_CBS_DCMH_CLASS1_ME                     	0x01                                                 	
       
   196 #define SMS_TP_DCS_CBS_DCMH_CLASS2_SIM                    	0x02                                                 	
       
   197 #define SMS_TP_DCS_CBS_DCMH_CLASS3_TE                     	0x03                                                 	
       
   198 #define SMS_TP_ADDR_TON_MASK                              	0x70                                              	
       
   199 #define SMS_TP_ADDR_TON_UNKNOWN                           	0x00                                                 	
       
   200 #define SMS_TP_ADDR_TON_INTERNATIONAL                     	0x10                                              	
       
   201 #define SMS_TP_ADDR_TON_NATIONAL                          	0x20                                              	
       
   202 #define SMS_TP_ADDR_TON_NETW_SPECIFIC                     	0x30                                              	
       
   203 #define SMS_TP_ADDR_TON_SUBSCRIBER                        	0x40                                              	
       
   204 #define SMS_TP_ADDR_TON_ALPHANUMERIC                      	0x50                                              	
       
   205 #define SMS_TP_ADDR_TON_ABBREVIATED                       	0x60                                              	
       
   206 #define SMS_TP_ADDR_TON_RESERVED                          	0x70                                              	
       
   207 #define SMS_RP_ADDR_TON_MASK                              	0x70                                              	
       
   208 #define SMS_RP_ADDR_TON_UNKNOWN                           	0x00                                                 	
       
   209 #define SMS_RP_ADDR_TON_INTERNATIONAL                     	0x10                                              	
       
   210 #define SMS_RP_ADDR_TON_NATIONAL                          	0x20                                              	
       
   211 #define SMS_RP_ADDR_TON_NETW_SPECIFIC                     	0x30                                              	
       
   212 #define SMS_RP_ADDR_TON_DEDIC_ACCESS                      	0x40                                              	
       
   213 #define SMS_RP_ADDR_TON_RESERVED                          	0x70                                              	
       
   214 #define SMS_RP_ADDR_NPI_MASK                              	0x0F                                                 	
       
   215 #define SMS_RP_ADDR_NPI_UNKNOWN                           	0x00                                                 	
       
   216 #define SMS_RP_ADDR_NPI_ISDN                              	0x01                                                 	
       
   217 #define SMS_RP_ADDR_NPI_DATA                              	0x03                                                 	
       
   218 #define SMS_RP_ADDR_NPI_TELEX                             	0x04                                                 	
       
   219 #define SMS_RP_ADDR_NPI_NATIONAL                          	0x08                                                 	
       
   220 #define SMS_RP_ADDR_NPI_PRIVATE                           	0x09                                                 	
       
   221 #define SMS_RP_ADDR_NPI_RES_CTS                           	0x0B                                                 	
       
   222 #define SMS_RP_ADDR_NPI_RESERVED                          	0x0F                                                 	
       
   223 #define SMS_TP_ADDR_NPI_MASK                              	0x0F                                                 	
       
   224 #define SMS_TP_ADDR_NPI_UNKNOWN                           	0x00                                                 	
       
   225 #define SMS_TP_ADDR_NPI_ISDN                              	0x01                                                 	
       
   226 #define SMS_TP_ADDR_NPI_DATA                              	0x03                                                 	
       
   227 #define SMS_TP_ADDR_NPI_TELEX                             	0x04                                                 	
       
   228 #define SMS_TP_ADDR_NPI_SC_SPECIFIC1                      	0x05                                                 	
       
   229 #define SMS_TP_ADDR_NPI_SC_SPECIFIC2                      	0x06                                                 	
       
   230 #define SMS_TP_ADDR_NPI_NATIONAL                          	0x08                                                 	
       
   231 #define SMS_TP_ADDR_NPI_PRIVATE                           	0x09                                                 	
       
   232 #define SMS_TP_ADDR_NPI_ERMES                             	0x0A                                                 	
       
   233 #define SMS_TP_ADDR_NPI_RESERVED                          	0x0F                                                 	
       
   234 #define SMS_SRV_CB_MAX_SUBSCRIPTION_NR                    	0xFF                                              	
       
   235 #define SMS_SRV_CB_MAX_CLIENT_AMOUNT                      	0x0B                                                 	
       
   236 #define SMS_SRV_CB_MAX_CBMID_COUNT                        	0xC8                                              	
       
   237 #define SMS_SRV_CB_MAX_LANGUAGE_COUNT                     	0x11                                              	
       
   238 #define SMS_SRV_CB_DCS_ELEMENT_SIZE                       	0x01                                                 	
       
   239 #define SMS_SRV_CB_CBMID_ELEMENT_SIZE                     	0x02                                                 	
       
   240 #define SMS_CB_SUBSCRIPTION_ID_SIZE                       	0x01                                                 	
    46 #define SMS_ANY_SIZE                                      	0x01                                                 	
   241 #define SMS_ANY_SIZE                                      	0x01                                                 	
    47 #define SMS_CONCATENATED_UD_MAX_LEN                       	0x857A                                            	
   242 #define SMS_CONCATENATED_UD_MAX_LEN                       	0x857A                                            	
       
   243 //#define SMS_TP_VPF_RELATIVE                               	0x01                                                 	
       
   244 //#define SMS_TP_VPF_ABSOLUTE_OR_ENHANCED                   	0x07                                                 	
    48 #define SMS_PARAM_INDICATOR_MAX_LEN                       	0x0A                                                 	
   245 #define SMS_PARAM_INDICATOR_MAX_LEN                       	0x0A                                                 	
    49 #define SMS_SC_TIME_STAMP_SIZE                            	0x07                                                 	
   246 #define SMS_SC_TIME_STAMP_SIZE                            	0x07                                                 	
    50 #define SMS_DEFAULT_PARAMETER_LOCATION                    	0x00                                                 	
   247 #define SMS_DEFAULT_PARAMETER_LOCATION                    	0x00                                                 	
    51 #define SMS_NEW_SUBSCRIPTION                              	0x00                                                 	
   248 #define SMS_NEW_SUBSCRIPTION                              	0x00                                                 	
       
   249 
       
   250 #define SMS_VPF_RELATIVE                                  	0x01                                                 	
       
   251 #define SMS_VPF_ABSOLUTE_OR_ENHANCED                      	0x07                                                 	
    52 
   252 
    53 
   253 
    54 //TABLES
   254 //TABLES
    55 
   255 
    56 //ConstantTable for SMS_CAPABILITY_ID
   256 //ConstantTable for SMS_CAPABILITY_ID
   244 //ConstantTable for SMS_SM_CONTROL_ACTION
   444 //ConstantTable for SMS_SM_CONTROL_ACTION
   245 
   445 
   246 //ConstantTable for SMS_CONTENT_TYPE
   446 //ConstantTable for SMS_CONTENT_TYPE
   247 
   447 
   248 //ConstantTable for SMS_VALIDITY_PERIOD_FORMAT
   448 //ConstantTable for SMS_VALIDITY_PERIOD_FORMAT
   249 #define SMS_VPF_RELATIVE                                  	0x01                                                 	
       
   250 #define SMS_VPF_ABSOLUTE_OR_ENHANCED                      	0x07                                                 	
       
   251 
   449 
   252 //ConstantTable for SMS_SERVER_STATUS
   450 //ConstantTable for SMS_SERVER_STATUS
   253 #define SMS_SERVER_READY                                  	0x00                                                 	
   451 #define SMS_SERVER_READY                                  	0x00                                                 	
   254 #define SMS_SERVER_NOT_READY                              	0x01                                                 	
   452 #define SMS_SERVER_NOT_READY                              	0x01                                                 	
   255 
   453 
   406 #define SMS_SB_COMMAND_OFFSET_MESSAGENUMBER               	8 //size 1 byte(s)
   604 #define SMS_SB_COMMAND_OFFSET_MESSAGENUMBER               	8 //size 1 byte(s)
   407 #define SMS_SB_COMMAND_OFFSET_FILLERBYTE1                 	9 //size 3 byte(s)
   605 #define SMS_SB_COMMAND_OFFSET_FILLERBYTE1                 	9 //size 3 byte(s)
   408 #define SIZE_SMS_SB_COMMAND                               	12
   606 #define SIZE_SMS_SB_COMMAND                               	12
   409 
   607 
   410 
   608 
   411 //Definition for SMS_SB_MO_UNDEFINED
       
   412 #define SMS_SB_MO_UNDEFINED                               	0x1F                                              	
       
   413 #define SMS_SB_MO_UNDEFINED_OFFSET_SUBBLOCKID             	0 //size 2 byte(s)
       
   414 #define SMS_SB_MO_UNDEFINED_OFFSET_SUBBLOCKLENGTH         	2 //size 2 byte(s)
       
   415 #define SMS_SB_MO_UNDEFINED_OFFSET_MESSAGEPARAMETERS      	4 //size 1 byte(s)
       
   416 #define SMS_SB_MO_UNDEFINED_OFFSET_MESSAGEREFERENCE       	5 //size 1 byte(s)
       
   417 #define SMS_SB_MO_UNDEFINED_OFFSET_FILLERBYTE1            	6 //size 2 byte(s)
       
   418 #define SIZE_SMS_SB_MO_UNDEFINED                          	8
       
   419 
       
   420 
       
   421 //Definition for SMS_SB_DELIVER_REPORT
   609 //Definition for SMS_SB_DELIVER_REPORT
   422 #define SMS_SB_DELIVER_REPORT                             	0x19                                              	
   610 #define SMS_SB_DELIVER_REPORT                             	0x19                                              	
   423 #define SMS_SB_DELIVER_REPORT_OFFSET_SUBBLOCKID           	0 //size 2 byte(s)
   611 #define SMS_SB_DELIVER_REPORT_OFFSET_SUBBLOCKID           	0 //size 2 byte(s)
   424 #define SMS_SB_DELIVER_REPORT_OFFSET_SUBBLOCKLENGTH       	2 //size 2 byte(s)
   612 #define SMS_SB_DELIVER_REPORT_OFFSET_SUBBLOCKLENGTH       	2 //size 2 byte(s)
   425 #define SMS_SB_DELIVER_REPORT_OFFSET_MESSAGEPARAMETERS    	4 //size 1 byte(s)
   613 #define SMS_SB_DELIVER_REPORT_OFFSET_MESSAGEPARAMETERS    	4 //size 1 byte(s)