00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045 #ifndef MLP_CONSTANTS_H
00046 #define MLP_CONSTANTS_H
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059 class MlpConstants {
00060 public:
00061
00062
00063
00064
00065 enum tags
00066 {
00067 TAG_UNKNOWN = 0,
00068
00069
00070
00071
00072
00073 TAG_SVC_INIT,
00074 TAG_SVC_RESULT,
00075 TAG_GEM,
00076
00077
00078
00079
00080
00081 TAG_HDR,
00082 TAG_CLIENT,
00083 TAG_SESSIONID,
00084 TAG_ID,
00085 TAG_REQUESTOR,
00086 TAG_PWD,
00087 TAG_SERVICEID,
00088 TAG_REQUESTMODE,
00089 TAG_SUBCLIENT,
00090
00091
00092
00093
00094
00095
00096 TAG_SLIR,
00097 TAG_SLIA,
00098 TAG_SLIREP,
00099
00100
00101 TAG_EME_LIR,
00102 TAG_EME_LIA,
00103 TAG_EME_LIREP,
00104
00105
00106 TAG_SLREP,
00107 TAG_SLRA,
00108
00109
00110 TAG_EMEREP,
00111
00112
00113 TAG_TLRR,
00114 TAG_TLRA,
00115 TAG_TLREP,
00116 TAG_TLRSR,
00117 TAG_TLRSA,
00118
00119
00120 TAG_HLIR,
00121 TAG_HLIA,
00122 TAG_HLIREP,
00123
00124
00125
00126
00127
00128
00129 TAG_MSID,
00130 TAG_MSID_RANGE,
00131 TAG_MSIDS,
00132 TAG_CODEWORD,
00133 TAG_ESRD,
00134 TAG_ESRK,
00135 TAG_SESSION,
00136 TAG_START_MSID,
00137 TAG_STOP_MSID,
00138 TAG_TRANS_ID,
00139
00140
00141 TAG_EME_EVENT,
00142 TAG_TLRR_EVENT,
00143 TAG_MS_ACTION,
00144 TAG_CHANGE_AREA,
00145 TAG_TARGET_AREA,
00146 TAG_NO_OF_REPORTS,
00147 TAG_NAME_AREA,
00148 TAG_PLMN,
00149 TAG_INTERVAL,
00150 TAG_LOC_TYPE,
00151 TAG_BATCH_COND,
00152 TAG_PRIO,
00153 TAG_PUSHADDR,
00154 TAG_REQ_ID,
00155 TAG_START_TIME,
00156 TAG_STOP_TIME,
00157 TAG_DURATION,
00158 TAG_FUNCTION_URL,
00159 TAG_TIME_REMAINING,
00160 TAG_LCS_REF,
00161 TAG_SUPL_SUPPORT_PARAMS,
00162 TAG_IP_ADDRESS,
00163
00164
00165 TAG_POS,
00166 TAG_EME_POS,
00167 TAG_TRL_POS,
00168 TAG_PD,
00169 TAG_POSERR,
00170 TAG_MAPDATA,
00171 TAG_BASE64MAP,
00172 TAG_LOCATION_URL,
00173 TAG_MAPREQUEST,
00174 TAG_WIDTH,
00175 TAG_HEIGHT,
00176 TAG_ZOOM,
00177 TAG_TIME,
00178 TAG_ALT,
00179 TAG_ALT_UNC,
00180 TAG_CIVICLOC,
00181 TAG_CIVICLOC_ELEMENT,
00182 TAG_QOS_NOT_MET,
00183 TAG_DIRECTION,
00184 TAG_SPEED,
00185 TAG_LEV_CONF,
00186 TAG_GEO_INFO,
00187 TAG_COODRINATIONREFERENCESYSTEM,
00188 TAG_IDENTIFIER,
00189 TAG_CODE,
00190 TAG_CODESPACE,
00191 TAG_EDITION,
00192 TAG_SERVICE_COVERAGE,
00193
00194
00195 TAG_ADD_INFO,
00196 TAG_RESULT,
00197
00198
00199 TAG_SHAPE,
00200 TAG_DISTANCEUNIT,
00201 TAG_ANGULARUNIT,
00202 TAG_ANGLE,
00203 TAG_COORD,
00204 TAG_X,
00205 TAG_Y,
00206 TAG_Z,
00207 TAG_ZONE,
00208 TAG_HEMISPHERE,
00209 TAG_POINT,
00210 TAG_LINESTRING,
00211 TAG_BOX,
00212 TAG_LINEARRING,
00213 TAG_POLYGON,
00214 TAG_OUTERBOUNDARYIS,
00215 TAG_INNERBOUNDARYIS,
00216 TAG_CIRCULARARCAREA,
00217 TAG_CIRCULARAREA,
00218 TAG_ELLIPTICALAREA,
00219 TAG_INRADIUS,
00220 TAG_OUTRADIUS,
00221 TAG_RADIUS,
00222 TAG_SEMIMAJOR,
00223 TAG_SEMIMINOR,
00224 TAG_STARTANGLE,
00225 TAG_STOPANGLE,
00226 TAG_MULTILINESTRING,
00227 TAG_MULTIPOINT,
00228 TAG_MULTIPOLYGON,
00229
00230
00231 TAG_EQOP,
00232 TAG_QOP,
00233 TAG_LL_ACC,
00234 TAG_HOR_ACC,
00235 TAG_ALT_ACC,
00236 TAG_MAX_LOC_AGE,
00237 TAG_RESP_REQ,
00238 TAG_RESP_TIMER,
00239
00240
00241 TAG_GSM_NET_PARAM,
00242 TAG_CGI,
00243 TAG_NEID,
00244 TAG_VMSCID,
00245 TAG_VLRID,
00246 TAG_NMR,
00247 TAG_MCC,
00248 TAG_MNC,
00249 TAG_NDC,
00250 TAG_CC,
00251 TAG_VMSCNO,
00252 TAG_VLRNO,
00253 TAG_LAC,
00254 TAG_CELLID,
00255 TAG_TA,
00256 TAG_LMSI,
00257 TAG_IMSI
00258 };
00259
00260
00261
00262
00263 enum attributes
00264 {
00265 REQUESTOR_TYPE_MSISDN = 0,
00266 REQUESTOR_TYPE_IMSI,
00267 REQUESTOR_TYPE_NAME,
00268 REQUESTOR_TYPE_EMAIL,
00269 REQUESTOR_TYPE_URL,
00270 REQUESTOR_TYPE_SIPURL,
00271 REQUESTOR_TYPE_IMS,
00272 REQUESTOR_TYPE_MDN,
00273 REQUESTOR_TYPE_ASID,
00274 REQUESTOR_TYPE_ASPID,
00275
00276 REQUEST_MODE_PASSIVE,
00277 REQUEST_MODE_ACTIVE,
00278
00279 RESPONSE_TYPE_SYNC,
00280 RESPONSE_TYPE_ASYNC,
00281
00282 MSID_TYPE_MSISDN,
00283 MSID_TYPE_IMSI,
00284 MSID_TYPE_IMEI,
00285 MSID_TYPE_MIN,
00286 MSID_TYPE_MDN,
00287 MSID_TYPE_EME_MSID,
00288 MSID_TYPE_ASID,
00289 MSID_TYPE_OPE_ID,
00290 MSID_TYPE_IPV4,
00291 MSID_TYPE_IPV6,
00292 MSID_TYPE_SESSID,
00293 MSID_TYPE_SIP_URI,
00294 MSID_TYPE_TEL_URL,
00295 MSID_TYPE_NAI,
00296
00297 MSID_ENCTYPE_ASC,
00298 MSID_ENCTYPE_CRP,
00299
00300 SESSION_TYPE_APN,
00301 SESSION_TYPE_DIAL,
00302
00303 POS_METHOD_CELL,
00304 POS_METHOD_OTDOA,
00305 POS_METHOD_GPS,
00306 POS_METHOD_A_GPS,
00307 POS_METHOD_GNSS,
00308 POS_METHOD_A_GNSS,
00309 POS_METHOD_E_OTD,
00310 POS_METHOD_U_TDOA,
00311 POS_METHOD_AFLT,
00312 POS_METHOD_EFLT,
00313 POS_METHOD_UNKNOWN,
00314 POS_METHOD_OTHER,
00315
00316 POS_RESULT_TYPE_INTERMEDIATE,
00317 POS_RESULT_TYPE_FINAL
00318
00319
00320 };
00321
00322
00323
00324
00325
00326 enum msgTypes
00327 {
00328 SVC_INIT = 0,
00329 SVC_RESULT,
00330 GEM
00331 };
00332
00333
00334
00335
00336 enum svcTypes
00337 {
00338
00339 SLIR = 0,
00340 SLIA,
00341 SLIREP,
00342
00343
00344 EME_LIR,
00345 EME_LIA,
00346 EME_LIREP,
00347
00348
00349 SLREP,
00350 SLRA,
00351
00352
00353 EMEREP,
00354
00355
00356 TLRR,
00357 TLRA,
00358 TLREP,
00359 TLRSR,
00360 TLRSA,
00361
00362
00363 HLIR,
00364 HLIA,
00365 HLIREP
00366
00367 };
00368
00369
00370
00371
00372 enum headerConstants
00373 {
00374 CLIENT_TYPE_CLIENT = 0,
00375 CLIENT_TYPE_SUBCLIENT,
00376 CLIENT_TYPE_REQUESTOR
00377
00378 };
00379
00380
00381
00382
00383 enum servicesConstants
00384 {
00385 SUBSCRIBER_MSID = 0,
00386 SUBSCRIBER_MSID_RANGE
00387 };
00388
00389
00390
00391
00392 enum shapeConstants
00393 {
00394 SHAPE_POINT = 0,
00395 SHAPE_LINESTRING,
00396 SHAPE_POLYGON,
00397 SHAPE_BOX,
00398 SHAPE_CIRCULAR_AREA,
00399 SHAPE_CIRCULAR_ARC_AREA,
00400 SHAPE_ELLIPTICAL_AREA,
00401 SHAPE_MULTILINE_STRING,
00402 SHAPE_MULTIPOINT,
00403 SHAPE_MULTIPOLYGON,
00404 SHAPE_LINEAR_RING
00405 };
00406
00407
00408
00409 };
00410 #endif
00411