# Quectel BG95 BG96 BG77 extended configuration settings

{% hint style="info" %}
This documentation applies to the following products:

* OmniSIM
* Quectel BG95 BG96 BG77

For all other products, please review their respective documentation
{% endhint %}

## Advised settings <a href="#h_01gv3v65b8qj3g4vh7kdbse22f" id="h_01gv3v65b8qj3g4vh7kdbse22f"></a>

### The following settings are advised for non-NB-IoT markets:

#### Ensures LTE and GSM scanning

```
AT+QCFG="nwscanmode",0
```

#### Ensures LTE scanning first

```
AT+QCFG="nwscanseq",020103
```

#### Ensures no NB-IoT scanning

```
AT+QCFG="iotopmode",0
```

### The following settings are generally advised:

#### Ignores SIM preference

```
AT+QCFG="simeffect",0
```

#### PS + CS to support legacy SMS

```
AT+QCFG="servicedomain",2
```

{% hint style="info" %}
These settings are persistent and will remain after the module's power cycling.

As the settings are persistent, it is advised to check these regularly and properly document the setting and reasons for the setting.
{% endhint %}

Read the sections below to understand the above-advised settings.

## Introduction <a href="#h_01gv3r2p6ga7rbqhd1tqkejvh7" id="h_01gv3r2p6ga7rbqhd1tqkejvh7"></a>

Quectel offers extended configuration settings for the BG series of modules using the **AT+QCFG** commands. These settings may impact the proper working of the KORE OmniSIM.

Examples include:

* In some cases, the attach time of the KORE OmniSIM Reach may be impacted by the fact that the module scans all the NB-IoT bands.
* A network combined attach is necessary for proper legacy SMS support.

{% hint style="info" %}
This note is intended is to provide some best practices of the most common used QCFG commands.
{% endhint %}

## Background <a href="#h_01gv3st8asb0g1d8vhqyx5h97c" id="h_01gv3st8asb0g1d8vhqyx5h97c"></a>

Scanning NB-IoT bands can consume a lot of time, especially when NB-IoT is unavailable locally. During that scan period, the module can be busy and not be responsive for renewing IMSIs as requested by the SIM. This does not affect the Multi IMSI selection process, as the SIM is not getting information from the module, it will wait with switching IMSI, but it will extend the time it takes to attach.

It could be the case that the module accepts new IMSIs from the SIM but cannot start an attach as the scan time is too long.

SMS is supported worldwide by C7 signaling, often called Circuit Switched. The device must request Packet Switched + Circuit Switched connection to force a combined network attach to support C7 signaling.

## Checking the settings <a href="#h_01gv3stg7td990h1sdrtw2vk1t" id="h_01gv3stg7td990h1sdrtw2vk1t"></a>

### Scan mode <a href="#h_01gv3stqxqrt22q11m6y9457ry" id="h_01gv3stqxqrt22q11m6y9457ry"></a>

Check using the following AT command:

```
AT+QCFG="nwscanmode"
```

The module will reply with one of the following modes:

```
0. Automatic (GSM and LTE)
1. GSM only
2. n/a
3. LTE only
```

Depending on the market or region, it may be advised to set the scan mode to GSM only or LTE only.

**Example:** All 2G and 3G networks will be shut down in the USA at the end of 2022. GSM scanning is of no use.

{% hint style="warning" %}
**Note:** New scan mode is not applicable for BG77 (LTE only).
{% endhint %}

### Scan Sequence <a href="#h_01gv3sv2yfqpvs5h4er6bma9hk" id="h_01gv3sv2yfqpvs5h4er6bma9hk"></a>

Check using the following AT command:

```
AT+QCFG="nwscanseq"
```

The module will reply with one of the following modes:

```
00. Automatic (eMTC -> NB-IoT -> GSM)
01. GSM
02. eMTC
03. NB-IoT
```

{% hint style="info" %}
Depending on the market, it may be advised to set the scanning order.&#x20;

NB-IoT scanning always takes more time. However, if NB-IoT is preferred, it is advised to set the order accordingly.
{% endhint %}

### Scanning NB-IoT <a href="#mcetoc_1h854knj01v" id="mcetoc_1h854knj01v"></a>

Check using the following AT command.

```
AT+QCFG="iotopmode"
```

The module will reply with one of the following modes:

```
0. eMTC
1. NB-IoT
2. eMTC and NB-IoT
```

{% hint style="info" %}
As NB-IoT scanning takes more time, it is advised to disable NB-IoT scanning in markets where NB-IoT is not available.
{% endhint %}

### Preferred Access Technology <a href="#h_01gv3tvyy8fmf3v5n4n4hmxr0d" id="h_01gv3tvyy8fmf3v5n4n4hmxr0d"></a>

Check using the following AT command.

**AT+QCFG="simeffect"**

```
AT+QCFG="simeffect"
```

The module will reply with one of the following modes:

```
0. Disable
1. Enable
```

{% hint style="info" %}
KORE OmniSIM is not equipped with any access technology preference. However, to avoid confusion, it is advised to disable this feature
{% endhint %}

### Legacy SMS support <a href="#h_01gv3tw6dc1rh7rsv56mcszp6f" id="h_01gv3tw6dc1rh7rsv56mcszp6f"></a>

Check using the following AT command.

```
AT+QCFG="servicedomain"
```

The module will reply with one of the following modes:

```
1. PS only
2. CS & PS
```

Although it sounds not logical to use PS+CS, it should be noted that this setting determines the back-end of the networks, not the radio access. This setting doesn’t force the device to use 2G/3G technology.

## Default settings <a href="#h_01gv3tves9xmpr1j9j4cew9met" id="h_01gv3tves9xmpr1j9j4cew9met"></a>

### BG77 - Default settings <a href="#h_01gv3v5dkfhbhm8z1ggn9knwcr" id="h_01gv3v5dkfhbhm8z1ggn9knwcr"></a>

<figure><img src="https://1960686577-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnkunA1wgmUD4t1WndMi%2Fuploads%2FsizMuCCsJCliJtMFmyHL%2Fimage.png?alt=media&#x26;token=a022b032-3570-4332-b51f-774c345ebbf0" alt="" width="183"><figcaption><p>Quectel BG77</p></figcaption></figure>

The following are the factory configuration setting of the BG77 module

<table><thead><tr><th>AT Command</th><th>Expected Result</th></tr></thead><tbody><tr><td><pre><code>AT+QCFG="nwscanmode"
</code></pre></td><td>+QCFG: "nwscanmode", ERROR</td></tr><tr><td><pre><code>AT+QCFG="nwscanseq"
</code></pre></td><td>+QCFG: "nwscanseq",00</td></tr><tr><td><pre><code>AT+QCFG="iotopmode"
</code></pre></td><td>+QCFG: "iotopmode",2</td></tr><tr><td><pre><code><strong>AT+QCFG="simeffect"
</strong></code></pre></td><td>+QCFG: "simeffect",1</td></tr><tr><td><pre><code><strong>AT+QCFG="servicedomain"
</strong></code></pre></td><td>+QCFG: "servicedomain",2</td></tr></tbody></table>

### BG95 M3 - Default settings  <a href="#h_01gv3v5nxha59djpcxc4r7c59x" id="h_01gv3v5nxha59djpcxc4r7c59x"></a>

<figure><img src="https://1960686577-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnkunA1wgmUD4t1WndMi%2Fuploads%2FWsKxZPMdQDODamcUGcTq%2Fimage.png?alt=media&#x26;token=6f6df24b-243b-4bd4-84ee-05bc5a9dca28" alt="" width="183"><figcaption><p>Quectel BG95-M3</p></figcaption></figure>

The following are the factory configuration setting of the BG95 module

<table><thead><tr><th>AT Command</th><th>Expected Result</th></tr></thead><tbody><tr><td><pre><code>AT+QCFG="nwscanmode"
</code></pre></td><td>+QCFG: "nwscanmode", 0</td></tr><tr><td><pre><code>AT+QCFG="nwscanseq"
</code></pre></td><td>+QCFG: "nwscanseq",00</td></tr><tr><td><pre><code>AT+QCFG="iotopmode"
</code></pre></td><td>+QCFG: "iotopmode",2</td></tr><tr><td><pre><code><strong>AT+QCFG="simeffect"
</strong></code></pre></td><td>+QCFG: "simeffect",1</td></tr><tr><td><pre><code><strong>AT+QCFG="servicedomain"
</strong></code></pre></td><td>+QCFG: "servicedomain",2</td></tr></tbody></table>

### BG96 - Default settings <a href="#h_01gv3v5wf7b0msz60vd9h6wttt" id="h_01gv3v5wf7b0msz60vd9h6wttt"></a>

<figure><img src="https://1960686577-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnkunA1wgmUD4t1WndMi%2Fuploads%2ForujoGQ7zNWREhdX1DOP%2Fimage.png?alt=media&#x26;token=6a4ec344-d640-4392-bf3a-9394bb303f43" alt="" width="183"><figcaption><p>Quectel BG96</p></figcaption></figure>

The following are the factory configuration setting of the BG96 module

<table><thead><tr><th>AT Command</th><th>Expected Result</th></tr></thead><tbody><tr><td><pre><code>AT+QCFG="nwscanmode"
</code></pre></td><td>+QCFG: "nwscanmode", 0</td></tr><tr><td><pre><code>AT+QCFG="nwscanseq"
</code></pre></td><td>+QCFG: "nwscanseq",00</td></tr><tr><td><pre><code>AT+QCFG="iotopmode"
</code></pre></td><td>+QCFG: "iotopmode",2</td></tr><tr><td><pre><code><strong>AT+QCFG="simeffect"
</strong></code></pre></td><td>+QCFG: "simeffect",ERROR</td></tr><tr><td><pre><code><strong>AT+QCFG="servicedomain"
</strong></code></pre></td><td>+QCFG: "servicedomain",2</td></tr></tbody></table>
