# Quectel CC660D-LS Satellite NTN Network

The Quectel CC660D-LS series supports IoT-NTN (satellite), It complies with 3GPP Release 17 standards, ensuring optimal performance for advanced IoT applications

![](https://3922449203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0mPxGpottOEfcucXOR%2Fuploads%2F93ICcZ8RskFbm9mDR6jj%2FQuectel-cc660d_module.png?alt=media\&token=e6f195fa-5411-425d-a59b-2a08c68db4be)

### Prerequisites

* Monogoto SIM
* &#x20;[CC660D-LS](https://www.quectel.com/product/cc660d-lbs-satellite-communication-module/?creative=\&keyword=\&matchtype=\&network=x\&device=c\&gad_source=1\&gclid=Cj0KCQiAgdC6BhCgARIsAPWNWH2Pp47q24jMAJ3lK1_kdgRP_hTyuox3TjkF4ULWn1q-_7WJ-GhkTjoaAvMdEALw_wcB)

## Set up EVB Kit

![Quectel BG770A-SN modem](https://3922449203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0mPxGpottOEfcucXOR%2Fuploads%2Fb37flmh13ghreSYZ5tUF%2FQuectel-cc660d-ls.png?alt=media\&token=5b86b0e7-8d77-419c-95f9-db2454df741b)

#### Set up the EVB Kit

* **Connect the LTE antenna** and <mark style="color:green;">**GPS antenna**</mark>
* Insert the **Monogoto SIM**

#### **Connect your PC to the EVB Kit**

Use the USB to UART converter cable to connect your computer to the **COM1 MAIN** port of the EVB Kit

{% hint style="info" %}
When using Windows, [install the driver](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0mPxGpottOEfcucXOR%2Fuploads%2FDiNf9oe2RoYtpFrVIA8L%2FUSBMSER.zip?alt=media\&token=18d8a2f5-8e8e-47d2-a553-ddc9fe7653cd) using the disk or USB stick provided by Quectel.
{% endhint %}

Connect to the EVB kit using a **terminal program**. You can use PuTTY for Windows, or Screen, minicom, or miniterm for Mac or Linux.

Once the modem has started, it will report:

```
RDY
APP RDY
```

Enter `AT`, if the connection with the CC660D-LS modem has been established, the board will answer with `OK`.

## Connect the CC660D-LS to Monogoto

{% hint style="info" %}
Keep the **AT Commands manual** next to you for more details about the commands. [**Click** ](https://www.quectel.com/wp-content/uploads/2021/03/Quectel_BG95BG77BG600L_Series_QCFG_AT_Commands_Manual_V2.0-1.pdf)**here** to download the latest version.
{% endhint %}

#### **Reset the modem** to its default configuration:

Restore factory settings:

```
AT&F1
```

**Set the error reporting to** **verbose**, resulting in more descriptive error messages (optional):

```bash
AT+CEREG=2
```

Check the **status of the SIM card**. The correct response should be: `+CPIN: READY`

```
AT+CPIN?
```

{% hint style="warning" %}
If you receive an error, the SIM may not be inserted properly or the SIM is protected with a PIN. By default, Monogoto SIMs are not PIN protected.
{% endhint %}

### Query device information

Request the **product type, hardware,** and **firmware** **version**:

<pre class="language-bash"><code class="lang-bash"><strong>ATI
</strong></code></pre>

Example response: \
Quectel\_Ltd \
Quectel\_CC660D-LS \
Revision: CC660DLSAAR01A01

Request the **IMSI** (International Mobile Subscriber Identity):

```
AT+CIMI
```

Request the **ICCID** (Integrated Circuit Card ID), which is the identification number of the SIM card

```bash
AT%CCID
```

### Network Configuration

It is possible to let the modem select the network automatically.

**Set the APN to** `data.mono`:

```json
AT+QCGDEFCONT="IP","data.mono"
```

**Lock the modem to a specific region/band**&#x20;

```
AT+QBAND=1,23
```

{% hint style="info" %}
Although the modem may support many different NTN bands,

Band 23 = Canada

band 255 = L band Global (Taiwan, Australia, New Zealand, Japan)

band 256 = S band Europe
{% endhint %}

**Send registration status**

```
AT+CEREG=2
```

**Set GPS location**

```bash
AT+QGNSSINFO=LATITUDE,LONGITUDE,ALTITUDE,SPEED,ACCURACY
```

{% hint style="info" %}
example&#x20;

AT+QGNSSINFO=33.998737,-84.095023,40,0,0
{% endhint %}

**Check the current network registration status**

```
AT+QENG=0
```

**Check the radio signal strength and signal quality:**

```bash
AT+CSQ
```

{% hint style="info" %}
`+CSQ` returns 2 values separated by a comma. The first value represents the **signal strength** and provides a value between 0 and 31; higher numbers indicate better signal strength. The second value represents the **signal quality** indicated by a value between 0 and 7. If `AT+CSQ` returns `99,99`, the signal is undetectable or unknown.
{% endhint %}

#### Validate if your device received an **IP address**:

```bash
AT+CGPADDR
```

Expected response: `+CGPADDR: 1,XX.XXX.XX.XXX`

{% hint style="success" %}
Do you see an IP address? **Congratulations! You’ve successfully connected the Quectel modem to Monogoto 🎉**
{% endhint %}

## Test the connection by sending UDP payload&#x20;

{% hint style="warning" %}
When using Non-Terrestrial Networks, data can only be sent using UDP.
{% endhint %}

In order to send data using UDP, 3 AT Commands needs to be sent:

1. **Create UDP socket**
2. **Send UDP data**
3. **Close UDP Socket**

### **1. Create UDP socket**&#x20;

```
AT+QIOPEN=1,0,"UDP","18.199.15.247",1055,1234,0
```

Example response:

<mark style="color:red;">`+QIOPEN:0,0`</mark>\ <mark style="color:red;">`AT+QISEND=0,2,12`</mark>

### **2. Send UDP data**&#x20;

```
AT+QISEND=0,11,Hello World
```

Example response:&#x20;

<mark style="color:red;">`OK`</mark>\ <mark style="color:red;">`SEND OK`</mark>

{% hint style="warning" %}
Make sure to exactly count the number of characters you send, or you will receive an error.
{% endhint %}

### **3. Close UDP socket**

End your UDP session by closing the UDP socket.

```
AT+QICLOSE=0
```

Expected response: <mark style="color:red;">`OK`</mark>

## Useful Links

* [Quectel CC660D-LS product page](https://www.quectel.com/product/cc660d-lbs-satellite-communication-module/)
* [Quectel CC660D-LS AT Command](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0mPxGpottOEfcucXOR%2Fuploads%2Fs1f8DsClZ8LsLeUz04Hy%2FQuectel_CC660D-LS_AT_Commands.pdf?alt=media\&token=957e43a3-053b-4dc9-98d4-5472b7cbbcb4)
* [Quectel CC660D-LS TCP/IP Application Note](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0mPxGpottOEfcucXOR%2Fuploads%2FRfcQUSqnmNWZdk7pd85M%2FQuectel_CC660D-LS_TCP\(IP\)_Application_Note_V1.0.pdf?alt=media\&token=374e0c98-059c-44e8-be3b-37fcbabc4a7a)
