pbm: implement 'Get All Capabilities' request/response

This commit is contained in:
Aleksander Morgado 2013-07-03 20:18:16 +02:00
parent 92337d60c7
commit 6f2f579d14
2 changed files with 153 additions and 1 deletions

View File

@ -143,5 +143,156 @@
"format" : "guint8" },
{ "name" : "Maximum String Length",
"format" : "guint8" } ],
"prerequisites" : [ { "common-ref" : "Success" } ] } ] }
"prerequisites" : [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Get All Capabilities",
"type" : "Message",
"service" : "PBM",
"id" : "0x0003",
"version" : "1.0",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Capability Basic Information",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "array",
"size-prefix-format" : "guint8",
"array-element" : { "name" : "Element",
"format" : "struct",
"contents" : [ { "name" : "Session Type",
"format" : "guint8",
"public-format" : "QmiPbmSessionType" },
{ "name" : "Phonebooks",
"format" : "array",
"size-prefix-format" : "guint8",
"array-element" : { "name" : "Element",
"format" : "struct",
"contents" : [ { "name" : "Phonebook Type",
"format" : "guint16",
"public-format" : "QmiPbmPhonebookType" },
{ "name" : "Used Records",
"format" : "guint16" },
{ "name" : "Maximum Records",
"format" : "guint16" },
{ "name" : "Maximum Number Length",
"format" : "guint8" },
{ "name" : "Maximum Name Length",
"format" : "guint8" } ] } } ] },
"prerequisites" : [ { "common-ref" : "Success" } ] },
{ "name" : "Group Capability",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "array",
"size-prefix-format" : "guint8",
"array-element" : { "name" : "Element",
"format" : "struct",
"contents" : [ { "name" : "Session Type",
"format" : "guint8",
"public-format" : "QmiPbmSessionType" },
{ "name" : "Maximum Groups",
"format" : "guint8" },
{ "name" : "Maximum Group Tag Length",
"format" : "guint8" } ] },
"prerequisites" : [ { "common-ref" : "Success" } ] },
{ "name" : "Additional Number Capability",
"id" : "0x12",
"mandatory" : "no",
"type" : "TLV",
"format" : "array",
"size-prefix-format" : "guint8",
"array-element" : { "name" : "Element",
"format" : "struct",
"contents" : [ { "name" : "Session Type",
"format" : "guint8",
"public-format" : "QmiPbmSessionType" },
{ "name" : "Maximum Additional Numbers",
"format" : "guint8" },
{ "name" : "Maximum Additional Number Length",
"format" : "guint8" },
{ "name" : "Maximum Additional Number Tag Length",
"format" : "guint8" } ] },
"prerequisites" : [ { "common-ref" : "Success" } ] },
{ "name" : "Email Capability",
"id" : "0x13",
"mandatory" : "no",
"type" : "TLV",
"format" : "array",
"size-prefix-format" : "guint8",
"array-element" : { "name" : "Element",
"format" : "struct",
"contents" : [ { "name" : "Session Type",
"format" : "guint8",
"public-format" : "QmiPbmSessionType" },
{ "name" : "Maximum Emails",
"format" : "guint8" },
{ "name" : "Maximum Email Address Length",
"format" : "guint8" } ] },
"prerequisites" : [ { "common-ref" : "Success" } ] },
{ "name" : "Second Name Capability",
"id" : "0x14",
"mandatory" : "no",
"type" : "TLV",
"format" : "array",
"size-prefix-format" : "guint8",
"array-element" : { "name" : "Element",
"format" : "struct",
"contents" : [ { "name" : "Session Type",
"format" : "guint8",
"public-format" : "QmiPbmSessionType" },
{ "name" : "Maximum Second Name Length",
"format" : "guint8" } ] },
"prerequisites" : [ { "common-ref" : "Success" } ] },
{ "name" : "Hidden Records Capability",
"id" : "0x15",
"mandatory" : "no",
"type" : "TLV",
"format" : "array",
"size-prefix-format" : "guint8",
"array-element" : { "name" : "Element",
"format" : "struct",
"contents" : [ { "name" : "Session Type",
"format" : "guint8",
"public-format" : "QmiPbmSessionType" },
{ "name" : "Supported",
"format" : "guint8",
"public-format" : "gboolean" } ] },
"prerequisites" : [ { "common-ref" : "Success" } ] },
{ "name" : "Grouping Information Alpha String Capability",
"id" : "0x16",
"mandatory" : "no",
"type" : "TLV",
"format" : "array",
"size-prefix-format" : "guint8",
"array-element" : { "name" : "Element",
"format" : "struct",
"contents" : [ { "name" : "Session Type",
"format" : "guint8",
"public-format" : "QmiPbmSessionType" },
{ "name" : "Maximum Records",
"format" : "guint8" },
{ "name" : "Used Records",
"format" : "guint8" },
{ "name" : "Maximum String Length",
"format" : "guint8" } ] },
"prerequisites" : [ { "common-ref" : "Success" } ] },
{ "name" : "Additional Number Alpha String Capability",
"id" : "0x17",
"mandatory" : "no",
"type" : "TLV",
"format" : "array",
"size-prefix-format" : "guint8",
"array-element" : { "name" : "Element",
"format" : "struct",
"contents" : [ { "name" : "Session Type",
"format" : "guint8",
"public-format" : "QmiPbmSessionType" },
{ "name" : "Maximum Records",
"format" : "guint8" },
{ "name" : "Used Records",
"format" : "guint8" },
{ "name" : "Maximum String Length",
"format" : "guint8" } ] },
"prerequisites" : [ { "common-ref" : "Success" } ] } ] }
]

View File

@ -214,6 +214,7 @@
<title>PDS Requests</title>
<xi:include href="xml/qmi-message-pbm-indication-register.xml"/>
<xi:include href="xml/qmi-message-pbm-get-capabilities.xml"/>
<xi:include href="xml/qmi-message-pbm-get-all-capabilities.xml"/>
</section>
</chapter>