# AT+QENG

Query primary serving cell and neighbor cell information. The maximum response time is 300 ms.

### Test Command

```
AT+QENG=?
```

{% code title="Response" overflow="wrap" %}

```html
+QENG: (list of supported <cell_type>s)
```

{% endcode %}

### Serving Cell

Execute the below Command to query the serving cell information&#x20;

```
AT+QENG="servingcell"
```

{% code title="Response in LTE mode" overflow="wrap" %}

```html
+QENG: "servingcell",<state>,"LTE",<is_tdd>,<MCC>,<MNC>,<cellID>,<PCID>,<earfcn>,<freq_band_ind>,<UL_bandwidth>,<DL_bandwidth>,<TAC>,<RSRP>,<RSRQ>,<RSSI>,<SINR>,<CQI>,<tx_power>,<srxlev>
```

{% endcode %}

> Example:
>
> **mmcli -m 2 --command="AT+QENG=\\"servingcell\\""**
>
> +QENG: "LTE","FDD",460,00,81EF7D0,78,1300,3,5,5,1806,-68,-8,-38,15\
> +QENG: "NR5G-NSA", 460,00,570,-90,64,-11

{% code title="Response in WCDMA mode" overflow="wrap" %}

```html
+QENG: "servingcell",<state>,"WCDMA",<MCC>,<MNC>,<LAC>,<cellID>,<uarfcn>,<PSC>,<RAC>,<RSCP>,<ecio>,<phych>,<SF>,<slot>,<speech_code>,<comMod>
```

{% endcode %}

{% code title="Response in EN-DC mode" overflow="wrap" %}

```html
+QENG: "servingcell",<state> 
+QENG: "LTE",<is_tdd>,<MCC>,<MNC>,<cellID>,<PCID>,<earfcn>,<freq_band_ind>,<UL_bandwidth>,<DL_bandwidth>,<TAC>,<RSRP>,<RSRQ>,<RSSI>,<SINR>,<CQI>, <tx_power>,<srxlev> 
+QENG: "NR5G-NSA",<MCC>,<MNC>,<PCID>,<NR5G_RSRP>,<NR5G_SINR>,<NR5G_RSRQ>
```

{% endcode %}

### Neighbour Cell

Write Command Query the information of neighbor cell tower information.

```
AT+QENG="neighbourcell"
```

{% code title="Response In LTE mode" overflow="wrap" %}

```html
[+QENG: "neighbourcell intra","LTE",<earfcn>,<PCID>,<RSRQ>,<RSRP>,<RSSI>,<SINR>,<srxlev>,<cell_resel_priority>,<s_non_intra_search>,<thresh_serving_low>,<s_intra_search> ...]
[+QENG: "neighbourcell inter","LTE",<earfcn>,<PCID>,<RSRQ>,<RSRP>,<RSSI>,<SINR>,<srxlev>,<cell_resel_priority>,<threshX_low>,<threshX_high> ...]
[+QENG: "neighbourcell","WCDMA",<uarfcn>,<cell_resel_priority>,<thresh_Xhigh>,<thresh_Xlow>,<PSC>,<RSCP><ecno>,<srxlev> ...]
```

{% endcode %}

> Example:
>
> **mmcli -m 2 --command="AT+QENG=\\"neighbourcell\\""**
>
> +QENG: "neighbourcell intra","LTE",38950,276,-3,-88,-65,0,37,7,16,6,44\
> +QENG: "neighbourcell inter","LTE",39148,-,-,-,-,-,37,0,30,7,-,-,-,-\
> +QENG: "neighbourcell inter","LTE",37900,-,-,-,-,-,0,0,30,6,-,-,-,-

{% code title="Response in WCDMA mode" overflow="wrap" %}

```html
[+QENG: "neighbourcell","WCDMA",<uarfcn>,<srxqual>,<PSC>,<RSCP>,<ecno>,<set>,<rank>,<srxlev> ...]
[+QENG: "neighbourcell","LTE",<earfcn>,<cellID>,<RSRP>,<RSRQ>,<s_rxlev> ...]
```

{% endcode %}

### Parameters

"-" or - indicates the parameter is invalid under the current condition.

<table><thead><tr><th width="173.33333333333331">Parameter</th><th width="186">String</th><th>Description</th></tr></thead><tbody><tr><td>&#x3C;celltype></td><td>"servingcell"<br>"neighbourcell"</td><td>The information of 3G/4G/5G serving and neighbour cell towers.</td></tr><tr><td>&#x3C;state></td><td>"SEARCH"</td><td>Searching but could not (yet) find a suitable cell.</td></tr><tr><td></td><td>"LIMSRV"</td><td>Camping on a cell but has not registered.</td></tr><tr><td></td><td>"NOCONN"</td><td>Camping on a cell has registered on the network, and it is in idle mode.</td></tr><tr><td></td><td>"CONNECT"</td><td>Camping on a cell and registered on the network, a call is in progress.</td></tr><tr><td>&#x3C;is_tdd></td><td>"TDD" &#x26; "FDD"</td><td>The LTE network mode.</td></tr><tr><td>&#x3C;MCC></td><td>Number format</td><td>Mobile Country Code (first part of the PLMN code). </td></tr><tr><td>&#x3C;MNC></td><td>Number format</td><td>Mobile Network Code (second part of the PLMN code). </td></tr><tr><td>&#x3C;LAC></td><td>Integer type</td><td>Location Area Code. The parameter determines the two bytes' location area code in hexadecimal format (e.g., 00C1 equals 193 in decimal) of the scanned cell. Range: 0–65535.</td></tr><tr><td>&#x3C;cellID></td><td>Cell tower ID</td><td>The parameter determines the 16-bit (GSM) or 28-bit (UMTS) cell ID, which range is 0–0xFFFFFFF.</td></tr><tr><td>&#x3C;PCID></td><td>Number format</td><td>Physical cell ID.</td></tr><tr><td>&#x3C;uarfcn></td><td>UTRA-ARFCN</td><td>The parameter determines the UTRA-ARFCN of the cell that was scanned.</td></tr><tr><td>&#x3C;earfcn></td><td>E-UTRA-ARFCN</td><td>The parameter determines the E-UTRA-ARFCN of the cell that was scanned.</td></tr><tr><td>&#x3C;freq_band_ind></td><td>E-UTRAN bands</td><td>E-UTRA frequency band (see 3GPP 36.101)</td></tr><tr><td>&#x3C;UL_bandwidth></td><td>Integer type</td><td><p>UL bandwidth.</p><p>0 -- 1.4 MHz</p><p>1 -- 3 MHz</p><p>2 -- 5 MHz</p><p>3 -- 10 MHz</p><p>4 -- 15 MHz</p><p>5 -- 20 MHz</p></td></tr><tr><td>&#x3C;DL_bandwidth></td><td>Integer type</td><td><p>DL bandwidth.</p><p>0 -- 1.4 MHz</p><p>1 -- 3 MHz</p><p>2 -- 5 MHz</p><p>3 -- 10 MHz</p><p>4 -- 15 MHz</p><p>5 -- 20 MHz</p></td></tr><tr><td>&#x3C;TAC></td><td>Number format</td><td>Tracking Area Code<br>See 3GPP 23.003 Section 19.4.2.3</td></tr><tr><td>&#x3C;PSC></td><td>Number format</td><td>The parameter determines the primary scrambling code of the cell that was scanned.</td></tr><tr><td>&#x3C;RAC></td><td>Integer type</td><td>Routing Area Code. Range: 0–255.</td></tr><tr><td>&#x3C;RSCP></td><td>Number format</td><td>The parameter determines the Received Signal Code Power level of the scanned cell.</td></tr><tr><td>&#x3C;ecio></td><td>Number format</td><td>Carrier to noise ratio in dB = measured Ec/Io value in dB.</td></tr><tr><td>&#x3C;RSRP></td><td>Negative number</td><td><p>Indicates the signal of <strong>Reference Signal Received Power</strong> in both LTE and 5G-NR modes.</p><p><em>Range: -140 to -44 dBm.</em> </p><p><em>The closer to -44, the better the signal is. The closer to -140, the worse the signal is.</em></p></td></tr><tr><td>&#x3C;RSRQ></td><td>Negative number</td><td><p>Indicates the signal of <strong>Reference Signal Received Quality</strong> in both LTE and 5G modes.</p><p><em>Range: -20 to -3 dB.</em></p><p><em>The closer to -3, the better the signal is. The closer to -20, the worse the signal is.</em></p></td></tr><tr><td>&#x3C;RSSI></td><td>Number format</td><td>Received Signal Strength Indication. LTE only.</td></tr><tr><td>&#x3C;SINR></td><td>Number format</td><td><p>Indicates <strong>Signal-to-Interface plus Noise Ratio</strong>. </p><p>The conversion formula for actual SINR is</p><p><em>Y = (1/5) × X × 10 - 20</em></p><p>(X is the value queried by AT+QENG, and Y is the SINR value). </p><p>Range: -20 to 30 dB.</p></td></tr><tr><td>&#x3C;CQI></td><td>Integer type</td><td>Channel Quality Indication. Range: 1–30.</td></tr><tr><td>&#x3C;tx_power></td><td>Number format</td><td>TX power value in 1/10 dBm. It is the maximum of all UL channel TX power. The &#x3C;tx_power> value is only meaningful when the device is in traffic.</td></tr><tr><td>&#x3C;phych></td><td>Integer type</td><td><p>Physical channel.</p><p>0 -- DPCH</p><p>1 -- FDPCH</p></td></tr><tr><td>&#x3C;SF></td><td>Integer type</td><td><p>They are spreading factor.</p><p>0 -- SF_4</p><p>1 -- SF_8</p><p>2 -- SF_16</p><p>3 -- SF_32</p><p>4 -- SF_64</p><p>5 -- SF_128</p><p>6 -- SF_256</p><p>7 -- SF_512</p><p>8 -- UNKNOWN</p></td></tr><tr><td>&#x3C;slot></td><td>Integer type</td><td><p>Slot format.<br>0–16 for DPCH</p><p>0–9 for FDPCH</p></td></tr><tr><td>&#x3C;speech_code></td><td>Number format</td><td>Destination number on which call is to be deflected.</td></tr><tr><td>&#x3C;comMod></td><td>Number format</td><td><p>Compress mode.</p><p>0 -- Not support compress mode</p><p>1 -- Support compress mode</p></td></tr><tr><td>&#x3C;srxqual></td><td>Number format</td><td>The receiver automatically gains control of the camped frequency.</td></tr><tr><td>&#x3C;ecno></td><td>Number format</td><td>Carrier to noise ratio in dB = measured Ec/Io value in dB.</td></tr><tr><td>&#x3C;set></td><td>Integer type</td><td><p>3G neighbor cell set.</p><p>1 -- Active set</p><p>2 -- Synchronous neighbor set</p><p>3 -- Asynchronous neighbor set</p></td></tr><tr><td>&#x3C;rank></td><td>Number format</td><td>The rank of this cell as a neighbor for inter-RAT cell reselection.</td></tr><tr><td>&#x3C;srxlev></td><td>Number format</td><td>Suitable receive level for inter frequency cell.</td></tr><tr><td>&#x3C;threshX_low></td><td>-</td><td>To be considered for reselection. An evaluated lower-priority cell's suitable receive level value must be greater than this value.</td></tr><tr><td>&#x3C;threshX_high></td><td>-</td><td>To be considered for reselection. An evaluated higher-priority cell's suitable receive level value must be greater than this value.</td></tr><tr><td>&#x3C;thresh_Xhigh></td><td>-</td><td>Reselection threshold for high priority layers.</td></tr><tr><td>&#x3C;thresh_Xlow></td><td>-</td><td>Reselection threshold for low priority layers.</td></tr><tr><td>&#x3C;cpich_rscp></td><td>-</td><td>The absolute power level of the common pilot channel as received by the UE in dBm ×10.</td></tr><tr><td>&#x3C;cpich_ecno></td><td>-</td><td>The ratio of the received energy per PN chip for the common pilot channel to the total received power spectral density at the UE antenna connector in dB × 10.</td></tr><tr><td>&#x3C;srxlev></td><td>-</td><td>Select receive level value for base station in dB.</td></tr><tr><td>&#x3C;cell_resel_priority></td><td>Number format</td><td>Cell reselection priority. Range: 0–7.</td></tr><tr><td>&#x3C;s_non_intra_search></td><td>-</td><td>Threshold to control non-intra frequency searches.</td></tr><tr><td>&#x3C;thresh_serving_low></td><td>-</td><td>Specifies the suitable receive level threshold (in dB) used by the UE on the serving cell when reselecting towards a lower priority RAT/frequency.</td></tr><tr><td>&#x3C;s_intra_search></td><td>-</td><td>Cell selection parameter for the intra frequency cell.</td></tr></tbody></table>
