sync with libqmi-glib
[project/uqmi.git] / data / qmi-service-nas.json
index 49d5088..f5a3930 100644 (file)
                                         "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",
      "service" : "NAS",
                       "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",
      "service" : "NAS",