> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/datran/datran-telemetry/cm910-cellular-modem/troubleshooting/sms-direct-cannot-initialise.md).

# SMS Direct can't initialise the CM910

DATRAN SMS Direct keeps retrying because the LE910 module isn't set up for New Zealand or Australian networks.

To use an LE910 module in New Zealand the Telit modem must be reconfigured for use on Spark, Vodafone and 2 Degrees. To use an LE910 module in Australia the Telit modem must be reconfigured for use on Telstra or Optus networks. Check its network configuration and set it with one AT command.

{% hint style="info" %}
**Applies to:** CM910s with an LE910C1-AP modem module and modem firmware M0F.280010. If the firmware version isn't M0F.280010, no change is required: for example, M0F.280006 does not require the config change.
{% endhint %}

## What you see

* CM910 Modem initialisation times out and Datran keeps retrying.
* In a terminal program, sending an SMS gives `+CMS ERROR: 331` (no network service), for example.

## Why it happens

At the time of writing (2022) the modules are shipped ex factory with Firmware: MOF.28.0010 (aka rev 10) and Default Network Configuration: 10.

## Check and set the network configuration

You need a PC running Microsoft Windows, a Type A-B USB cable, a terminal emulator such as PuTTY, a valid SIM and the antenna. Whilst the module can be reconfigured for the country of use, it cannot be fully tested unless there is access to the appropriate cellular network for that country.

### Connect to the modem

1. Fit the SIM card and antenna, and power up the CM910.
2. Connect it to the PC with the USB cable. Do not attempt to communicate with the device until Windows has fully installed the USB drivers for the modem. It may take several minutes.
3. Open the Windows Device Manager. Scroll down to the **Ports (COM & LPT)** category, expand it, then note the virtual COM port number of the USB connection to the modem.
4. In PuTTY, open a serial connection to that COM port. Use the baud rate of 115200, other values are default (8,n,1). In settings you may wish to force local echo on.
5. Type `AT` and press Enter until the modem replies `OK`.
6. Type `ATE0`. The response `OK` turns character echo off for ease of reading.

### Check the firmware and configuration

1. Type `AT+CGMR`. If the reply isn't `M0F.280010`, you don't need to change anything.
2. Type `AT#FWSWITCH?` and compare the reply:

| Reply               | Meaning                     | What to do                 |
| ------------------- | --------------------------- | -------------------------- |
| `#FWSWITCH: 10,0,0` |                             | Reconfigure it (next step) |
| `#FWSWITCH: 14,0,0` | Already set for New Zealand | Nothing                    |
| `#FWSWITCH: 11,0,0` | Already set for Australia   | Nothing                    |

Only reconfigure the modem if it's set for the wrong country.

### Set the network configuration

1. Type the command for your country:
   * New Zealand (Spark, Vodafone and 2degrees): `AT#FWSWITCH=14,0,0`
   * Australia (Telstra or Optus): `AT#FWSWITCH=11,0,0`
2. The modem saves the new value and reboots. The LE910 light goes off and eventually returns to the flashing state.
3. Type `AT` and `ATE0` again, then `AT#FWSWITCH?`. The response should now match the network your SIM is for.

## Still not working? Contact QTech

Have ready the replies to `AT+CGMR` and `AT#FWSWITCH?`, and any CMS error number. Then email <techsupport@qtech.co.nz>.
