1 /* 2 * Copyright (C) 2007-2008 Esmertec AG. 3 * Copyright (C) 2007-2008 The Android Open Source Project 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17 18 #ifndef IMPS_CSP13_H 19 #define IMPS_CSP13_H 20 21 #include "wbxml_tabledef.h" 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif 26 27 /* Extracted from OMA-TS-IMPS_CSP_WBXML-V1_3-20070123-A.pdf 28 * Note: 29 * - IMPS 1.2 tags that have been removed in IMPS_CSP_WBXML-V1_3-20070123: 30 * - tag page 0 value 0x18 "InUse" and tag page 7 value 0x1F "Users" 31 * - tag page 2 value 0x06 "AttListFunc", 0x08 "CAAUT" and 0x30 "REACT" 32 * - tag page 3 value 0x05 "AcceptedCharset" and 0x06 "AcceptedContentLength" 33 * - tag page 4 value 0x05 "CancelAuth-Request", value 0x19 "PresenceAuth-Request", 34 * value 0x1A "PresenceAuth-User", value 0x1F "GetReactiveAuthStatus-Request", 35 * value 0x20 "GetReactiveAuthStatus-Response" and value 0x1E "AutoSubscribe" 36 * 37 * We keep them in order to support IMPS 1.2 38 * 39 * - value token "History" has a same value 0x3D as "GROUP_ID". 40 */ 41 42 /* Common code page (0x00) */ 43 static const TokenData csp13TagPage0[] = { 44 { 0x05, "Acceptance" }, 45 { 0x06, "AddList" }, 46 { 0x07, "AddNickList" }, 47 { 0x08, "SName" }, 48 { 0x09, "WV-CSP-Message" }, 49 { 0x0A, "ClientID" }, 50 { 0x0B, "Code" }, 51 { 0x0C, "ContactList" }, 52 { 0x0D, "ContentData" }, 53 { 0x0E, "ContentEncoding" }, 54 { 0x0F, "ContentSize" }, 55 { 0x10, "ContentType" }, 56 { 0x11, "DateTime" }, 57 { 0x12, "Description" }, 58 { 0x13, "DetailedResult" }, 59 { 0x14, "EntityList" }, 60 { 0x15, "Group" }, 61 { 0x16, "GroupID" }, 62 { 0x17, "GroupList" }, 63 { 0x18, "InUse" }, /* Removed in IMPS_CSP_WBXML-V1_3-20070123 */ 64 { 0x19, "Logo" }, 65 { 0x1A, "MessageCount" }, 66 { 0x1B, "MessageID" }, 67 { 0x1C, "MessageURI" }, 68 { 0x1D, "MSISDN" }, 69 { 0x1E, "Name" }, 70 { 0x1F, "NickList" }, 71 { 0x20, "NickName" }, 72 { 0x21, "Poll" }, 73 { 0x22, "Presence" }, 74 { 0x23, "PresenceSubList" }, 75 { 0x24, "PresenceValue" }, 76 { 0x25, "Property" }, 77 { 0x26, "Qualifier" }, 78 { 0x27, "Recipient" }, 79 { 0x28, "RemoveList" }, 80 { 0x29, "RemoveNickList" }, 81 { 0x2A, "Result" }, 82 { 0x2B, "ScreenName" }, 83 { 0x2C, "Sender" }, 84 { 0x2D, "Session" }, 85 { 0x2E, "SessionDescriptor" }, 86 { 0x2F, "SessionID" }, 87 { 0x30, "SessionType" }, 88 { 0x31, "Status" }, 89 { 0x32, "Transaction" }, 90 { 0x33, "TransactionContent" }, 91 { 0x34, "TransactionDescriptor" }, 92 { 0x35, "TransactionID" }, 93 { 0x36, "TransactionMode" }, 94 { 0x37, "URL" }, 95 { 0x38, "URLList" }, 96 { 0x39, "User" }, 97 { 0x3A, "UserID" }, 98 { 0x3B, "UserList" }, 99 { 0x3C, "Validity" }, 100 { 0x3D, "Value" }, 101 }; 102 103 /* Access code page (0x01) */ 104 static const TokenData csp13TagPage1[] = { 105 { 0x05, "AllFunctions" }, 106 { 0x06, "AllFunctionsRequest" }, 107 { 0x07, "CancelInvite-Request" }, 108 { 0x08, "CancelInviteUser-Request" }, 109 { 0x0A, "CapabilityList" }, 110 { 0x0B, "CapabilityRequest" }, 111 { 0x0C, "ClientCapability-Request" }, 112 { 0x0D, "ClientCapability-Response" }, 113 { 0x0E, "DigestBytes" }, 114 { 0x0F, "DigestSchema" }, 115 { 0x10, "Disconnect" }, 116 { 0x11, "Functions" }, 117 { 0x12, "GetSPInfo-Request" }, 118 { 0x13, "GetSPInfo-Response" }, 119 { 0x14, "InviteID" }, 120 { 0x15, "InviteNote" }, 121 { 0x16, "Invite-Request" }, 122 { 0x17, "Invite-Response" }, 123 { 0x18, "InviteType" }, 124 { 0x19, "InviteUser-Request" }, 125 { 0x1A, "InviteUser-Response" }, 126 { 0x1B, "KeepAlive-Request" }, 127 { 0x1C, "KeepAliveTime" }, 128 { 0x1D, "Login-Request" }, 129 { 0x1E, "Login-Response" }, 130 { 0x1F, "Logout-Request" }, 131 { 0x20, "Nonce" }, 132 { 0x21, "Password" }, 133 { 0x22, "Polling-Request" }, 134 { 0x23, "ResponseNote" }, 135 { 0x24, "SearchElement" }, 136 { 0x25, "SearchFindings" }, 137 { 0x26, "SearchID" }, 138 { 0x27, "SearchIndex" }, 139 { 0x28, "SearchLimit" }, 140 { 0x29, "KeepAlive-Response" }, 141 { 0x2A, "SearchPairList" }, 142 { 0x2B, "Search-Request" }, 143 { 0x2C, "Search-Response" }, 144 { 0x2D, "SearchResult" }, 145 { 0x2E, "Service-Request" }, 146 { 0x2F, "Service-Response" }, 147 { 0x30, "SessionCookie" }, 148 { 0x31, "StopSearch-Request" }, 149 { 0x32, "TimeToLive" }, 150 { 0x33, "SearchString" }, 151 { 0x34, "CompletionFlag" }, 152 { 0x36, "ReceiveList" }, 153 { 0x37, "VerifyID-Request" }, 154 { 0x38, "Extended-Request" }, 155 { 0x39, "Extended-Response" }, 156 { 0x3A, "AgreedCapabilityList" }, 157 { 0x3B, "ExtendedData" }, 158 { 0x3C, "OtherServer" }, 159 { 0x3D, "PresenceAttributeNSName" }, 160 { 0x3E, "SessionNSName" }, 161 { 0x3F, "TransactionNSName" }, 162 }; 163 164 /* Service code page (0x02) */ 165 static const TokenData csp13TagPage2[] = { 166 { 0x05, "ADDGM" }, 167 { 0x06, "AttListFunc" }, /* Removed in IMPS_CSP_WBXML-V1_3-20070123 */ 168 { 0x07, "BLENT" }, 169 { 0x08, "CAAUT" }, /* Removed in IMPS_CSP_WBXML-V1_3-20070123 */ 170 { 0x09, "CAINV" }, 171 { 0x0B, "CCLI" }, 172 { 0x0C, "ContListFunc" }, 173 { 0x0D, "CREAG" }, 174 { 0x0F, "DCLI" }, 175 { 0x10, "DELGR" }, 176 { 0x11, "FundamentalFeat" }, 177 { 0x12, "FWMSG" }, 178 { 0x14, "GCLI" }, 179 { 0x15, "GETGM" }, 180 { 0x16, "GETGP" }, 181 { 0x17, "GETLM" }, 182 { 0x18, "GETM" }, 183 { 0x19, "GETPR" }, 184 { 0x1A, "GETSPI" }, 185 { 0x1B, "GETWL" }, 186 { 0x1C, "GLBLU" }, 187 { 0x1D, "GRCHN" }, 188 { 0x1E, "GroupAuthFunc" }, 189 { 0x1F, "GroupFeat" }, 190 { 0x20, "GroupMgmtFunc" }, 191 { 0x21, "GroupUseFunc" }, 192 { 0x22, "IMAuthFunc" }, 193 { 0x23, "IMFeat" }, 194 { 0x24, "IMReceiveFunc" }, 195 { 0x25, "IMSendFunc" }, 196 { 0x26, "INVIT" }, 197 { 0x27, "InviteFunc" }, 198 { 0x28, "MBRAC" }, 199 { 0x29, "MCLS" }, 200 { 0x2A, "MDELIV" }, 201 { 0x2B, "NEWM" }, 202 { 0x2C, "NOTIF" }, 203 { 0x2D, "PresenceAuthFunc" }, 204 { 0x2E, "PresenceDeliverFunc" }, 205 { 0x2F, "PresenceFeat" }, 206 { 0x30, "REACT" }, /* Removed in IMPS_CSP_WBXML-V1_3-20070123 */ 207 { 0x31, "REJCM" }, 208 { 0x32, "REJEC" }, 209 { 0x33, "RMVGM" }, 210 { 0x34, "SearchFunc" }, 211 { 0x35, "ServiceFunc" }, 212 { 0x36, "SETD" }, 213 { 0x37, "SETGP" }, 214 { 0x38, "SRCH" }, 215 { 0x39, "STSRC" }, 216 { 0x3A, "SUBGCN" }, 217 { 0x3B, "UPDPR" }, 218 { 0x3C, "WVCSPFeat" }, 219 { 0x3D, "MF" }, 220 { 0x3E, "MG" }, 221 { 0x3F, "MM" }, 222 }; 223 224 /* Client capability code page (0x03) */ 225 static const TokenData csp13TagPage3[] = { 226 { 0x05, "AcceptedCharset" }, /* IMPS 1.2 only */ 227 { 0x06, "AcceptedContentLength" }, /* IMPS 1.2 only */ 228 { 0x07, "AcceptedContentType" }, 229 { 0x08, "AcceptedTransferEncoding" }, 230 { 0x09, "AnyContent" }, 231 { 0x0A, "DefaultLanguage" }, 232 { 0x0B, "InitialDeliveryMethod" }, 233 { 0x0C, "MultiTrans" }, 234 { 0x0D, "ParserSize" }, 235 { 0x0E, "ServerPollMin" }, 236 { 0x0F, "SupportedBearer" }, 237 { 0x10, "SupportedCIRMethod" }, 238 { 0x11, "TCPAddress" }, 239 { 0x12, "TCPPort" }, 240 { 0x13, "UDPPort" }, 241 { 0x14, "CIRHTTPAddress" }, 242 { 0x15, "UDPAddress" }, 243 { 0x16, "AcceptedPullLength" }, 244 { 0x17, "AcceptedPushLength" }, 245 { 0x18, "AcceptedRichContentLength" }, 246 { 0x19, "AcceptedTextContentLength" }, 247 { 0x1A, "OfflineETEMHandling" }, 248 { 0x1B, "PlainTextCharset" }, 249 { 0x1C, "SessionPriority" }, 250 { 0x1D, "SupportedOfflineBearer" }, 251 { 0x1F, "UserSessionLimit" }, 252 { 0x20, "CIRSMSAddress" }, 253 { 0x21, "MultiTransPerMessage" }, 254 { 0x22, "OnlineETEMHandling" }, 255 { 0x23, "ContentPolicy" }, 256 { 0x24, "ContentPolicyLimit" }, 257 }; 258 259 /* Presence primitive code page (0x04) */ 260 static const TokenData csp13TagPage4[] = { 261 { 0x05, "CancelAuth-Request" }, /* IMPS 1.2 only */ 262 { 0x06, "ContactListProperties" }, 263 { 0x07, "CreateAttributeList-Request" }, 264 { 0x08, "CreateList-Request" }, 265 { 0x09, "DefaultAttributeList" }, 266 { 0x0A, "DefaultContactList" }, 267 { 0x0B, "DefaultList" }, 268 { 0x0C, "DeleteAttributeList-Request" }, 269 { 0x0D, "DeleteList-Request" }, 270 { 0x0E, "GetAttributeList-Request" }, 271 { 0x0F, "GetAttributeList-Response" }, 272 { 0x10, "GetList-Request" }, 273 { 0x11, "GetList-Response" }, 274 { 0x12, "GetPresence-Request" }, 275 { 0x13, "GetPresence-Response" }, 276 { 0x14, "GetWatcherList-Request" }, 277 { 0x15, "GetWatcherList-Response" }, 278 { 0x16, "ListManage-Request" }, 279 { 0x17, "ListManage-Response" }, 280 { 0x18, "UnsubscribePresence-Request" }, 281 { 0x19, "PresenceAuth-Request" }, /* IMPS 1.2 only */ 282 { 0x1A, "PresenceAuth-User" }, /* IMPS 1.2 only */ 283 { 0x1B, "PresenceNotification-Request" }, 284 { 0x1C, "UpdatePresence-Request" }, 285 { 0x1D, "SubscribePresence-Request" }, 286 { 0x1E, "AutoSubscribe" }, 287 { 0x1F, "GetReactiveAuthStatus-Request" }, /* IMPS 1.2 only */ 288 { 0x20, "GetReactiveAuthStatus-Response" }, /* IMPS 1.2 only */ 289 { 0x21, "CreateList-Response" }, 290 }; 291 292 /* Presence attribute code page (0x05) */ 293 static const TokenData csp13TagPage5[] = { 294 { 0x05, "Accuracy" }, 295 { 0x06, "Address" }, 296 { 0x07, "AddrPref" }, 297 { 0x08, "Alias" }, 298 { 0x09, "Altitude" }, 299 { 0x0A, "Building" }, 300 { 0x0B, "Caddr" }, 301 { 0x0C, "City" }, 302 { 0x0D, "ClientInfo" }, 303 { 0x0E, "ClientProducer" }, 304 { 0x0F, "ClientType" }, 305 { 0x10, "ClientVersion" }, 306 { 0x11, "CommC" }, 307 { 0x12, "CommCap" }, 308 { 0x13, "ContactInfo" }, 309 { 0x14, "ContainedvCard" }, 310 { 0x15, "Country" }, 311 { 0x16, "Crossing1" }, 312 { 0x17, "Crossing2" }, 313 { 0x18, "DevManufacturer" }, 314 { 0x19, "DirectContent" }, 315 { 0x1A, "FreeTextLocation" }, 316 { 0x1B, "GeoLocation" }, 317 { 0x1C, "Language" }, 318 { 0x1D, "Latitude" }, 319 { 0x1E, "Longitude" }, 320 { 0x1F, "Model" }, 321 { 0x20, "NamedArea" }, 322 { 0x21, "OnlineStatus" }, 323 { 0x22, "PLMN" }, 324 { 0x23, "PrefC" }, 325 { 0x24, "PreferredContacts" }, 326 { 0x25, "PreferredLanguage" }, 327 { 0x26, "ReferredContent" }, 328 { 0x27, "ReferredvCard" }, 329 { 0x28, "Registration" }, 330 { 0x29, "StatusContent" }, 331 { 0x2A, "StatusMood" }, 332 { 0x2B, "StatusText" }, 333 { 0x2C, "Street" }, 334 { 0x2D, "TimeZone" }, 335 { 0x2E, "UserAvailability" }, 336 { 0x2F, "Cap" }, 337 { 0x30, "Cname" }, 338 { 0x31, "Contact" }, 339 { 0x32, "Cpriority" }, 340 { 0x33, "Cstatus" }, 341 { 0x34, "Note" }, 342 { 0x35, "Zone" }, 343 { 0x37, "Inf_link" }, 344 { 0x38, "InfoLink" }, 345 { 0x39, "Link" }, 346 { 0x3A, "Text" }, 347 { 0x3B, "ClientContentLimit" }, 348 { 0x3C, "ClientIMPriority" }, 349 { 0x3D, "MaxPullLength" }, 350 { 0x3E, "MaxPushLength" }, 351 }; 352 353 /* Messaging code page (0x06) */ 354 static const TokenData csp13TagPage6[] = { 355 { 0x05, "BlockList" }, 356 { 0x06, "BlockEntity-Request" }, 357 { 0x07, "DeliveryMethod" }, 358 { 0x08, "DeliveryReport" }, 359 { 0x09, "DeliveryReport-Request" }, 360 { 0x0A, "ForwardMessage-Request" }, 361 { 0x0B, "GetBlockedList-Request" }, 362 { 0x0C, "GetBlockedList-Response" }, 363 { 0x0D, "GetMessageList-Request" }, 364 { 0x0E, "GetMessageList-Response" }, 365 { 0x0F, "GetMessage-Request" }, 366 { 0x10, "GetMessage-Response" }, 367 { 0x11, "GrantList" }, 368 { 0x12, "MessageDelivered" }, 369 { 0x13, "MessageInfo" }, 370 { 0x14, "MessageNotification" }, 371 { 0x15, "NewMessage" }, 372 { 0x16, "RejectMessage-Request" }, 373 { 0x17, "SendMessage-Request" }, 374 { 0x18, "SendMessage-Response" }, 375 { 0x19, "SetDeliveryMethod-Request" }, 376 { 0x1A, "DeliveryTime" }, 377 { 0x20, "MessageInfoList" }, 378 { 0x21, "ForwardMessage-Response" }, 379 }; 380 381 /* Group code page (0x07) */ 382 static const TokenData csp13TagPage7[] = { 383 { 0x05, "AddGroupMembers-Request" }, 384 { 0x06, "Admin" }, 385 { 0x07, "CreateGroup-Request" }, 386 { 0x08, "DeleteGroup-Request" }, 387 { 0x09, "GetGroupMembers-Request" }, 388 { 0x0A, "GetGroupMembers-Response" }, 389 { 0x0B, "GetGroupProps-Request" }, 390 { 0x0C, "GetGroupProps-Response" }, 391 { 0x0D, "GroupChangeNotice" }, 392 { 0x0E, "GroupProperties" }, 393 { 0x0F, "Joined" }, 394 { 0x10, "JoinedRequest" }, 395 { 0x11, "JoinGroup-Request" }, 396 { 0x12, "JoinGroup-Response" }, 397 { 0x13, "LeaveGroup-Request" }, 398 { 0x14, "LeaveGroup-Response" }, 399 { 0x15, "Left" }, 400 { 0x16, "MemberAccess-Request" }, 401 { 0x17, "Mod" }, 402 { 0x18, "OwnProperties" }, 403 { 0x19, "RejectList-Request" }, 404 { 0x1A, "RejectList-Response" }, 405 { 0x1B, "RemoveGroupMembers-Request" }, 406 { 0x1C, "SetGroupProps-Request" }, 407 { 0x1D, "SubscribeGroupNotice-Request" }, 408 { 0x1E, "SubscribeGroupNotice-Response" }, 409 { 0x1F, "Users" }, /* Removed in IMPS_CSP_WBXML-V1_3-20070123 */ 410 { 0x20, "WelcomeNote" }, 411 { 0x21, "JoinGroup" }, 412 { 0x22, "SubscribeNotification" }, 413 { 0x23, "SubscribeType" }, 414 { 0x24, "GetJoinedUsers-Request" }, 415 { 0x25, "GetJoinedUsers-Response" }, 416 { 0x26, "AdminMapList" }, 417 { 0x27, "AdminMapping" }, 418 { 0x28, "Mapping" }, 419 { 0x29, "ModMapping" }, 420 { 0x2A, "UserMapList" }, 421 { 0x2B, "UserMapping" }, 422 { 0x2C, "JoinedBlocked" }, 423 { 0x2D, "LeftBlocked" }, 424 }; 425 426 /* Service code page - continued (0x08) */ 427 static const TokenData csp13TagPage8[] = { 428 { 0x05, "MP" }, 429 { 0x06, "GETAUT" }, 430 { 0x07, "GETJU" }, 431 { 0x08, "VRID" }, 432 { 0x09, "VerifyIDFunc" }, 433 { 0x0A, "GETMAP" }, 434 { 0x0B, "SGMNT" }, 435 { 0x0C, "EXCON" }, 436 { 0x0D, "OFFNOTIF" }, 437 { 0x0E, "ADVSR" }, 438 }; 439 440 /* Common code page - continued (0x09) */ 441 static const TokenData csp13TagPage9[] = { 442 { 0x05, "CIR" }, 443 { 0x06, "Domain" }, 444 { 0x07, "ExtBlock" }, 445 { 0x08, "HistoryPeriod" }, 446 { 0x09, "IDList" }, 447 { 0x0A, "MaxWatcherList" }, 448 { 0x0B, "AnswerOptionText" }, 449 { 0x0E, "Watcher" }, 450 { 0x0F, "WatcherStatus" }, 451 { 0x10, "Font" }, 452 { 0x11, "Size" }, 453 { 0x12, "Style" }, 454 { 0x13, "Color" }, 455 { 0x14, "ContentName" }, 456 { 0x15, "Map" }, 457 { 0x16, "NotificationType" }, 458 { 0x17, "NotificationTypeList" }, 459 { 0x18, "FriendlyName" }, 460 { 0x19, "ClearPublicProfile" }, 461 { 0x1A, "PublicProfile" }, 462 { 0x1B, "AnswerOption" }, 463 { 0x1C, "AnswerOptionID" }, 464 { 0x1D, "AnswerOptions" }, 465 { 0x1E, "ApplicationID" }, 466 { 0x1F, "AuthorizeAndGrant" }, 467 { 0x20, "ChosenOptionID" }, 468 { 0x21, "ContactListNotify" }, 469 { 0x22, "DefaultNotify" }, 470 { 0x23, "ExtendConversationUser" }, 471 { 0x24, "InText" }, 472 { 0x25, "SegmentCount" }, 473 { 0x26, "SegmentID" }, 474 { 0x27, "SegmentInfo" }, 475 { 0x28, "SegmentReference" }, 476 { 0x29, "SystemMessage" }, 477 { 0x2A, "SystemMessageID" }, 478 { 0x2B, "SystemMessageList" }, 479 { 0x2C, "SystemMessageResponse" }, 480 { 0x2D, "SystemMessageResponseList" }, 481 { 0x2F, "SystemMessageText" }, 482 { 0x30, "TryAgainTimeout" }, 483 { 0x31, "UserNotify" }, 484 { 0x32, "VerificationKey" }, 485 { 0x33, "VerificationMechanism" }, 486 { 0x34, "GetMap-Request" }, 487 { 0x35, "GetMap-Response" }, 488 { 0x36, "ExtendConversationID" }, 489 { 0x37, "WatcherCount" }, 490 { 0x38, "RequiresResponse" }, 491 { 0x39, "ExtBlockETEM" }, 492 { 0x3A, "GroupContentLimit" }, 493 { 0x3B, "MessageTotalCount" }, 494 { 0x3C, "UnrecognizedUserID" }, 495 { 0x3D, "UserIDPair" }, 496 { 0x3E, "ValidUserID" }, 497 { 0x3F, "UserIDList" }, 498 }; 499 500 /* Access code page - continued (0x0A) */ 501 static const TokenData csp13TagPageA[] = { 502 { 0x05, "WV-CSP-VersionDiscovery-Request" }, 503 { 0x06, "WV-CSP-VersionDiscovery-Response" }, 504 { 0x07, "VersionList" }, 505 { 0x08, "SubscribeNotification-Request" }, 506 { 0x09, "UnsubscribeNotification-Request" }, 507 { 0x0A, "Notification-Request" }, 508 { 0x0B, "AdvancedCriteria" }, 509 { 0x0C, "PairID" }, 510 { 0x0D, "GetPublicProfile-Request" }, 511 { 0x0E, "GetPublicProfile-Response" }, 512 { 0x0F, "UpdatePublicProfile-Request" }, 513 { 0x10, "DropSegment-Request" }, 514 { 0x11, "ExtendConversation-Response" }, 515 { 0x12, "ExtendConversation-Request" }, 516 { 0x13, "GetSegment-Request" }, 517 { 0x14, "GetSegment-Response" }, 518 { 0x15, "SystemMessage-Request" }, 519 { 0x16, "SystemMessage-User" }, 520 { 0x17, "SearchPair" }, 521 { 0x18, "SegmentContent" }, 522 }; 523 524 /* Common code page - continued (0x0B) */ 525 static const TokenData csp13TagPageB[] = { 526 { 0x05, "GrantListInUse" }, 527 { 0x06, "BlockListInUse" }, 528 { 0x07, "ContactListIDList" }, 529 { 0x08, "AnswerOptionsText" }, 530 }; 531 532 static const TagCodePage csp13TagPages[] = { 533 PAGE_DATA(0, csp13TagPage0), 534 PAGE_DATA(1, csp13TagPage1), 535 PAGE_DATA(2, csp13TagPage2), 536 PAGE_DATA(3, csp13TagPage3), 537 PAGE_DATA(4, csp13TagPage4), 538 PAGE_DATA(5, csp13TagPage5), 539 PAGE_DATA(6, csp13TagPage6), 540 PAGE_DATA(7, csp13TagPage7), 541 PAGE_DATA(8, csp13TagPage8), 542 PAGE_DATA(9, csp13TagPage9), 543 PAGE_DATA(0x0A, csp13TagPageA), 544 PAGE_DATA(0x0B, csp13TagPageB), 545 }; 546 547 static const AttrData csp13AttrPage0[] = { 548 { 0x05, "xmlns", "http://www.wireless-village.org/CSP" }, 549 { 0x06, "xmlns", "http://www.wireless-village.org/PA" }, 550 { 0x07, "xmlns", "http://www.wireless-village.org/TRC" }, 551 { 0x08, "xmlns", "http://www.openmobilealliance.org/DTD/WV-CSP" }, 552 { 0x09, "xmlns", "http://www.openmobilealliance.org/DTD/WV-PA" }, 553 { 0x0A, "xmlns", "http://www.openmobilealliance.org/DTD/WV-TRC" }, 554 { 0x0B, "xmlns", "http://www.openmobilealliance.org/DTD/IMPS-CSP" }, 555 { 0x0C, "xmlns", "http://www.openmobilealliance.org/DTD/IMPS-PA" }, 556 { 0x0D, "xmlns", "http://www.openmobilealliance.org/DTD/IMPS-TRC" }, 557 }; 558 559 static const AttrCodePage csp13AttrPages[] = { 560 PAGE_DATA(0, csp13AttrPage0), 561 }; 562 563 /* 564 * Value tokens defined for EXT_T_0 565 */ 566 static const TokenData csp13ExtValueTokens[] = { 567 { 0x00, "AccessType" }, 568 { 0x01, "ActiveUsers" }, 569 { 0x02, "Admin" }, 570 { 0x03, "application/" }, 571 { 0x04, "application/vnd.wap.mms-message" }, 572 { 0x05, "application/x-sms" }, 573 { 0x06, "AutoJoin" }, 574 { 0x07, "BASE64" }, 575 { 0x08, "Closed" }, 576 { 0x09, "Default" }, 577 { 0x0A, "DisplayName" }, 578 { 0x0B, "F" }, 579 { 0x0C, "G" }, 580 { 0x0D, "GR" }, 581 { 0x0E, "http://" }, 582 { 0x0F, "https://" }, 583 { 0x10, "image/" }, 584 { 0x11, "Inband" }, 585 { 0x12, "IM" }, 586 { 0x13, "MaxActiveUsers" }, 587 { 0x14, "Mod" }, 588 { 0x15, "Name" }, 589 { 0x16, "None" }, 590 { 0x17, "N" }, 591 { 0x18, "Open" }, 592 { 0x19, "Outband" }, 593 { 0x1A, "PR" }, 594 { 0x1B, "Private" }, 595 { 0x1C, "PrivateMessaging" }, 596 { 0x1D, "PrivilegeLevel" }, 597 { 0x1E, "Public" }, 598 { 0x1F, "P" }, 599 { 0x20, "Request" }, 600 { 0x21, "Response" }, 601 { 0x22, "Restricted" }, 602 { 0x23, "ScreenName" }, 603 { 0x24, "Searchable" }, 604 { 0x25, "S" }, 605 { 0x26, "SC" }, 606 { 0x27, "text/" }, 607 { 0x28, "text/plain" }, 608 { 0x29, "text/x-vCalendar" }, 609 { 0x2A, "text/x-vCard" }, 610 { 0x2B, "Topic" }, 611 { 0x2C, "T" }, 612 { 0x2D, "Type" }, 613 { 0x2E, "U" }, 614 { 0x2F, "US" }, 615 { 0x30, "www.wireless-village.org" }, 616 { 0x31, "AutoDelete" }, 617 { 0x32, "GM" }, 618 { 0x33, "Validity" }, 619 { 0x34, "DENIED" }, 620 { 0x35, "GRANTED" }, 621 { 0x36, "PENDING" }, 622 { 0x37, "ShowID" }, 623 { 0x38, "RequireInvitation" }, 624 { 0x39, "Tiny" }, 625 { 0x3A, "PPU" }, 626 { 0x3B, "SPA" }, 627 { 0x3C, "ANC" }, 628 { 0x3D, "GROUP_ID" }, 629 /* { 0x3D, "History" }, */ /* FIXME */ 630 { 0x3E, "GROUP_NAME" }, 631 { 0x3F, "GROUP_TOPIC" }, 632 { 0x40, "GROUP_USER_ID_JOINED" }, 633 { 0x41, "GROUP_USER_ID_OWNER" }, 634 { 0x42, "HTTP" }, 635 { 0x43, "SMS" }, 636 { 0x44, "STCP" }, 637 { 0x45, "SUDP" }, 638 { 0x46, "USER_ALIAS" }, 639 { 0x47, "USER_EMAIL_ADDRESS" }, 640 { 0x48, "USER_FIRST_NAME" }, 641 { 0x49, "USER_ID" }, 642 { 0x4A, "USER_LAST_NAME" }, 643 { 0x4B, "USER_MOBILE_NUMBER" }, 644 { 0x4C, "USER_ONLINE_STATUS" }, 645 { 0x4D, "WAPSMS" }, 646 { 0x4E, "WAPUDP" }, 647 { 0x4F, "WSP" }, 648 { 0x50, "GROUP_USER_ID_AUTOJOIN" }, 649 { 0x51, "AND" }, 650 { 0x52, "AC" }, 651 { 0x53, "BLC" }, 652 { 0x54, "BLUC" }, 653 { 0x55, "CLCR" }, 654 { 0x56, "CLD" }, 655 { 0x57, "GC" }, 656 { 0x58, "GD" }, 657 { 0x59, "GLC" }, 658 { 0x5A, "ANU" }, 659 { 0x5B, "ANGRY" }, 660 { 0x5C, "ANXIOUS" }, 661 { 0x5D, "ASHAMED" }, 662 { 0x5F, "AVAILABLE" }, 663 { 0x60, "BORED" }, 664 { 0x61, "CALL" }, 665 { 0x62, "CLI" }, 666 { 0x63, "COMPUTER" }, 667 { 0x64, "DISCREET" }, 668 { 0x65, "EMAIL" }, 669 { 0x66, "EXCITED" }, 670 { 0x67, "HAPPY" }, 671 { 0x68, "AP" }, 672 { 0x6B, "IN_LOVE" }, 673 { 0x6C, "INVINCIBLE" }, 674 { 0x6D, "JEALOUS" }, 675 { 0x6E, "MMS" }, 676 { 0x6F, "MOBILE_PHONE" }, 677 { 0x70, "NOT_AVAILABLE" }, 678 { 0x71, "OTHER" }, 679 { 0x72, "PDA" }, 680 { 0x73, "SAD" }, 681 { 0x74, "SLEEPY" }, 682 { 0x75, "SMS" }, 683 { 0x78, "www.openmobilealliance.org" }, 684 { 0x79, "Small" }, 685 { 0x7A, "Medium" }, 686 { 0x7B, "Big" }, 687 { 0x7C, "Huge" }, 688 { 0x7D, "Bold" }, 689 { 0x7E, "Italic" }, 690 { 0x7F, "Underline" }, 691 { 0x80, "Black" }, 692 { 0x81, "Silver" }, 693 { 0x82, "Gray" }, 694 { 0x83, "White" }, 695 { 0x84, "Maroon" }, 696 { 0x85, "Red" }, 697 { 0x86, "Purple" }, 698 { 0x87, "Fuchsia" }, 699 { 0x88, "Green" }, 700 { 0x89, "Lime" }, 701 { 0x8A, "Olive" }, 702 { 0x8B, "Yellow" }, 703 { 0x8C, "Navy" }, 704 { 0x8D, "Blue" }, 705 { 0x8E, "Teal" }, 706 { 0x8F, "Aqua" }, 707 { 0x90, "ATCL" }, 708 { 0x91, "CLC" }, 709 { 0x93, "USER_CITY" }, 710 { 0x94, "USER_COUNTRY" }, 711 { 0x95, "USER_FRIENDLY_NAME" }, 712 { 0x96, "USER_GENDER" }, 713 { 0x97, "USER_INTENTION" }, 714 { 0x98, "USER_INTERESTS_HOBBIES" }, 715 { 0x99, "USER_MARITAL_STATUS" }, 716 { 0x9A, "PRIORITYREJECT" }, 717 { 0x9B, "PRIORITYSTORE" }, 718 { 0x9C, "REJECT" }, 719 { 0x9D, "SENDREJECT" }, 720 { 0x9E, "SENDSTORE" }, 721 { 0x9F, "IR" }, 722 { 0xA0, "EC" }, 723 { 0xA1, "GLUC" }, 724 { 0xA2, "IA" }, 725 { 0xA3, "IC" }, 726 { 0xA4, "SSMS" }, /* The values of SSMS and SHTTP were wrong in IMPS 1.3 727 20060606-C but get fixed in 1.3 20070123-A */ 728 { 0xA5, "SHTTP" }, 729 { 0xA6, "DoNotNotify" }, 730 { 0xA7, "GMAU" }, 731 { 0xA8, "GMG" }, 732 { 0xA9, "GMR" }, 733 { 0xAA, "GMU" }, 734 { 0xAB, "DETECT" }, 735 { 0xAC, "FORKALL" }, 736 { 0xAD, "OEU" }, 737 { 0xAE, "SERVERLOGIC" }, 738 { 0xAF, "PP_AGE" }, 739 { 0xB0, "PP_CITY" }, 740 { 0xB1, "PP_COUNTRY" }, 741 { 0xB2, "PP_FRIENDLY_NAME" }, 742 { 0xB3, "PP_FREE_TEXT" }, 743 { 0xB4, "PP_GENDER" }, 744 { 0xB5, "PP_INTENTION" }, 745 { 0xB6, "PP_INTERESTS" }, 746 { 0xB7, "PP_MARITAL_STATUS" }, 747 { 0xB8, "USER_AGE_MAX" }, 748 { 0xB9, "USER_AGE_MIN" }, 749 { 0xBA, "EG" }, 750 { 0xBB, "MinimumAge" }, 751 { 0xBC, "C" }, 752 { 0xBD, "CURRENT_SUBSCRIBER" }, 753 { 0xBE, "FORMER_SUBSCRIBER" }, 754 { 0xBF, "PRESENCE_ACCESS" }, 755 { 0xC0, "R" }, 756 }; 757 758 #ifdef __cplusplus 759 } 760 #endif 761 762 #endif 763 764