guint32 => "le32_to_cpu(*(uint32_t *) get_next(4))",
gint64 => "le64_to_cpu(*(uint64_t *) get_next(8))",
guint64 => "le64_to_cpu(*(uint64_t *) get_next(8))",
+ gfloat => "({ uint32_t data = le32_to_cpu(*(uint32_t *) get_next(4)); *((float *) &data); })"
);
my %tlv_get_be = (
guint32 => "uint32_t",
gint64 => "int64_t",
guint64 => "uint64_t",
+ gfloat => "float",
gboolean => "bool",
);
{ "name" : "Sync",
"type" : "Indication",
"service" : "CTL",
- "id" : "0x0027" }
+ "id" : "0x0027" },
+
+ // *********************************************************************************
+ // Internal
+ { "name" : "Internal Proxy Open",
+ "type" : "Message",
+ "service" : "CTL",
+ "id" : "0xFF00",
+ "input" : [ { "name" : "Device Path",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "string" } ],
+ "output" : [ { "common-ref" : "Operation Result" } ] }
+
]
"type" : "Message",
"service" : "DMS",
"id" : "0x002D",
- "version" : "1.2",
+ "version" : "1.1",
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Mode",
"id" : "0x01",
"type" : "Message",
"service" : "DMS",
"id" : "0x002E",
- "version" : "1.2",
+ "version" : "1.1",
"input" : [ { "name" : "Mode",
"id" : "0x01",
"mandatory" : "yes",
"service" : "DMS",
"id" : "0x0032",
"version" : "1.3",
- "input" : [ { "name" : "Activation Code",
- "id" : "0x01",
- "mandatory" : "yes",
- "type" : "TLV",
- "format" : "string" } ],
+ "input" : [ { "name" : "Activation Code",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "string",
+ "size-prefix-format" : "guint8" } ],
"output" : [ { "common-ref" : "Operation Result" } ] },
// *********************************************************************************
"contents" : [ { "name" : "Service Programming Code",
"format" : "string",
"fixed-size" : "6" },
- { "name" : "System Identification Number",
- "format" : "string",
- "fixed-size" : "2" },
+ { "name" : "System Identification Number",
+ "format" : "guint16" },
{ "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",
+ { "name" : "MN HA key",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "string",
+ "max-size" : "16",
+ "size-prefix-format" : "guint8" },
+ { "name" : "MN AAA key",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "string",
+ "max-size" : "16",
+ "size-prefix-format" : "guint8" },
+ { "name" : "PRL",
+ "id" : "0x13",
"mandatory" : "no",
"type" : "TLV",
- "format" : "string",
- "max-size" : "16" } ],
+ "format" : "sequence",
+ "contents" : [ { "name" : "PRL total length",
+ "format" : "guint16" },
+ { "name" : "PRL segment",
+ "format" : "array",
+ "size-prefix-format" : "guint16",
+ "sequence-prefix-format" : "guint8",
+ "array-element" : { "format" : "guint8" } } ] } ],
"output" : [ { "common-ref" : "Operation Result" } ] },
// *********************************************************************************
"service" : "DMS",
"id" : "0x0038",
"version" : "1.6",
- "input" : [ { "name" : "User Data",
- "id" : "0x01",
- "mandatory" : "yes",
- "type" : "TLV",
- "format" : "array",
- "size-prefix-format" : "guint16",
- "array-element" : { "format" : "guint8" },
- "prerequisites" : [ { "common-ref" : "Success" } ] } ],
- "output" : [ { "common-ref" : "Operation Result" } ] },
+ "input" : [ { "name" : "User Data",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "array",
+ "size-prefix-format" : "guint16",
+ "array-element" : { "format" : "guint8" } } ],
+ "output" : [ { "common-ref" : "Operation Result" } ] },
// *********************************************************************************
{ "name" : "Read ERI File",
"format" : "guint64",
"public-format" : "QmiDmsBandCapability",
"prerequisites": [ { "common-ref" : "Success" } ] },
- { "name" : "LTE Band Capability",
+ { "name" : "LTE Band Capability",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "gboolean" } ] } ] },
+ // *********************************************************************************
+ { "name" : "Get Cell Location Info",
+ "type" : "Message",
+ "service" : "NAS",
+ "id" : "0x0043",
+ "version" : "1.4",
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "GERAN Info",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Cell ID",
+ "format" : "guint32" },
+ { "name" : "PLMN",
+ "format" : "string",
+ "fixed-size" : "3" },
+ { "name" : "LAC",
+ "format" : "guint16" },
+ { "name" : "GERAN Absolute RF Channel Number",
+ "format" : "guint16" },
+ { "name" : "Base Station Identity Code",
+ "format" : "guint8" },
+ { "name" : "Timing Advance",
+ "format" : "guint32" },
+ { "name" : "RX Level",
+ "format" : "guint16" },
+ { "name" : "Cell",
+ "format" : "array",
+ "array-element" : { "name" : "Element",
+ "format" : "struct",
+ "contents" : [ { "name" : "Cell ID",
+ "format" : "guint32" },
+ { "name" : "PLMN",
+ "format" : "string",
+ "fixed-size" : "3" },
+ { "name" : "LAC",
+ "format" : "guint16" },
+ { "name" : "GERAN Absolute RF Channel Number",
+ "format" : "guint16" },
+ { "name" : "Base Station Identity Code",
+ "format" : "guint8" },
+ { "name" : "RX Level",
+ "format" : "guint16" } ] } } ] },
+ { "name" : "UMTS Info",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Cell ID",
+ "format" : "guint16" },
+ { "name" : "PLMN",
+ "format" : "string",
+ "fixed-size" : "3" },
+ { "name" : "LAC",
+ "format" : "guint16" },
+ { "name" : "UTRA Absolute RF Channel Number",
+ "format" : "guint16" },
+ { "name" : "Primary Scrambling Code",
+ "format" : "guint16" },
+ { "name" : "RSCP",
+ "format" : "gint16" },
+ { "name" : "ECIO",
+ "format" : "gint16" },
+ { "name" : "Cell",
+ "format" : "array",
+ "array-element" : { "name" : "Element",
+ "format" : "struct",
+ "contents" : [ { "name" : "UTRA Absolute RF Channel Number",
+ "format" : "guint16" },
+ { "name" : "Primary Scrambling Code",
+ "format" : "guint16" },
+ { "name" : "RSCP",
+ "format" : "gint16" },
+ { "name" : "ECIO",
+ "format" : "gint16" } ] } },
+ { "name" : "Neighboring GERAN",
+ "format" : "array",
+ "array-element" : { "name" : "Element",
+ "format" : "struct",
+ "contents" : [ { "name" : "GERAN Absolute RF Channel Number",
+ "format" : "guint16" },
+ { "name" : "Network Color Code",
+ "format" : "guint8" },
+ { "name" : "Base Station Color Code",
+ "format" : "guint8" },
+ { "name" : "RSSI",
+ "format" : "gint16" } ] } } ] },
+ { "name" : "CDMA Info",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "System ID",
+ "format" : "guint16" },
+ { "name" : "Network ID",
+ "format" : "guint16" },
+ { "name" : "Base Station ID",
+ "format" : "guint16" },
+ { "name" : "Reference PN",
+ "format" : "guint16" },
+ { "name" : "Latitude",
+ "format" : "guint32" },
+ { "name" : "Longitude",
+ "format" : "guint32" } ] },
+ { "name" : "Intrafrequency LTE Info",
+ "id" : "0x13",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "UE In Idle",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "PLMN",
+ "format" : "string",
+ "fixed-size" : "3" },
+ { "name" : "Tracking Area Code",
+ "format" : "guint16" },
+ { "name" : "Global Cell ID",
+ "format" : "guint32" },
+ { "name" : "EUTRA Absolute RF Channel Number",
+ "format" : "guint16" },
+ { "name" : "Serving Cell ID",
+ "format" : "guint16" },
+ { "name" : "Cell Reselection Priority",
+ "format" : "guint8" },
+ { "name" : "S Non Intra Search Threshold",
+ "format" : "guint8" },
+ { "name" : "Serving Cell Low Threshold",
+ "format" : "guint8" },
+ { "name" : "S Intra Search Threshold",
+ "format" : "guint8" },
+ { "name" : "Cell",
+ "format" : "array",
+ "array-element" : { "name" : "Element",
+ "format" : "struct",
+ "contents" : [ { "name" : "Physical Cell ID",
+ "format" : "guint16" },
+ { "name" : "RSRQ",
+ "format" : "gint16" },
+ { "name" : "RSRP",
+ "format" : "gint16" },
+ { "name" : "RSSI",
+ "format" : "gint16" },
+ { "name" : "Cell Selection RX Level",
+ "format" : "gint16" } ] } } ] },
+ { "name" : "Interfrequency LTE Info",
+ "id" : "0x14",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "UE In Idle",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "Frequency",
+ "format" : "array",
+ "array-element" : { "name" : "Element",
+ "format" : "struct",
+ "contents" : [ { "name" : "EUTRA Absolute RF Channel Number",
+ "format" : "guint16" },
+ { "name" : "Cell Selection RX Level Low Threshold",
+ "format" : "guint8" },
+ { "name" : "Cell Selection RX Level High Threshold",
+ "format" : "guint8" },
+ { "name" : "Cell Reselection Priority",
+ "format" : "guint8" },
+ { "name" : "Cell",
+ "format" : "array",
+ "array-element" : { "name" : "Element",
+ "format" : "struct",
+ "contents" : [ { "name" : "Physical Cell ID",
+ "format" : "guint16" },
+ { "name" : "RSRQ",
+ "format" : "gint16" },
+ { "name" : "RSRP",
+ "format" : "gint16" },
+ { "name" : "RSSI",
+ "format" : "gint16" },
+ { "name" : "Cell Selection RX Level",
+ "format" : "gint16" } ] } } ] } } ] },
+ { "name" : "LTE Info Neighboring GSM",
+ "id" : "0x15",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "UE In Idle",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "Frequency",
+ "format" : "array",
+ "array-element" : { "name" : "Element",
+ "format" : "struct",
+ "contents" : [ { "name" : "Cell Reselection Priority",
+ "format" : "guint8" },
+ { "name" : "Cell Reselection High Threshold",
+ "format" : "guint8" },
+ { "name" : "Cell Reselection Low Threshold",
+ "format" : "guint8" },
+ { "name" : "NCC Permitted",
+ "format" : "guint8" },
+ { "name" : "Cell",
+ "format" : "array",
+ "array-element" : { "name" : "Element",
+ "format" : "struct",
+ "contents" : [ { "name" : "GERAN Absolute RF Channel Number",
+ "format" : "guint16" },
+ { "name" : "Band Is 1900",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "Cell ID Valid",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "Base Station Identity Code",
+ "format" : "guint8" },
+ { "name" : "RSSI",
+ "format" : "gint16" },
+ { "name" : "Cell Selection RX Level",
+ "format" : "gint16" } ] } } ] } } ] },
+ { "name" : "LTE Info Neighboring WCDMA",
+ "id" : "0x16",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "UE In Idle",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "Frequency",
+ "format" : "array",
+ "array-element" : { "name" : "Element",
+ "format" : "struct",
+ "contents" : [ { "name" : "UTRA Absolute RF Channel Number",
+ "format" : "guint16" },
+ { "name" : "Cell Reselection Priority",
+ "format" : "guint8" },
+ { "name" : "Cell Reselection High Threshold",
+ "format" : "guint16" },
+ { "name" : "Cell Reselection Low Threshold",
+ "format" : "guint16" },
+ { "name" : "Cell",
+ "format" : "array",
+ "array-element" : { "name" : "Element",
+ "format" : "struct",
+ "contents" : [ { "name" : "Primary Scrambling Code",
+ "format" : "guint16" },
+ { "name" : "CPICH RSCP",
+ "format" : "gint16" },
+ { "name" : "CPICH EcNo",
+ "format" : "gint16" },
+ { "name" : "Cell Selection RX Level",
+ "format" : "gint16" } ] } } ] } } ] },
+ { "name" : "UMTS Cell ID",
+ "id" : "0x17",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32" },
+ { "name" : "UMTS Info Neighboring LTE",
+ "id" : "0x18",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "RRC state",
+ "format" : "guint32",
+ "public-format" : "QmiNasWcdmaRrcState" },
+ { "name" : "Frequency",
+ "format" : "array",
+ "array-element" : { "name" : "Element",
+ "format" : "struct",
+ "contents" : [ { "name" : "EUTRA Absolute RF Channel Number",
+ "format" : "guint16" },
+ { "name" : "Physical Cell ID",
+ "format" : "guint16" },
+ { "name" : "RSRP",
+ "format" : "gfloat" },
+ { "name" : "RSRQ",
+ "format" : "gfloat" },
+ { "name" : "Cell Selection RX Level",
+ "format" : "gint16" },
+ { "name" : "Is TDD",
+ "format" : "guint8",
+ "public-format" : "gboolean" } ] } } ] } ] },
+
+ // *********************************************************************************
+ { "name" : "Network Time",
+ "type" : "Indication",
+ "service" : "NAS",
+ "id" : "0x004C",
+ "version" : "1.1",
+ "output" : [ { "name" : "Universal Time",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Year",
+ "format" : "guint16" },
+ { "name" : "Month",
+ "format" : "guint8" },
+ { "name" : "Day",
+ "format" : "guint8" },
+ { "name" : "Hour",
+ "format" : "guint8" },
+ { "name" : "Minute",
+ "format" : "guint8" },
+ { "name" : "Second",
+ "format" : "guint8" },
+ { "name" : "Day Of Week",
+ "format" : "guint8",
+ "public-format" : "QmiNasDayOfWeek" } ] },
+ { "name" : "Timezone Offset",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "gint8" },
+ { "name" : "Daylight Savings Adjustment",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiNasDaylightSavingsAdjustment" },
+ { "name" : "Radio Interface",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "gint8",
+ "public-format" : "QmiNasRadioInterface" } ] },
+
// *********************************************************************************
{ "name" : "Get System Info",
"type" : "Message",
"type" : "TLV",
"format" : "gint8" } ] },
+ // *********************************************************************************
+ { "name" : "Get Tx Rx Info",
+ "type" : "Message",
+ "service" : "NAS",
+ "id" : "0x005A",
+ "version" : "1.9",
+ "input" : [ { "name" : "Radio Interface",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "gint8",
+ "public-format" : "QmiNasRadioInterface" } ],
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "Rx Chain 0 Info",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Is Radio Tuned",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "Rx Power",
+ "format" : "gint32" },
+ { "name" : "ECIO",
+ "format" : "gint32" },
+ { "name" : "RSCP",
+ "format" : "gint32" },
+ { "name" : "RSRP",
+ "format" : "gint32" },
+ { "name" : "Phase",
+ "format" : "guint32" } ],
+ "prerequisites": [ { "common-ref" : "Success" } ] },
+ { "name" : "Rx Chain 1 Info",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Is Radio Tuned",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "Rx Power",
+ "format" : "gint32" },
+ { "name" : "ECIO",
+ "format" : "gint32" },
+ { "name" : "RSCP",
+ "format" : "gint32" },
+ { "name" : "RSRP",
+ "format" : "gint32" },
+ { "name" : "Phase",
+ "format" : "guint32" } ],
+ "prerequisites": [ { "common-ref" : "Success" } ] },
+ { "name" : "Tx Info",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Is In Traffic",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "Tx Power",
+ "format" : "gint32" } ],
+ "prerequisites": [ { "common-ref" : "Success" } ] } ] },
+
// *********************************************************************************
{ "name" : "Get CDMA Position Info",
"type" : "Message",
--- /dev/null
+
+[
+ // *********************************************************************************
+ { "name" : "OMA",
+ "type" : "Service" },
+
+ // *********************************************************************************
+ { "name" : "QMI Client OMA",
+ "type" : "Client" },
+
+ // *********************************************************************************
+ { "name" : "QMI Message OMA",
+ "type" : "Message-ID-Enum" },
+
+ // *********************************************************************************
+ { "name" : "QMI Indication OMA",
+ "type" : "Indication-ID-Enum" },
+
+ // *********************************************************************************
+ { "name" : "Reset",
+ "type" : "Message",
+ "service" : "OMA",
+ "id" : "0x0000",
+ "version" : "1.0",
+ "output" : [ { "common-ref" : "Operation Result" } ] },
+
+ // *********************************************************************************
+ { "name" : "Set Event Report",
+ "type" : "Message",
+ "service" : "OMA",
+ "id" : "0x0001",
+ "version" : "1.0",
+ "input" : [ { "name" : "Network Initiated Alert Reporting",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "Session State Reporting",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean" } ],
+ "output" : [ { "common-ref" : "Operation Result" } ] },
+
+ { "name" : "Event Report",
+ "type" : "Indication",
+ "service" : "OMA",
+ "id" : "0x0001",
+ "output" : [ { "name" : "Network Initiated Alert",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Session Type",
+ "format" : "guint8",
+ "public-format" : "QmiOmaSessionType" },
+ { "name" : "Session ID",
+ "format" : "guint16" } ] },
+ { "name" : "Session State",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiOmaSessionState" },
+ { "name" : "Session Fail Reason",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiOmaSessionFailedReason" } ] },
+
+ // *********************************************************************************
+ { "name" : "Start Session",
+ "type" : "Message",
+ "service" : "OMA",
+ "id" : "0x0020",
+ "version" : "1.0",
+ "input" : [ { "name" : "Session Type",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiOmaSessionType" } ],
+ "output" : [ { "common-ref" : "Operation Result" } ] },
+
+ // *********************************************************************************
+ { "name" : "Cancel Session",
+ "type" : "Message",
+ "service" : "OMA",
+ "id" : "0x0021",
+ "version" : "1.0",
+ "output" : [ { "common-ref" : "Operation Result" } ] },
+
+ // *********************************************************************************
+ { "name" : "Get Session Info",
+ "type" : "Message",
+ "service" : "OMA",
+ "id" : "0x0022",
+ "output" : [ { "name" : "Session Info",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Session State",
+ "format" : "guint8",
+ "public-format" : "QmiOmaSessionState" },
+ { "name" : "Session Type",
+ "format" : "guint8",
+ "public-format" : "QmiOmaSessionType" } ],
+ "prerequisites": [ { "common-ref" : "Success" } ] },
+ { "name" : "Session Failed Reason",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiOmaSessionFailedReason",
+ "prerequisites" : [ { "field" : "Session Info Session State",
+ "operation" : "==",
+ "value" : "QMI_OMA_SESSION_STATE_FAILED" } ] },
+ { "name" : "Retry Info",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Retry Count",
+ "format" : "guint8" },
+ { "name" : "Retry Pause Timer",
+ "format" : "guint16" },
+ { "name" : "Retry Pause Timer Remaining",
+ "format" : "guint16" } ],
+ "prerequisites": [ { "common-ref" : "Success" } ] },
+ { "name" : "Network Initiated Alert",
+ "id" : "0x13",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Session Type",
+ "format" : "guint8",
+ "public-format" : "QmiOmaSessionType" },
+ { "name" : "Session ID",
+ "format" : "guint16" } ],
+ "prerequisites": [ { "common-ref" : "Success" } ] },
+ { "common-ref" : "Operation Result" } ] },
+
+ // *********************************************************************************
+ { "name" : "Send Selection",
+ "type" : "Message",
+ "service" : "OMA",
+ "id" : "0x0023",
+ "input" : [ { "name" : "Network Initiated Alert Selection",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Control Point Selection Accept",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "Session ID",
+ "format" : "guint16" } ] } ],
+ "output" : [ { "common-ref" : "Operation Result" } ] },
+
+ // *********************************************************************************
+ { "name" : "Get Feature Setting",
+ "type" : "Message",
+ "service" : "OMA",
+ "id" : "0x0024",
+ "output" : [ { "name" : "Device Provisioning Service Update Config",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "PRL Update Service Config",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "HFA Feature Config",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "HFA Feature Done State",
+ "id" : "0x13",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiOmaHfaFeatureDoneState",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "common-ref" : "Operation Result" } ] },
+
+ // *********************************************************************************
+ { "name" : "Set Feature Setting",
+ "type" : "Message",
+ "service" : "OMA",
+ "id" : "0x0025",
+ "input" : [ { "name" : "Device Provisioning Service Update Config",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "PRL Update Service Config",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "HFA Feature Config",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean" } ],
+ "output" : [ { "common-ref" : "Operation Result" } ] }
+]
--- /dev/null
+
+[
+ // *********************************************************************************
+ { "name" : "PBM",
+ "type" : "Service" },
+
+ // *********************************************************************************
+ { "name" : "QMI Client PBM",
+ "type" : "Client" },
+
+ // *********************************************************************************
+ { "name" : "QMI Message PBM",
+ "type" : "Message-ID-Enum" },
+
+ // *********************************************************************************
+ { "name" : "Indication Register",
+ "type" : "Message",
+ "service" : "PBM",
+ "id" : "0x0001",
+ "version" : "1.0",
+ "input" : [ { "name" : "Event Registration Mask",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "guint32",
+ "public-format" : "QmiPbmEventRegistrationFlag" } ],
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "Event Registration Mask",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "public-format" : "QmiPbmEventRegistrationFlag",
+ "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
+
+ // *********************************************************************************
+ { "name" : "Get Capabilities",
+ "type" : "Message",
+ "service" : "PBM",
+ "id" : "0x0002",
+ "version" : "1.0",
+ "input" : [ { "name" : "Phonebook Information",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Session Type",
+ "format" : "guint8",
+ "public-format" : "QmiPbmSessionType" },
+ { "name" : "Phonebook Type",
+ "format" : "guint16",
+ "public-format" : "QmiPbmPhonebookType" } ] } ],
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "Capability Basic Information",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Session Type",
+ "format" : "guint8",
+ "public-format" : "QmiPbmSessionType" },
+ { "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" : "sequence",
+ "contents" : [ { "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" : "sequence",
+ "contents" : [ { "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" : "sequence",
+ "contents" : [ { "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" : "sequence",
+ "contents" : [ { "name" : "Maximum Second Name Length",
+ "format" : "guint8" } ],
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Hidden Records Capability",
+ "id" : "0x15",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Supported",
+ "format" : "guint8",
+ "public-format" : "gboolean" } ],
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Grouping Information Alpha String Capability",
+ "id" : "0x16",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "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" : "sequence",
+ "contents" : [ { "name" : "Maximum Records",
+ "format" : "guint8" },
+ { "name" : "Used Records",
+ "format" : "guint8" },
+ { "name" : "Maximum String Length",
+ "format" : "guint8" } ],
+ "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" } ] } ] }
+]
"public-format" : "gboolean" } ] } ],
"output" : [ { "common-ref" : "Operation Result" } ] },
+ // *********************************************************************************
+ { "name" : "Get Default Tracking Session",
+ "type" : "Message",
+ "service" : "PDS",
+ "id" : "0x0029",
+ "version" : "1.0",
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "Info",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Session Operation",
+ "format" : "guint8",
+ "public-format" : "QmiPdsOperatingMode" },
+ { "name" : "Position Data Timeout",
+ "format" : "guint8" },
+ { "name" : "Interval",
+ "format" : "guint32" },
+ { "name" : "Accuracy Threshold",
+ "format" : "guint32" } ],
+ "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
+
+ // *********************************************************************************
+ { "name" : "Set Default Tracking Session",
+ "type" : "Message",
+ "service" : "PDS",
+ "id" : "0x002A",
+ "version" : "1.0",
+ "input" : [ { "name" : "Info",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Session Operation",
+ "format" : "guint8",
+ "public-format" : "QmiPdsOperatingMode" },
+ { "name" : "Position Data Timeout",
+ "format" : "guint8" },
+ { "name" : "Interval",
+ "format" : "guint32" },
+ { "name" : "Accuracy Threshold",
+ "format" : "guint32" } ] } ],
+ "output" : [ { "common-ref" : "Operation Result" } ] },
+
+ // *********************************************************************************
+ { "name" : "Get AGPS Config",
+ "type" : "Message",
+ "service" : "PDS",
+ "id" : "0x002E",
+ "version" : "1.0",
+ "input" : [ { "name" : "Network Mode",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiPdsNetworkMode" } ],
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "Location Server Address",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "IP",
+ "format" : "guint32",
+ "endian" : "little" },
+ { "name" : "Port",
+ "format" : "guint32" } ],
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Location Server URL",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "array",
+ "size-prefix-format" : "guint8",
+ "array-element" : { "format" : "guint8" },
+ "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
+
+ // *********************************************************************************
+ { "name" : "Set AGPS Config",
+ "type" : "Message",
+ "service" : "PDS",
+ "id" : "0x002F",
+ "version" : "1.0",
+ "input" : [ { "name" : "Location Server Address",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "IP",
+ "format" : "guint32",
+ "format" : "guint32" },
+ { "name" : "Port",
+ "format" : "guint32" } ] },
+ { "name" : "Location Server URL",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "array",
+ "size-prefix-format" : "guint8",
+ "array-element" : { "format" : "guint8" } },
+ { "name" : "Network Mode",
+ "id" : "0x14",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiPdsNetworkMode" } ],
+ "output" : [ { "common-ref" : "Operation Result" } ] },
+
// *********************************************************************************
{ "name" : "Get Auto Tracking State",
"type" : "Message",
--- /dev/null
+
+[
+ // *********************************************************************************
+ { "name" : "UIM",
+ "type" : "Service" },
+
+ // *********************************************************************************
+ { "name" : "QMI Client UIM",
+ "type" : "Client" },
+
+ // *********************************************************************************
+ { "name" : "QMI Message UIM",
+ "type" : "Message-ID-Enum" },
+
+ // *********************************************************************************
+ { "name" : "Reset",
+ "type" : "Message",
+ "service" : "UIM",
+ "id" : "0x0000",
+ "version" : "1.0",
+ "output" : [ { "common-ref" : "Operation Result" } ] },
+
+ // *********************************************************************************
+ { "name" : "Read Transparent",
+ "type" : "Message",
+ "service" : "UIM",
+ "id" : "0x0020",
+ "version" : "1.0",
+ "input" : [ { "name" : "Session Information",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Session Type",
+ "format" : "guint8",
+ "public-format" : "QmiUimSessionType" },
+ { "name" : "Application Identifier",
+ "format" : "string" } ] },
+ { "name" : "File",
+ "id" : "0x02",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "File ID",
+ "format" : "guint16" },
+ { "name" : "File Path",
+ "format" : "array",
+ "array-element" : { "format" : "guint8" } } ] },
+ { "name" : "Read Information",
+ "id" : "0x03",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Offset",
+ "format" : "guint16" },
+ { "name" : "Length",
+ "format" : "guint16" } ] },
+ { "name" : "Response In Indication Token",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32" },
+ { "name" : "Encrypt Data",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean" } ],
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "Card result",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "SW1",
+ "format" : "guint8" },
+ { "name" : "SW2",
+ "format" : "guint8" } ] },
+ { "name" : "Read result",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "array",
+ "size-prefix-format" : "guint16",
+ "array-element" : { "format" : "guint8" },
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Response In Indication Token",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Encrypted Data",
+ "id" : "0x13",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean",
+ "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
+
+ // *********************************************************************************
+ { "name" : "Read Record",
+ "type" : "Message",
+ "service" : "UIM",
+ "id" : "0x0021",
+ "version" : "1.0",
+ "input" : [ { "name" : "Session Information",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Session Type",
+ "format" : "guint8",
+ "public-format" : "QmiUimSessionType" },
+ { "name" : "Application Identifier",
+ "format" : "string" } ] },
+ { "name" : "File",
+ "id" : "0x02",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "File ID",
+ "format" : "guint16" },
+ { "name" : "File Path",
+ "format" : "array",
+ "array-element" : { "format" : "guint8" } } ] },
+ { "name" : "Record",
+ "id" : "0x03",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Record Number",
+ "format" : "guint16" },
+ { "name" : "Record Length",
+ "format" : "guint16" } ] },
+ { "name" : "Last Record",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint16" },
+ { "name" : "Response In Indication Token",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32" } ],
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "Card result",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "SW1",
+ "format" : "guint8" },
+ { "name" : "SW2",
+ "format" : "guint8" } ] },
+ { "name" : "Read Result",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "array",
+ "size-prefix-format" : "guint16",
+ "array-element" : { "format" : "guint8" },
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Additional Read Result",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "array",
+ "size-prefix-format" : "guint16",
+ "array-element" : { "format" : "guint8" },
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Response In Indication Token",
+ "id" : "0x13",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
+
+ // *********************************************************************************
+ { "name" : "Get File Attributes",
+ "type" : "Message",
+ "service" : "UIM",
+ "id" : "0x0024",
+ "version" : "1.0",
+ "input" : [ { "name" : "Session Information",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Session Type",
+ "format" : "guint8",
+ "public-format" : "QmiUimSessionType" },
+ { "name" : "Application Identifier",
+ "format" : "string" } ] },
+ { "name" : "File",
+ "id" : "0x02",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "File ID",
+ "format" : "guint16" },
+ { "name" : "File Path",
+ "format" : "array",
+ "array-element" : { "format" : "guint8" } } ] },
+ { "name" : "Response In Indication Token",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32" } ],
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "Card result",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "SW1",
+ "format" : "guint8" },
+ { "name" : "SW2",
+ "format" : "guint8" } ] },
+ { "name" : "File Attributes",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "File Size",
+ "format" : "guint16" },
+ { "name" : "File ID",
+ "format" : "guint16" },
+ { "name" : "File Type",
+ "format" : "guint8",
+ "public-format" : "QmiUimFileType" },
+ { "name" : "Record Size",
+ "format" : "guint16" },
+ { "name" : "Record Count",
+ "format" : "guint16" },
+ { "name" : "Read Security Attributes Logic",
+ "format" : "guint8",
+ "public-format" : "QmiUimSecurityAttributeLogic" },
+ { "name" : "Read Security Attributes",
+ "format" : "guint16",
+ "public-format" : "QmiUimSecurityAttribute" },
+ { "name" : "Write Security Attributes Logic",
+ "format" : "guint8",
+ "public-format" : "QmiUimSecurityAttributeLogic" },
+ { "name" : "Write Security Attributes",
+ "format" : "guint16",
+ "public-format" : "QmiUimSecurityAttribute" },
+ { "name" : "Increase Security Attributes Logic",
+ "format" : "guint8",
+ "public-format" : "QmiUimSecurityAttributeLogic" },
+ { "name" : "Increase Security Attributes",
+ "format" : "guint16",
+ "public-format" : "QmiUimSecurityAttribute" },
+ { "name" : "Deactivate Security Attributes Logic",
+ "format" : "guint8",
+ "public-format" : "QmiUimSecurityAttributeLogic" },
+ { "name" : "Deactivate Security Attributes",
+ "format" : "guint16",
+ "public-format" : "QmiUimSecurityAttribute" },
+ { "name" : "Activate Security Attributes Logic",
+ "format" : "guint8",
+ "public-format" : "QmiUimSecurityAttributeLogic" },
+ { "name" : "Activate Security Attributes",
+ "format" : "guint16",
+ "public-format" : "QmiUimSecurityAttribute" },
+ { "name" : "Raw Data",
+ "format" : "array",
+ "size-prefix-format" : "guint16",
+ "array-element" : { "format" : "guint8" } } ],
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Response In Indication Token",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
+
+ // *********************************************************************************
+ { "name" : "Get Card Status",
+ "type" : "Message",
+ "service" : "UIM",
+ "id" : "0x002F",
+ "version" : "1.0",
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "Card Status",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Index GW Primary",
+ "format" : "guint16" },
+ { "name" : "Index 1x Primary",
+ "format" : "guint16" },
+ { "name" : "Index GW Secondary ",
+ "format" : "guint16" },
+ { "name" : "Index 1x Secondary",
+ "format" : "guint16" },
+ { "name" : "Cards",
+ "format" : "array",
+ "size-prefix-format" : "guint8",
+ "array-element" : { "name" : "Element",
+ "format" : "struct",
+ "contents" : [ { "name" : "Card State",
+ "format" : "guint8",
+ "public-format" : "QmiUimCardState" },
+ { "name" : "UPIN State",
+ "format" : "guint8",
+ "public-format" : "QmiUimPinState" },
+ { "name" : "UPIN Retries",
+ "format" : "guint8" },
+ { "name" : "UPUK Retries",
+ "format" : "guint8" },
+ { "name" : "Error code",
+ "format" : "guint8",
+ "public-format" : "QmiUimCardError" },
+ { "name" : "Applications",
+ "format" : "array",
+ "size-prefix-format" : "guint8",
+ "array-element" : { "name" : "Element",
+ "format" : "struct",
+ "contents" : [ { "name" : "Type",
+ "format" : "guint8",
+ "public-format" : "QmiUimCardApplicationType" },
+ { "name" : "State",
+ "format" : "guint8",
+ "public-format" : "QmiUimCardApplicationState" },
+ { "name" : "Personalization State",
+ "format" : "guint8",
+ "public-format" : "QmiUimCardApplicationPersonalizationState" },
+ { "name" : "Personalization Feature",
+ "format" : "guint8",
+ "public-format" : "QmiUimCardApplicationPersonalizationFeature" },
+ { "name" : "Personalization Retries",
+ "format" : "guint8" },
+ { "name" : "Personalization Unblock Retries",
+ "format" : "guint8" },
+ { "name" : "Application Identifier Value",
+ "format" : "array",
+ "size-prefix-format" : "guint8",
+ "array-element" : { "format" : "guint8" } },
+ { "name" : "UPIN replaces PIN1",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "PIN1 State",
+ "format" : "guint8",
+ "public-format" : "QmiUimPinState" },
+ { "name" : "PIN1 Retries",
+ "format" : "guint8" },
+ { "name" : "PUK1 Retries",
+ "format" : "guint8" },
+ { "name" : "PIN2 State",
+ "format" : "guint8",
+ "public-format" : "QmiUimPinState" },
+ { "name" : "PIN2 Retries",
+ "format" : "guint8" },
+ { "name" : "PUK2 Retries",
+ "format" : "guint8" } ] } } ] } } ] } ] }
+
+]
--- /dev/null
+
+[
+ // *********************************************************************************
+ { "name" : "WDA",
+ "type" : "Service" },
+
+ // *********************************************************************************
+ { "name" : "QMI Client WDA",
+ "type" : "Client" },
+
+ // *********************************************************************************
+ { "name" : "QMI Message WDA",
+ "type" : "Message-ID-Enum" },
+
+ // *********************************************************************************
+ { "name" : "Set Data Format",
+ "type" : "Message",
+ "service" : "WDA",
+ "id" : "0x0020",
+ "version" : "1.0",
+ "input" : [ { "name" : "QoS Format",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean" },
+ { "name" : "Link Layer Protocol",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "public-format" : "QmiWdaLinkLayerProtocol" },
+ { "name" : "Uplink Data Aggregation Protocol",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "public-format" : "QmiWdaDataAggregationProtocol" },
+ { "name" : "Downlink Data Aggregation Protocol",
+ "id" : "0x13",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "public-format" : "QmiWdaDataAggregationProtocol" },
+ { "name" : "NDP Signature",
+ "id" : "0x14",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32" },
+ { "name" : "Downlink Data Aggregation Max Datagrams",
+ "id" : "0x15",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32" },
+ { "name" : "Downlink Data Aggregation Max Size",
+ "id" : "0x16",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32" } ],
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "QoS Format",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean",
+ "prerequisites": [ { "common-ref" : "Success" } ] },
+ { "name" : "Link Layer Protocol",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "public-format" : "QmiWdaLinkLayerProtocol",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Uplink Data Aggregation Protocol",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "public-format" : "QmiWdaDataAggregationProtocol",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Downlink Data Aggregation Protocol",
+ "id" : "0x13",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "public-format" : "QmiWdaDataAggregationProtocol",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "NDP Signature",
+ "id" : "0x14",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Downlink Data Aggregation Max Datagrams",
+ "id" : "0x15",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Downlink Data Aggregation Max Size",
+ "id" : "0x16",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
+
+ // *********************************************************************************
+ { "name" : "Get Data Format",
+ "type" : "Message",
+ "service" : "WDA",
+ "id" : "0x0021",
+ "version" : "1.0",
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "QoS Format",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean",
+ "prerequisites": [ { "common-ref" : "Success" } ] },
+ { "name" : "Link Layer Protocol",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "public-format" : "QmiWdaLinkLayerProtocol",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Uplink Data Aggregation Protocol",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "public-format" : "QmiWdaDataAggregationProtocol",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Downlink Data Aggregation Protocol",
+ "id" : "0x13",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "public-format" : "QmiWdaDataAggregationProtocol",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "NDP Signature",
+ "id" : "0x14",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Uplink Data Aggregation Max Size",
+ "id" : "0x15",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Downlink Data Aggregation Max Size",
+ "id" : "0x16",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] } ] }
+
+]
"public-format" : "QmiWdsConnectionStatus",
"prerequisites" : [ { "common-ref" : "Success" } ] } ] },
+ // *********************************************************************************
+ { "name" : "Get Packet Statistics",
+ "type" : "Message",
+ "service" : "WDS",
+ "id" : "0x0024",
+ "version" : "1.0",
+ "input" : [ { "name" : "Mask",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "guint32",
+ "public-format" : "QmiWdsPacketStatisticsMaskFlag" } ],
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "Tx Packets Ok",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Rx Packets Ok",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Tx Packets Error",
+ "id" : "0x12",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Rx Packets Error",
+ "id" : "0x13",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Tx Overflows",
+ "id" : "0x14",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Rx Overflows",
+ "id" : "0x15",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Tx Bytes Ok",
+ "id" : "0x19",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint64",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Rx Bytes Ok",
+ "id" : "0x1A",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint64",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Last Call Tx Bytes Ok",
+ "id" : "0x1B",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint64",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Last Call Rx Bytes Ok",
+ "id" : "0x1C",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint64",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Tx Packets Dropped",
+ "id" : "0x1D",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Rx Packets Dropped",
+ "id" : "0x1E",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
+
+ // *********************************************************************************
+ { "name" : "Get Profile List",
+ "type" : "Message",
+ "service" : "WDS",
+ "id" : "0x002A",
+ "version" : "1.1",
+ "input" : [ { "name" : "Profile Type",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiWdsProfileType" } ],
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "Profile List",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "array",
+ "array-element" : { "name" : "Profile",
+ "format" : "struct",
+ "contents" : [ { "name" : "Profile Type",
+ "format" : "guint8",
+ "public-format" : "QmiWdsProfileType" },
+ { "name" : "Profile Index",
+ "format" : "guint8" },
+ { "name" : "Profile Name",
+ "format" : "string" } ] },
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Extended Error Code",
+ "id" : "0xE0",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint16",
+ "public-format" : "QmiWdsDsProfileError",
+ "prerequisites" : [ { "field" : "Result.Error Status",
+ "operation" : "!=",
+ "value" : "QMI_STATUS_SUCCESS" },
+ { "field" : "Result.Error Code",
+ "operation" : "==",
+ "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] },
+
+ // *********************************************************************************
+ { "name" : "Get Profile Settings",
+ "type" : "Message",
+ "service" : "WDS",
+ "id" : "0x002B",
+ "version" : "1.1",
+ "input" : [ { "name" : "Profile ID",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Profile Type",
+ "format" : "guint8",
+ "public-format" : "QmiWdsProfileType" },
+ { "name" : "Profile Index",
+ "format" : "guint8" } ] } ],
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "Profile Name",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "string",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "PDP Type",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiWdsPdpType",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "APN Name",
+ "id" : "0x14",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "string",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Primary IPv4 DNS Address",
+ "id" : "0x15",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "endian" : "little",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Secondary IPv4 DNS Address",
+ "id" : "0x16",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "endian" : "little",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ // 0x17 UMTS Requested QoS
+ // 0x18 UMTS Minimum QoS
+ { "name" : "GPRS Requested QoS",
+ "id" : "0x19",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Precedence Class",
+ "format" : "guint32" },
+ { "name" : "Delay Class",
+ "format" : "guint32" },
+ { "name" : "Reliability Class",
+ "format" : "guint32" },
+ { "name" : "Peak Throughput Class",
+ "format" : "guint32" },
+ { "name" : "Mean Throughput Class",
+ "format" : "guint32" } ],
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "GPRS Minimum QoS",
+ "id" : "0x1A",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Precedence Class",
+ "format" : "guint32" },
+ { "name" : "Delay Class",
+ "format" : "guint32" },
+ { "name" : "Reliability Class",
+ "format" : "guint32" },
+ { "name" : "Peak Throughput Class",
+ "format" : "guint32" },
+ { "name" : "Mean Throughput Class",
+ "format" : "guint32" } ],
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Username",
+ "id" : "0x1B",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "string",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Password",
+ "id" : "0x1C",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "string",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Authentication",
+ "id" : "0x1D",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiWdsAuthentication",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "IPv4 Address Preference",
+ "id" : "0x1E",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "endian" : "little",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "PCSCF Address Using PCO",
+ "id" : "0x1F",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ // 0x20, PDP access control flag
+ { "name" : "PCSCF Address Using DHCP",
+ "id" : "0x21",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "IMCN Flag",
+ "id" : "0x22",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ // 0x23, TFT ID1 Parameters
+ // 0x24, TFT ID2 Parameters
+ // 0x25, PDP context number
+ // 0x26, PDP context secondary flag
+ // 0x27, PDP context primary id
+ { "name" : "IPv6 Address Preference",
+ "id" : "0x28",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Address",
+ "format" : "array",
+ "fixed-size" : "8",
+ "array-element" : { "format": "guint16", "endian": "network" } } ] },
+ // 0x29, UMTS requested QoS with Signaling Indication Flag
+ // 0x2A, UMTS minimum QoS with Signaling Indication Flag
+ { "name" : "IPv6 Primary DNS Address Preference",
+ "id" : "0x2B",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "array",
+ "fixed-size": "8",
+ "array-element" : { "format": "guint16", "endian": "network" },
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "IPv6 Secondary DNS Address Preference",
+ "id" : "0x2C",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "array",
+ "fixed-size": "8",
+ "array-element" : { "format": "guint16", "endian": "network" },
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ // 0x2D, DHCP/NAS Preference
+ // 0x2E, 3GPP LTE QoS Parameters
+ // 0x2F, APN disabled flag
+ // 0x30, PDN inactivity timeout
+ // 0x31, APN class
+ // 0x90, Negotiate DNS server preference
+ // 0x91, PPP session close timer for DO
+ // 0x92, PPP session close timer for 1X
+ // 0x93, Allow/disallow lingering of interface
+ // 0x94, LCP ACK timeout
+ // 0x95, IPCP ACK timeout
+ // 0x96, AUTH timeout
+ // 0x97, LCP configuration request retry count value
+ // 0x98, IPCP configuration request retry count value
+ // 0x99, Authentication retry
+ // 0x9A, Authentication protocol,
+ // 0x9B, User ID
+ // 0x9C, Authentication password
+ // 0x9D, Data rate
+ // 0x9E, Application type
+ // 0x9F, Data mode
+ // 0xA0, Application priority
+ // 0xA1, APN string
+ // 0xA2, PDN type
+ // 0xA3, Is PCSCF address needed
+ // 0xA4, IPv4 Primary DNS address
+ // 0xA5, IPv4 Secondary DNS address
+ // 0xA6, IPv6 Primary DNS address
+ // 0xA7, IPv6 Secondary DNS address
+ // 0xA8, RAT type
+ // 0xA9, APN enabled
+ // 0xAA, PDN inactivity timeout
+ // 0xAB, APN class
+ { "name" : "Extended Error Code",
+ "id" : "0xE0",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint16",
+ "public-format" : "QmiWdsDsProfileError",
+ "prerequisites" : [ { "field" : "Result.Error Status",
+ "operation" : "!=",
+ "value" : "QMI_STATUS_SUCCESS" },
+ { "field" : "Result.Error Code",
+ "operation" : "==",
+ "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] },
+
+ // *********************************************************************************
+ { "name" : "Get Default Settings",
+ "type" : "Message",
+ "service" : "WDS",
+ "id" : "0x002C",
+ "version" : "1.1",
+ "input" : [ { "name" : "Profile Type",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiWdsProfileType" } ],
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "Profile Name",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "string",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "PDP Type",
+ "id" : "0x11",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiWdsPdpType",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "APN Name",
+ "id" : "0x14",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "string",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Primary IPv4 DNS Address",
+ "id" : "0x15",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "endian" : "little",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Secondary IPv4 DNS Address",
+ "id" : "0x16",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "endian" : "little",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ // 0x17 UMTS Requested QoS
+ // 0x18 UMTS Minimum QoS
+ { "name" : "GPRS Requested QoS",
+ "id" : "0x19",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Precedence Class",
+ "format" : "guint32" },
+ { "name" : "Delay Class",
+ "format" : "guint32" },
+ { "name" : "Reliability Class",
+ "format" : "guint32" },
+ { "name" : "Peak Throughput Class",
+ "format" : "guint32" },
+ { "name" : "Mean Throughput Class",
+ "format" : "guint32" } ],
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "GPRS Minimum QoS",
+ "id" : "0x1A",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Precedence Class",
+ "format" : "guint32" },
+ { "name" : "Delay Class",
+ "format" : "guint32" },
+ { "name" : "Reliability Class",
+ "format" : "guint32" },
+ { "name" : "Peak Throughput Class",
+ "format" : "guint32" },
+ { "name" : "Mean Throughput Class",
+ "format" : "guint32" } ],
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Username",
+ "id" : "0x1B",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "string",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Password",
+ "id" : "0x1C",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "string",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "Authentication",
+ "id" : "0x1D",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiWdsAuthentication",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "IPv4 Address Preference",
+ "id" : "0x1E",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "endian" : "little",
+ "format" : "guint32",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "PCSCF Address Using PCO",
+ "id" : "0x1F",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ // 0x20, PDP access control flag
+ { "name" : "PCSCF Address Using DHCP",
+ "id" : "0x21",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "IMCN Flag",
+ "id" : "0x22",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "gboolean",
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ // 0x23, TFT ID1 Parameters
+ // 0x24, TFT ID2 Parameters
+ // 0x25, PDP context number
+ // 0x26, PDP context secondary flag
+ // 0x27, PDP context primary id
+ { "name" : "IPv6 Address Preference",
+ "id" : "0x28",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "Address",
+ "format" : "array",
+ "fixed-size" : "8",
+ "array-element" : { "format": "guint16", "endian": "network" } } ] },
+ // 0x29, UMTS requested QoS with Signaling Indication Flag
+ // 0x2A, UMTS minimum QoS with Signaling Indication Flag
+ { "name" : "IPv6 Primary DNS Address Preference",
+ "id" : "0x2B",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "array",
+ "fixed-size": "8",
+ "array-element" : { "format": "guint16", "endian": "network" },
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ { "name" : "IPv6 Secondary DNS Address Preference",
+ "id" : "0x2C",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "array",
+ "fixed-size": "8",
+ "array-element" : { "format": "guint16", "endian": "network" },
+ "prerequisites" : [ { "common-ref" : "Success" } ] },
+ // 0x2D, DHCP/NAS Preference
+ // 0x2E, 3GPP LTE QoS Parameters
+ // 0x2F, APN disabled flag
+ // 0x30, PDN inactivity timeout
+ // 0x31, APN class
+ // 0x90, Negotiate DNS server preference
+ // 0x91, PPP session close timer for DO
+ // 0x92, PPP session close timer for 1X
+ // 0x93, Allow/disallow lingering of interface
+ // 0x94, LCP ACK timeout
+ // 0x95, IPCP ACK timeout
+ // 0x96, AUTH timeout
+ // 0x97, LCP configuration request retry count value
+ // 0x98, IPCP configuration request retry count value
+ // 0x99, Authentication retry
+ // 0x9A, Authentication protocol,
+ // 0x9B, User ID
+ // 0x9C, Authentication password
+ // 0x9D, Data rate
+ // 0x9E, Application type
+ // 0x9F, Data mode
+ // 0xA0, Application priority
+ // 0xA1, APN string
+ // 0xA2, PDN type
+ // 0xA3, Is PCSCF address needed
+ // 0xA4, IPv4 Primary DNS address
+ // 0xA5, IPv4 Secondary DNS address
+ // 0xA6, IPv6 Primary DNS address
+ // 0xA7, IPv6 Secondary DNS address
+ // 0xA8, RAT type
+ // 0xA9, APN enabled
+ // 0xAA, PDN inactivity timeout
+ // 0xAB, APN class
+ { "name" : "Extended Error Code",
+ "id" : "0xE0",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint16",
+ "public-format" : "QmiWdsDsProfileError",
+ "prerequisites" : [ { "field" : "Result.Error Status",
+ "operation" : "!=",
+ "value" : "QMI_STATUS_SUCCESS" },
+ { "field" : "Result.Error Code",
+ "operation" : "==",
+ "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] },
+
// *********************************************************************************
{ "name" : "Get Current Settings",
"type" : "Message",
QMI_NAS_CDMA_PILOT_TYPE_NEIGHBOR = 1,
} QmiNasCdmaPilotType;
+/**
+ * QmiNasDayOfWeek:
+ * @QMI_NAS_DAY_OF_WEEK_MONDAY: Monday
+ * @QMI_NAS_DAY_OF_WEEK_TUESDAY: Tuesday
+ * @QMI_NAS_DAY_OF_WEEK_WEDNESDAY: Wednesday
+ * @QMI_NAS_DAY_OF_WEEK_THURSDAY: Thursday
+ * @QMI_NAS_DAY_OF_WEEK_FRIDAY: Friday
+ * @QMI_NAS_DAY_OF_WEEK_SATURDAY: Saturday
+ * @QMI_NAS_DAY_OF_WEEK_SUNDAY: Sunday
+ *
+ * The day of the week.
+ */
+typedef enum {
+ QMI_NAS_DAY_OF_WEEK_MONDAY = 0,
+ QMI_NAS_DAY_OF_WEEK_TUESDAY = 1,
+ QMI_NAS_DAY_OF_WEEK_WEDNESDAY = 2,
+ QMI_NAS_DAY_OF_WEEK_THURSDAY = 3,
+ QMI_NAS_DAY_OF_WEEK_FRIDAY = 4,
+ QMI_NAS_DAY_OF_WEEK_SATURDAY = 5,
+ QMI_NAS_DAY_OF_WEEK_SUNDAY = 6
+} QmiNasDayOfWeek;
+
+/**
+ * QmiNasDaylightSavingsAdjustment:
+ * @QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_NONE: no adjustment
+ * @QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_ONE_HOUR: one hour adjustment
+ * @QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_TWO_HOURS: two hours adjustment
+ *
+ * The number of hours a time is adjusted for daylight savings.
+ */
+typedef enum {
+ QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_NONE = 0,
+ QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_ONE_HOUR = 1,
+ QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_TWO_HOURS = 2
+} QmiNasDaylightSavingsAdjustment;
+
+/*****************************************************************************/
+/* Helper enums for the 'QMI NAS Get Cell Location Info' request/response */
+
+/**
+ * QmiNasWcdmaRrcState:
+ * @QMI_NAS_WCDMA_RRC_STATE_DISCONNECTED: Disconnected.
+ * @QMI_NAS_WCDMA_RRC_STATE_CELL_PCH: WCDMA RRC state is CELL_PCH.
+ * @QMI_NAS_WCDMA_RRC_STATE_URA_PCH: WCDMA RRC state is URA_PCH.
+ * @QMI_NAS_WCDMA_RRC_STATE_CELL_FACH: WCDMA RRC state is CELL_FACH.
+ * @QMI_NAS_WCDMA_RRC_STATE_CELL_DCH: WCDMA RRC state is CELL_DCH.
+ *
+ * RRC state.
+ */
+typedef enum {
+ QMI_NAS_WCDMA_RRC_STATE_DISCONNECTED = 0,
+ QMI_NAS_WCDMA_RRC_STATE_CELL_PCH = 1,
+ QMI_NAS_WCDMA_RRC_STATE_URA_PCH = 2,
+ QMI_NAS_WCDMA_RRC_STATE_CELL_FACH = 3,
+ QMI_NAS_WCDMA_RRC_STATE_CELL_DCH = 4
+} QmiNasWcdmaRrcState;
+
#endif /* _LIBQMI_GLIB_QMI_ENUMS_NAS_H_ */
QMI_PDS_TRACKING_SESSION_STATE_ACTIVE = 2
} QmiPdsTrackingSessionState;
+/*****************************************************************************/
+/* Helper enums for the 'QMI PDS Get Default Tracking Session' request/response */
+
+/**
+ * QmiPdsOperatingMode:
+ * @QMI_PDS_OPERATING_MODE_STANDALONE: Standalone (GPS only).
+ * @QMI_PDS_OPERATING_MODE_MS_BASED: MS-based.
+ * @QMI_PDS_OPERATING_MODE_MS_ASSISTED: MS-assisted (A-GPS).
+ *
+ * GPS operating mode.
+ */
+typedef enum {
+ QMI_PDS_OPERATING_MODE_STANDALONE = 0,
+ QMI_PDS_OPERATING_MODE_MS_BASED = 1,
+ QMI_PDS_OPERATING_MODE_MS_ASSISTED = 2,
+} QmiPdsOperatingMode;
+
+/*****************************************************************************/
+/* Helper enums for the 'QMI PDS Get AGPS Config' request/response */
+
+/**
+ * QmiPdsNetworkMode:
+ * @QMI_PDS_NETWORK_MODE_UMTS: UMTS.
+ * @QMI_PDS_NETWORK_MODE_CDMA: CDMA.
+ *
+ * Network mode used during the A-GPS setup.
+ */
+typedef enum {
+ QMI_PDS_NETWORK_MODE_UMTS = 0,
+ QMI_PDS_NETWORK_MODE_CDMA = 1,
+} QmiPdsNetworkMode;
+
#endif /* _LIBQMI_GLIB_QMI_ENUMS_PDS_H_ */
QMI_WDS_PROFILE_TYPE_3GPP2 = 1
} QmiWdsProfileType;
+/*****************************************************************************/
+/* Helper enums for the 'QMI WDS Get Packet Statistics' message */
+
+/**
+ * QmiWdsPacketStatisticsMaskFlag:
+ * @QMI_WDS_PACKET_STATISTICS_MASK_FLAG_TX_PACKETS_OK: Request count of correctly sent packets.
+ * @QMI_WDS_PACKET_STATISTICS_MASK_FLAG_RX_PACKETS_OK: Request count of correctly received packets.
+ * @QMI_WDS_PACKET_STATISTICS_MASK_FLAG_TX_PACKETS_ERROR: Request count of sent packets with error.
+ * @QMI_WDS_PACKET_STATISTICS_MASK_FLAG_RX_PACKETS_ERROR: Request count of received packets with error.
+ * @QMI_WDS_PACKET_STATISTICS_MASK_FLAG_TX_OVERFLOWS: Request count of transmitter overflows.
+ * @QMI_WDS_PACKET_STATISTICS_MASK_FLAG_RX_OVERFLOWS: Request count of receiver overflows.
+ * @QMI_WDS_PACKET_STATISTICS_MASK_FLAG_TX_BYTES_OK: Request count of correctly sent bytes.
+ * @QMI_WDS_PACKET_STATISTICS_MASK_FLAG_RX_BYTES_OK: Request count of correctly received bytes.
+ * @QMI_WDS_PACKET_STATISTICS_MASK_FLAG_TX_PACKETS_DROPPED: Request count of dropped packets in transmission.
+ * @QMI_WDS_PACKET_STATISTICS_MASK_FLAG_RX_PACKETS_DROPPED: Request count of dropped packets in reception.
+ *
+ * Mask to use when requesting packet statistics.
+ */
+typedef enum {
+ QMI_WDS_PACKET_STATISTICS_MASK_FLAG_TX_PACKETS_OK = 1 << 0,
+ QMI_WDS_PACKET_STATISTICS_MASK_FLAG_RX_PACKETS_OK = 1 << 1,
+ QMI_WDS_PACKET_STATISTICS_MASK_FLAG_TX_PACKETS_ERROR = 1 << 2,
+ QMI_WDS_PACKET_STATISTICS_MASK_FLAG_RX_PACKETS_ERROR = 1 << 3,
+ QMI_WDS_PACKET_STATISTICS_MASK_FLAG_TX_OVERFLOWS = 1 << 4,
+ QMI_WDS_PACKET_STATISTICS_MASK_FLAG_RX_OVERFLOWS = 1 << 5,
+ QMI_WDS_PACKET_STATISTICS_MASK_FLAG_TX_BYTES_OK = 1 << 6,
+ QMI_WDS_PACKET_STATISTICS_MASK_FLAG_RX_BYTES_OK = 1 << 7,
+ QMI_WDS_PACKET_STATISTICS_MASK_FLAG_TX_PACKETS_DROPPED = 1 << 8,
+ QMI_WDS_PACKET_STATISTICS_MASK_FLAG_RX_PACKETS_DROPPED = 1 << 9
+} QmiWdsPacketStatisticsMaskFlag;
+
+/*****************************************************************************/
+/* Helper enums for the 'QMI WDS Get Profile List' message */
+
+/**
+ * QmiWdsDsProfileError:
+ * @QMI_WDS_DS_PROFILE_ERROR_UNKNOWN: Unknown DS profile error.
+ * @QMI_WDS_DS_PROFILE_ERROR_FAIL: General failure.
+ * @QMI_WDS_DS_PROFILE_ERROR_INVALID_HANDLE: Invalid handle.
+ * @QMI_WDS_DS_PROFILE_ERROR_INVALID_OPERATION: Invalid operation.
+ * @QMI_WDS_DS_PROFILE_ERROR_INVALID_PROFILE_TYPE: Invalid profile type.
+ * @QMI_WDS_DS_PROFILE_ERROR_INVALID_PROFILE_NUMBER: Invalid profile number.
+ * @QMI_WDS_DS_PROFILE_ERROR_INVALID_PROFILE_ID: Invalid profile identifier.
+ * @QMI_WDS_DS_PROFILE_ERROR_INVALID_ARGUMENT: Invalid argument.
+ * @QMI_WDS_DS_PROFILE_ERROR_REGISTRY_NOT_INITIALIZED: Registry not initialized.
+ * @QMI_WDS_DS_PROFILE_ERROR_INVALID_PARAMETER_LENGTH: Invalid parameter length.
+ * @QMI_WDS_DS_PROFILE_ERROR_LIST_END: List end, profile not found.
+ * @QMI_WDS_DS_PROFILE_ERROR_INVALID_SUBSCRIPTION_ID: Invalid subscription identifier.
+ * @QMI_WDS_DS_PROFILE_ERROR_INVALID_PROFILE_FAMILY: Invalid profile family.
+ * @QMI_WDS_DS_PROFILE_ERROR_3GPP_INVALID_PROFILE_FAMILY: Invalid 3GPP profile family.
+ * @QMI_WDS_DS_PROFILE_ERROR_3GPP_ACCESS_ERROR: Error accessing 3GPP profiles.
+ * @QMI_WDS_DS_PROFILE_ERROR_3GPP_CONTEXT_NOT_DEFINED: 3GPP profile doesn't have a valid context.
+ * @QMI_WDS_DS_PROFILE_ERROR_3GPP_VALID_FLAG_NOT_SET: 3GPP profile doesn't have valid flag set.
+ * @QMI_WDS_DS_PROFILE_ERROR_3GPP_READ_ONLY_FLAG_SET: 3GPP profile has read-only flag set.
+ * @QMI_WDS_DS_PROFILE_ERROR_3GPP_OUT_OF_PROFILES: Out of 3GPP profiles.
+ * @QMI_WDS_DS_PROFILE_ERROR_3GPP2_INVALID_PROFILE_ID: Invalid 3GPP2 profile identifier.
+ *
+ * Extended DS profile errors.
+ */
+typedef enum {
+ QMI_WDS_DS_PROFILE_ERROR_UNKNOWN = 0,
+ QMI_WDS_DS_PROFILE_ERROR_FAIL = 1,
+ QMI_WDS_DS_PROFILE_ERROR_INVALID_HANDLE = 2,
+ QMI_WDS_DS_PROFILE_ERROR_INVALID_OPERATION = 3,
+ QMI_WDS_DS_PROFILE_ERROR_INVALID_PROFILE_TYPE = 4,
+ QMI_WDS_DS_PROFILE_ERROR_INVALID_PROFILE_NUMBER = 5,
+ QMI_WDS_DS_PROFILE_ERROR_INVALID_PROFILE_ID = 6,
+ QMI_WDS_DS_PROFILE_ERROR_INVALID_ARGUMENT = 7,
+ QMI_WDS_DS_PROFILE_ERROR_REGISTRY_NOT_INITIALIZED = 8,
+ QMI_WDS_DS_PROFILE_ERROR_INVALID_PARAMETER_LENGTH = 9,
+ QMI_WDS_DS_PROFILE_ERROR_LIST_END = 10,
+ QMI_WDS_DS_PROFILE_ERROR_INVALID_SUBSCRIPTION_ID = 11,
+ QMI_WDS_DS_PROFILE_ERROR_INVALID_PROFILE_FAMILY = 12,
+ QMI_WDS_DS_PROFILE_ERROR_3GPP_INVALID_PROFILE_FAMILY = 1001,
+ QMI_WDS_DS_PROFILE_ERROR_3GPP_ACCESS_ERROR = 1002,
+ QMI_WDS_DS_PROFILE_ERROR_3GPP_CONTEXT_NOT_DEFINED = 1003,
+ QMI_WDS_DS_PROFILE_ERROR_3GPP_VALID_FLAG_NOT_SET = 1004,
+ QMI_WDS_DS_PROFILE_ERROR_3GPP_READ_ONLY_FLAG_SET = 1005,
+ QMI_WDS_DS_PROFILE_ERROR_3GPP_OUT_OF_PROFILES = 1006,
+ QMI_WDS_DS_PROFILE_ERROR_3GPP2_INVALID_PROFILE_ID = 1101,
+} QmiWdsDsProfileError;
+
#endif /* _LIBQMI_GLIB_QMI_ENUMS_WDS_H_ */
* @QMI_SERVICE_CAT2: Card Application Toolkit service (v2).
* @QMI_SERVICE_UIM: User Identity Module service.
* @QMI_SERVICE_PBM: Phonebook Management service.
+ * @QMI_SERVICE_QCHAT: QCHAT service.
+ * @QMI_SERVICE_RMTFS: Remote file system service.
+ * @QMI_SERVICE_TEST: Test service.
* @QMI_SERVICE_LOC: Location service (~ PDS v2).
- * @QMI_SERVICE_SAR: SAR.
- * @QMI_SERVICE_RMTFS: Remote Filesystem service.
+ * @QMI_SERVICE_SAR: Service access proxy service.
+ * @QMI_SERVICE_IMS: IMS settings service.
+ * @QMI_SERVICE_ADC: Analog to digital converter driver service.
+ * @QMI_SERVICE_CSD: Core sound driver service.
+ * @QMI_SERVICE_MFS: Modem embedded file system service.
+ * @QMI_SERVICE_TIME: Time service.
+ * @QMI_SERVICE_TS: Thermal sensors service.
+ * @QMI_SERVICE_TMD: Thermal mitigation device service.
+ * @QMI_SERVICE_SAP: Service access proxy service.
+ * @QMI_SERVICE_WDA: Wireless data administrative service.
+ * @QMI_SERVICE_TSYNC: TSYNC control service.
+ * @QMI_SERVICE_RFSA: Remote file system access service.
+ * @QMI_SERVICE_CSVT: Circuit switched videotelephony service.
+ * @QMI_SERVICE_QCMAP: Qualcomm mobile access point service.
+ * @QMI_SERVICE_IMSP: IMS presence service.
+ * @QMI_SERVICE_IMSVT: IMS videotelephony service.
+ * @QMI_SERVICE_IMSA: IMS application service.
+ * @QMI_SERVICE_COEX: Coexistence service.
+ * @QMI_SERVICE_PDC: Persistent device configuration service.
+ * @QMI_SERVICE_STX: Simultaneous transmit service.
+ * @QMI_SERVICE_BIT: Bearer independent transport service.
+ * @QMI_SERVICE_IMSRTP: IMS RTP service.
+ * @QMI_SERVICE_RFRPE: RF radiated performance enhancement service.
+ * @QMI_SERVICE_DSD: Data system determination service.
+ * @QMI_SERVICE_SSCTL: Subsystem control service.
* @QMI_SERVICE_CAT: Card Application Toolkit service (v1).
* @QMI_SERVICE_RMS: Remote Management Service.
* @QMI_SERVICE_OMA: Open Mobile Alliance device management service.
* QMI services.
*/
typedef enum {
- /* Unknown service */
QMI_SERVICE_UNKNOWN = -1,
- /* Control service */
- QMI_SERVICE_CTL = 0x00,
- /* Wireless Data Service */
- QMI_SERVICE_WDS = 0x01,
- /* Device Management Service */
- QMI_SERVICE_DMS = 0x02,
- /* Network Access Service */
- QMI_SERVICE_NAS = 0x03,
- /* Quality Of Service service */
- QMI_SERVICE_QOS = 0x04,
- /* Wireless Messaging Service */
- QMI_SERVICE_WMS = 0x05,
- /* Position Determination Service */
- QMI_SERVICE_PDS = 0x06,
- /* Authentication service */
- QMI_SERVICE_AUTH = 0x07,
- /* AT service */
- QMI_SERVICE_AT = 0x08,
- /* Voice service */
- QMI_SERVICE_VOICE = 0x09,
- /* Card Application Toolkit service (major version 2) */
- QMI_SERVICE_CAT2 = 0x0A,
- /* User Identity Module service */
- QMI_SERVICE_UIM = 0x0B,
- /* Phonebook Management service */
- QMI_SERVICE_PBM = 0x0C,
- /* Location service (~ PDS major version 2) */
- QMI_SERVICE_LOC = 0x10,
- /* No idea what this one means.. Search And Rescue? */
- QMI_SERVICE_SAR = 0x11,
- /* Remote Filesystem service */
- QMI_SERVICE_RMTFS = 0x14,
- /* Card Application Toolkit service */
- QMI_SERVICE_CAT = 0xE0,
- /* Remote Management Service */
- QMI_SERVICE_RMS = 0xE1,
- /* Open Mobile Alliance device management service */
- QMI_SERVICE_OMA = 0xE2
+ QMI_SERVICE_CTL = 0,
+ QMI_SERVICE_WDS = 1,
+ QMI_SERVICE_DMS = 2,
+ QMI_SERVICE_NAS = 3,
+ QMI_SERVICE_QOS = 4,
+ QMI_SERVICE_WMS = 5,
+ QMI_SERVICE_PDS = 6,
+ QMI_SERVICE_AUTH = 7,
+ QMI_SERVICE_AT = 8,
+ QMI_SERVICE_VOICE = 9,
+ QMI_SERVICE_CAT2 = 10,
+ QMI_SERVICE_UIM = 11,
+ QMI_SERVICE_PBM = 12,
+ QMI_SERVICE_QCHAT = 13,
+ QMI_SERVICE_RMTFS = 14,
+ QMI_SERVICE_TEST = 15,
+ QMI_SERVICE_LOC = 16,
+ QMI_SERVICE_SAR = 17,
+ QMI_SERVICE_IMS = 18,
+ QMI_SERVICE_ADC = 19,
+ QMI_SERVICE_CSD = 20,
+ QMI_SERVICE_MFS = 21,
+ QMI_SERVICE_TIME = 22,
+ QMI_SERVICE_TS = 23,
+ QMI_SERVICE_TMD = 24,
+ QMI_SERVICE_SAP = 25,
+ QMI_SERVICE_WDA = 26,
+ QMI_SERVICE_TSYNC = 27,
+ QMI_SERVICE_RFSA = 28,
+ QMI_SERVICE_CSVT = 29,
+ QMI_SERVICE_QCMAP = 30,
+ QMI_SERVICE_IMSP = 31,
+ QMI_SERVICE_IMSVT = 32,
+ QMI_SERVICE_IMSA = 33,
+ QMI_SERVICE_COEX = 34,
+ /* 35, reserved */
+ QMI_SERVICE_PDC = 36,
+ /* 37, reserved */
+ QMI_SERVICE_STX = 38,
+ QMI_SERVICE_BIT = 39,
+ QMI_SERVICE_IMSRTP = 40,
+ QMI_SERVICE_RFRPE = 41,
+ QMI_SERVICE_DSD = 42,
+ QMI_SERVICE_SSCTL = 43,
+ QMI_SERVICE_CAT = 224,
+ QMI_SERVICE_RMS = 225,
+ QMI_SERVICE_OMA = 226
} QmiService;
#endif /* _LIBQMI_GLIB_QMI_ENUMS_H_ */
* @QMI_PROTOCOL_ERROR_SEGMENT_TOO_LONG: Segment too long.
* @QMI_PROTOCOL_ERROR_SEGMENT_ORDER: Segment order.
* @QMI_PROTOCOL_ERROR_BUNDLING_NOT_SUPPORTED: Bundling not supported.
+ * @QMI_PROTOCOL_ERROR_POLICY_MISMATCH: Policy mismatch.
* @QMI_PROTOCOL_ERROR_SIM_FILE_NOT_FOUND: SIM file not found.
+ * @QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL: Extended internal error.
* @QMI_PROTOCOL_ERROR_ACCESS_DENIED: Access denied.
* @QMI_PROTOCOL_ERROR_HARDWARE_RESTRICTED: Hardware restricted.
+ * @QMI_PROTOCOL_ERROR_ACK_NOT_SENT: ACK not sent.
+ * @QMI_PROTOCOL_ERROR_INJECT_TIMEOUT: Inject timeout.
+ * @QMI_PROTOCOL_ERROR_INCOMPATIBLE_STATE: Incompatible state.
+ * @QMI_PROTOCOL_ERROR_FDN_RESTRICT: FDN restrict.
+ * @QMI_PROTOCOL_ERROR_SUPS_FAILURE_CASE: SUPS failure case.
+ * @QMI_PROTOCOL_ERROR_NO_RADIO: No radio.
+ * @QMI_PROTOCOL_ERROR_NOT_SUPPORTED: Not supported.
+ * @QMI_PROTOCOL_ERROR_NO_SUBSCRIPTION: No subscription.
+ * @QMI_PROTOCOL_ERROR_CARD_CALL_CONTROL_FAILED: Card call control failed.
+ * @QMI_PROTOCOL_ERROR_NETWORK_ABORTED: Network aborted.
+ * @QMI_PROTOCOL_ERROR_MSG_BLOCKED: Message blocked.
+ * @QMI_PROTOCOL_ERROR_INVALID_SESSION_TYPE: Invalid session type.
+ * @QMI_PROTOCOL_ERROR_INVALID_PB_TYPE: Invalid PB type.
+ * @QMI_PROTOCOL_ERROR_NO_SIM: No SIM.
+ * @QMI_PROTOCOL_ERROR_PB_NOT_READY: PB not ready.
+ * @QMI_PROTOCOL_ERROR_PIN_RESTRICTION: PIN restriction.
+ * @QMI_PROTOCOL_ERROR_PIN2_RESTRICTION: PIN2 restriction.
+ * @QMI_PROTOCOL_ERROR_PUK_RESTRICTION: PUK restriction.
+ * @QMI_PROTOCOL_ERROR_PUK2_RESTRICTION: PUK2 restriction.
+ * @QMI_PROTOCOL_ERROR_PB_ACCESS_RESTRICTED: PB access restricted.
+ * @QMI_PROTOCOL_ERROR_PB_TEXT_TOO_LONG: PB text too long.
+ * @QMI_PROTOCOL_ERROR_PB_NUMBER_TOO_LONG: PB number too long.
+ * @QMI_PROTOCOL_ERROR_PB_HIDDEN_KEY_RESTRICTION: PB hidden key restriction.
* @QMI_PROTOCOL_ERROR_CAT_EVENT_REGISTRATION_FAILED: Event registration failed.
* @QMI_PROTOCOL_ERROR_CAT_INVALID_TERMINAL_RESPONSE: Invalid terminal response.
* @QMI_PROTOCOL_ERROR_CAT_INVALID_ENVELOPE_COMMAND: Invalid envelope command.
QMI_PROTOCOL_ERROR_SEGMENT_TOO_LONG = 75, /*< nick=SegmentTooLong >*/
QMI_PROTOCOL_ERROR_SEGMENT_ORDER = 76, /*< nick=SegmentOrder >*/
QMI_PROTOCOL_ERROR_BUNDLING_NOT_SUPPORTED = 77, /*< nick=BundlingNotSupported >*/
+ /* 0x004E, 78: unused */
+ QMI_PROTOCOL_ERROR_POLICY_MISMATCH = 79, /*< nick=PolicyMismatch >*/
QMI_PROTOCOL_ERROR_SIM_FILE_NOT_FOUND = 80, /*< nick=SimFileNotFound >*/
+ QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL = 81, /*< nick=ExtendedInternal >*/
QMI_PROTOCOL_ERROR_ACCESS_DENIED = 82, /*< nick=AccessDenied >*/
QMI_PROTOCOL_ERROR_HARDWARE_RESTRICTED = 83, /*< nick=HardwareRestricted >*/
+ QMI_PROTOCOL_ERROR_ACK_NOT_SENT = 84, /*< nick=AckNotSent >*/
+ QMI_PROTOCOL_ERROR_INJECT_TIMEOUT = 85, /*< nick=InjectTimeout >*/
+ QMI_PROTOCOL_ERROR_INCOMPATIBLE_STATE = 90, /*< nick=IncompatibleState >*/
+ QMI_PROTOCOL_ERROR_FDN_RESTRICT = 91, /*< nick=FdnRestrict >*/
+ QMI_PROTOCOL_ERROR_SUPS_FAILURE_CASE = 92, /*< nick=SupsFailureCase >*/
+ QMI_PROTOCOL_ERROR_NO_RADIO = 93, /*< nick=NoRadio >*/
+ QMI_PROTOCOL_ERROR_NOT_SUPPORTED = 94, /*< nick=NotSupported >*/
+ QMI_PROTOCOL_ERROR_NO_SUBSCRIPTION = 95, /*< nick=NoSubscription >*/
+ QMI_PROTOCOL_ERROR_CARD_CALL_CONTROL_FAILED = 96, /*< nick=CardCallControlFailed >*/
+ QMI_PROTOCOL_ERROR_NETWORK_ABORTED = 97, /*< nick=NetworkAborted >*/
+ QMI_PROTOCOL_ERROR_MSG_BLOCKED = 98, /*< nick=MsgBlocked >*/
+ QMI_PROTOCOL_ERROR_INVALID_SESSION_TYPE = 100, /*< nick=InvalidSessionType >*/
+ QMI_PROTOCOL_ERROR_INVALID_PB_TYPE = 101, /*< nick=InvalidPbType >*/
+ QMI_PROTOCOL_ERROR_NO_SIM = 102, /*< nick=NoSim >*/
+ QMI_PROTOCOL_ERROR_PB_NOT_READY = 103, /*< nick=PbNotReady >*/
+ QMI_PROTOCOL_ERROR_PIN_RESTRICTION = 104, /*< nick=PinRestriction >*/
+ QMI_PROTOCOL_ERROR_PIN2_RESTRICTION = 105, /*< nick=Pin1Restriction >*/
+ QMI_PROTOCOL_ERROR_PUK_RESTRICTION = 106, /*< nick=PukRestriction >*/
+ QMI_PROTOCOL_ERROR_PUK2_RESTRICTION = 107, /*< nick=Puk2Restriction >*/
+ QMI_PROTOCOL_ERROR_PB_ACCESS_RESTRICTED = 108, /*< nick=PbAccessRestricted >*/
+ QMI_PROTOCOL_ERROR_PB_TEXT_TOO_LONG = 109, /*< nick=PbTextTooLong >*/
+ QMI_PROTOCOL_ERROR_PB_NUMBER_TOO_LONG = 110, /*< nick=PbNumberTooLong >*/
+ QMI_PROTOCOL_ERROR_PB_HIDDEN_KEY_RESTRICTION = 111, /*< nick=PbHiddenKeyRestriction >*/
QMI_PROTOCOL_ERROR_CAT_EVENT_REGISTRATION_FAILED = 61441, /*< nick=Cat.EventRegistrationFailed >*/
QMI_PROTOCOL_ERROR_CAT_INVALID_TERMINAL_RESPONSE = 61442, /*< nick=Cat.InvalidTerminalResponse >*/
QMI_PROTOCOL_ERROR_CAT_INVALID_ENVELOPE_COMMAND = 61443, /*< nick=Cat.InvalidEnvelopeCommand >*/