---
title: "Pico LTE troubleshooting"
description: "Debug mode, AT commands, slow connections, network registration, GPS fix, example application errors and CME error codes of the Pico LTE and its SDK."
url: "https://docs.sixfab.com/cellular/pico-lte/troubleshooting/"
last_updated: "2026-10-12"
---

# Pico LTE troubleshooting

Debug mode, AT commands, slow connections, network registration, GPS fix, example application errors and CME error codes of the Pico LTE and its SDK.

Debug output, AT commands, network registration, application errors and error codes of the Pico LTE and the Pico LTE SDK.

## Turn on debug mode

With debug mode on, the SDK prints detailed output while your program runs:

```python
from pico_lte.common import debug

debug.set_level(0)
```

## Send AT commands

AT commands read the state of the LTE module. Send one from your program:

```python
from pico_lte.utils.atcom import ATCom

# Instantiate the ATCom object
atcom = ATCom()

# Send the AT command to the module
at_command = "AT+CSQ"
response = atcom.send_at_comm(at_command)

# Print the response of the module
print(response)
```

To put a `"` in a command, write the string between single quotes, or escape the quote with a backslash:

```python
at_command = 'AT+QIOPEN=0,0,"TCP","000.000.000.000",0,0,0'
at_command = "AT+QIOPEN=0,0,\"UDP SERVICE\",\"000.000.000.000\",0,0,0"
```

The parameters of `send_at_comm()`; only `command` is required:

| Parameter | Type | Use |
| --- | --- | --- |
| `command` | str | The AT command. Positional: `send_at_comm("AT")`. |
| `desired` | str or list, default None | Phrases that mean success: if one is in the response, the function returns `SUCCESS`. |
| `fault` | str or list, default None | Phrases that mean failure: if one is in the response, the function returns `ERROR`. For example `send_at_comm("AT+CREG?", desired=["+CREG: 0,1", "+CREG: 0,5"], fault="+CREG: 0,2")`. |
| `timeout` | int, default 5 | Seconds to wait for the response. |
| `line_end` | bool, default True | Appends `\r` to the command. |
| `urc` | bool, default False | Receives unsolicited result codes (URCs), messages that do not answer a command. Needed for `AT+QHTTPPOST`, `AT+QHTTPGET`, `AT+QHTTPPUT`, `AT+QHTTPREAD` and `AT+QHTTPURL`, and to send request headers and bodies without AT commands. |

> [!NOTE]
> `{'response': 'timeout', 'status': 2}` means the LTE module is off: press the PWRKEY button to turn it on. The status LED starts blinking.

Useful commands:

| Command | Use | Example |
| --- | --- | --- |
| `AT+CMEE` | Turns extended error reporting on or off: detailed error codes. | `AT+CMEE=1` |
| `AT+CREG` | The network registration status. | `AT+CREG?` |
| `AT+CSQ` | The signal quality and the received signal strength (RSSI). | `AT+CSQ` |
| `AT+QNWINFO` | The registered network, such as its MCC (mobile country code) and MNC (mobile network code). | `AT+QNWINFO` |
| `AT+CGACT` | Activates or deactivates a PDP context for data. | `AT+CGACT=1,1` |
| `AT+CGATT` | Attaches the module to, or detaches it from, the packet data service. | `AT+CGATT=1` |
| `AT+COPS` | Selects the operator, automatically or manually. | `AT+COPS=0` (automatic) |
| `AT+CGPADDR` | The IP address of a PDP context. | `AT+CGPADDR=1` |

All commands: the AT commands manual in the [module documents](https://docs.sixfab.com/cellular/pico-lte/hardware-reference/#module-documents).

## The connection takes long

The BG95-M3 connects over LTE-M (eMTC) and GSM; NB-IoT is disabled. By default it scans eMTC, then NB-IoT, then GSM: where eMTC is not available, it falls back to GSM, which can take long. Set the scan sequence to shorten it; the setting is saved in the module, so it is needed once:

```python
from pico_lte.utils.atcom import ATCom
from pico_lte.modules.base import Base

atcom = ATCom()
base = Base(atcom)

"""
Scan sequence (default 00):
* 00 --> Automatic (eMTC, NB-IoT, GSM)
* 01 --> GSM first
* 02 --> eMTC first
"""
response = base.config_network_scan_sequence("01")

print(response)
```

## The board does not register on the network

`+CREG: 0,2`, from your program or `AT+CREG?`, means the board is not registered:

- The first registration can take longer, up to 5 minutes.
- In Sixfab Connect, check that the asset is **Active** and that the account balance is sufficient.

## The GPS fix takes long

A fix usually takes a few minutes, depending on the antenna and the position of the board; under open sky it is much faster.

## Example applications

The examples list their own errors and fixes:

- [Connect Pico LTE to AWS IoT Core](https://docs.sixfab.com/cellular/pico-lte/micropython-sdk/aws-iot-core/#troubleshooting): endpoint, topic, policy and certificates.
- [GPS data](https://docs.sixfab.com/cellular/pico-lte/micropython-sdk/send-gps-data-web-server-or-telegram/#troubleshooting): `+CME ERROR: 516` and `504`.
- [HTTP requests](https://docs.sixfab.com/cellular/pico-lte/micropython-sdk/http-requests-web-server/#troubleshooting): `+CME ERROR: 703` and `712`.
- [MQTT](https://docs.sixfab.com/cellular/pico-lte/micropython-sdk/mqtt-publish-subscribe/#troubleshooting): timeouts with QoS 0.
- [Telegram](https://docs.sixfab.com/cellular/pico-lte/micropython-sdk/send-message-telegram/#troubleshooting): no chat ID from `/getUpdates`.

## CME error codes

`+CME ERROR: <err>` reports an error of the module or the network. Like `ERROR`, it stops the rest of the command line. `AT+CMEE` sets the format of `<err>`, numeric or verbose. Common codes:

| Code | Meaning |
| --- | --- |
| 3 | Operation not allowed |
| 4 | Operation not supported |
| 30 | No network service |
| 31 | Network timeout |
| 103 | Memory full, cannot store entry |
| 106 | Undefined error |
| 107 | Unsupported operation |
| 111 | Invalid text string length |
| 160 | SIM not ready after reset |
| 171 | SIM busy |
| 172 | SIM wrong |
| 193 | SIM not ready |
| 194 | SIM not ready after reset |
| 300 | ME failure |
| 302 | Operation not allowed |
| 303 | Operation not supported |
| 304 | Invalid PDU mode |
| 305 | Invalid text mode |
| 310 | (U)SIM not inserted |
| 313 | (U)SIM failure |
| 314 | (U)SIM busy |
| 315 | (U)SIM wrong |
| 320 | Memory failure |
| 331 | No network |
| 332 | Network timeout |
| 382 | Phone failure |
| 500 | Unknown |
| 512 | (U)SIM not ready |
| 513 | SIM busy |
| 517 | Invalid service mode |
| 703 | HTTP(S) busy |
| 705 | HTTP(S) no GET/POST/PUT requests |
| 706 | HTTP(S) network busy |
| 710 | HTTP(S) network error |
| 711 | HTTP(S) URL error |
| 714 | HTTP(S) DNS error |

The BG95 has more codes: see the AT commands manual in the [module documents](https://docs.sixfab.com/cellular/pico-lte/hardware-reference/#module-documents).

## The Pico does not respond

If no other way reaches the Pico, erase its flash: copy the flash reset UF2 file from the [Raspberry Pi documentation](https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html#resetting-flash-memory) to the Pico in BOOTSEL mode. It deletes every file, MicroPython included: [install MicroPython](https://docs.sixfab.com/cellular/pico-lte/quickstart/#micropython) and the SDK again.
