libqmi-qmuxd/data/qmi-service-dms.json

477 lines
23 KiB
JSON

[
// *********************************************************************************
{ "name" : "DMS",
"type" : "Service" },
// *********************************************************************************
{ "name" : "QMI Client DMS",
"type" : "Client" },
// *********************************************************************************
{ "name" : "QMI Message DMS",
"type" : "Message-ID-Enum" },
// *********************************************************************************
{ "name" : "Get Capabilities",
"type" : "Message",
"service" : "DMS",
"id" : "0x0020",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Info",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Max Tx Channel Rate",
"format" : "guint32" },
{ "name" : "Max Rx Channel Rate",
"format" : "guint32" },
{ "name" : "Data Service Capability",
"format" : "guint8",
"public-format" : "QmiDmsDataServiceCapability" },
{ "name" : "SIM Capability",
"format" : "guint8",
"public-format" : "QmiDmsSimCapability" },
{ "name" : "Radio Interface List",
"format" : "array",
"array-element" : { "format" : "guint8",
"public-format" : "QmiDmsRadioInterface" } } ],
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Get Manufacturer",
"type" : "Message",
"service" : "DMS",
"id" : "0x0021",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Manufacturer",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "string",
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Get Model",
"type" : "Message",
"service" : "DMS",
"id" : "0x0022",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Model",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "string",
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Get Revision",
"type" : "Message",
"service" : "DMS",
"id" : "0x0023",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Revision",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "string",
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Get MSISDN",
"type" : "Message",
"service" : "DMS",
"id" : "0x0024",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "MSISDN",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "string",
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Get IDs",
"type" : "Message",
"service" : "DMS",
"id" : "0x0025",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Esn",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "string",
"prerequisites": [ { "common-ref" : "Success" } ] },
{ "name" : "Imei",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "string",
"prerequisites": [ { "common-ref" : "Success" } ] },
{ "name" : "Meid",
"id" : "0x12",
"mandatory" : "no",
"type" : "TLV",
"format" : "string",
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Get Power State",
"type" : "Message",
"service" : "DMS",
"id" : "0x0026",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Info",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Power State Flags",
"format" : "guint8" },
{ "name" : "Battery Level",
"format" : "guint8" } ],
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "UIM Set PIN Protection",
"type" : "Message",
"service" : "DMS",
"id" : "0x0027",
"input" : [ { "name" : "Info",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Pin ID",
"format" : "guint8",
"public-format" : "QmiDmsUimPinId" },
{ "name" : "Protection Enabled",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "PIN",
"format" : "string" } ] } ],
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Pin Retries Status",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Verify Retries Left",
"format" : "guint8" },
{ "name" : "Unblock Retries Left",
"format" : "guint8" } ],
"prerequisites": [ { "common-ref" : "No Success" } ] } ] },
// *********************************************************************************
{ "name" : "UIM Verify PIN",
"type" : "Message",
"service" : "DMS",
"id" : "0x0028",
"input" : [ { "name" : "Info",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Pin ID",
"format" : "guint8",
"public-format" : "QmiDmsUimPinId" },
{ "name" : "PIN",
"format" : "string" } ] } ],
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Pin Retries Status",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Verify Retries Left",
"format" : "guint8" },
{ "name" : "Unblock Retries Left",
"format" : "guint8" } ],
"prerequisites": [ { "common-ref" : "No Success" } ] } ] },
// *********************************************************************************
{ "name" : "UIM Unblock PIN",
"type" : "Message",
"service" : "DMS",
"id" : "0x0029",
"input" : [ { "name" : "Info",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Pin ID",
"format" : "guint8",
"public-format" : "QmiDmsUimPinId" },
{ "name" : "PUK",
"format" : "string" },
{ "name" : "New PIN",
"format" : "string" } ] } ],
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Pin Retries Status",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Verify Retries Left",
"format" : "guint8" },
{ "name" : "Unblock Retries Left",
"format" : "guint8" } ],
"prerequisites": [ { "common-ref" : "No Success" } ] } ] },
// *********************************************************************************
{ "name" : "UIM Change PIN",
"type" : "Message",
"service" : "DMS",
"id" : "0x002A",
"input" : [ { "name" : "Info",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Pin ID",
"format" : "guint8",
"public-format" : "QmiDmsUimPinId" },
{ "name" : "Old PIN",
"format" : "string" },
{ "name" : "New PIN",
"format" : "string" } ] } ],
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Pin Retries Status",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Verify Retries Left",
"format" : "guint8" },
{ "name" : "Unblock Retries Left",
"format" : "guint8" } ],
"prerequisites": [ { "common-ref" : "No Success" } ] } ] },
// *********************************************************************************
{ "name" : "UIM Get PIN Status",
"type" : "Message",
"service" : "DMS",
"id" : "0x002B",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "PIN1 Status",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Current Status",
"format" : "guint8",
"public-format" : "QmiDmsUimPinStatus" },
{ "name" : "Verify Retries Left",
"format" : "guint8" },
{ "name" : "Unblock Retries Left",
"format" : "guint8" } ] },
{ "name" : "PIN2 Status",
"id" : "0x12",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Current Status",
"format" : "guint8",
"public-format" : "QmiDmsUimPinStatus" },
{ "name" : "Verify Retries Left",
"format" : "guint8" },
{ "name" : "Unblock Retries Left",
"format" : "guint8" } ] } ] },
// *********************************************************************************
{ "name" : "Get Hardware Revision",
"type" : "Message",
"service" : "DMS",
"id" : "0x002C",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Revision",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "string",
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Get Operating Mode",
"type" : "Message",
"service" : "DMS",
"id" : "0x002D",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Mode",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint8",
"public-format" : "QmiDmsOperatingMode",
"prerequisites": [ { "common-ref" : "Success" } ] },
{ "name" : "Offline Reason",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint16",
"public-format" : "QmiDmsOfflineReason",
"prerequisites": [ { "field" : "Mode",
"operation" : "==",
"value" : "QMI_DMS_OPERATING_MODE_OFFLINE" } ] },
{ "name" : "Hardware Restricted Mode",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "gboolean",
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Set Operating Mode",
"type" : "Message",
"service" : "DMS",
"id" : "0x002E",
"input" : [ { "name" : "Mode",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint8",
"public-format" : "QmiDmsOperatingMode" } ],
"output" : [ { "common-ref" : "Operation Result" } ] },
// *********************************************************************************
{ "name" : "Get Time",
"type" : "Message",
"service" : "DMS",
"id" : "0x002F",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Device Time",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Time Count",
"format" : "guint-sized",
"guint-size" : "6" },
{ "name" : "Time Source",
"format" : "guint16",
"public-format" : "QmiDmsTimeSource" } ],
"prerequisites": [ { "common-ref" : "Success" } ] },
{ "name" : "System Time",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint64",
"prerequisites": [ { "common-ref" : "Success" } ] },
{ "name" : "User Time",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint64",
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Get PRL Version",
"type" : "Message",
"service" : "DMS",
"id" : "0x0030",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Version",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint16",
"prerequisites": [ { "common-ref" : "Success" } ] },
{ "name" : "PRL Only Preference",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "gboolean",
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Get Activation State",
"type" : "Message",
"service" : "DMS",
"id" : "0x0031",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Info",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint16",
"public-format" : "QmiDmsActivationState",
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "Activate Automatic",
"type" : "Message",
"service" : "DMS",
"id" : "0x0032",
"input" : [ { "name" : "Activation Code",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "string" } ],
"output" : [ { "common-ref" : "Operation Result" } ] },
// *********************************************************************************
{ "name" : "Activate Manual",
"type" : "Message",
"service" : "DMS",
"id" : "0x0033",
"input" : [ { "name" : "Info",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Service Programming Code",
"format" : "string",
"fixed-size" : "6" },
{ "name" : "System Identification Number",
"format" : "string",
"fixed-size" : "2" },
{ "name" : "Mobile Directory Number",
"format" : "string",
"max-size" : "15" },
{ "name" : "Mobile Identification Number",
"format" : "string",
"max-size" : "15" } ] },
{ "name" : "MN HA key",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "string",
"max-size" : "16" },
{ "name" : "MN AAA key",
"id" : "0x12",
"mandatory" : "no",
"type" : "TLV",
"format" : "string",
"max-size" : "16" } ],
"output" : [ { "common-ref" : "Operation Result" } ] },
// *********************************************************************************
{ "name" : "UIM Get ICCID",
"type" : "Message",
"service" : "DMS",
"id" : "0x003C",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "ICCID",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "string",
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
// *********************************************************************************
{ "name" : "UIM Get IMSI",
"type" : "Message",
"service" : "DMS",
"id" : "0x0043",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "IMSI",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "string",
"prerequisites": [ { "common-ref" : "Success" } ] } ] }
]