# Issue in connecting QUECTEL RM502Q-AE to LTE network

Source: https://forum.modalai.com/topic/2222/issue-in-connecting-quectel-rm502q-ae-to-lte-network
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2023-06-05 07:28:49 UTC by IFTEKHAR HASAN
Replies: 8 · Views: 2011

## IFTEKHAR HASAN · 2023-06-05 07:28:49 UTC

We have a modal AI Voxl2 with  QUECTEL RM502Q-AE and I am trying to connect it to our LTE network . ON QUECTEL RM502Q-AE datasheet, it shows support for both 5G & 4G and we want drone to connect to LTE B4 which is supported. We used below AT command to set LTE only mode and configured custom APN for quectel modem from the selection using voxl-configure-modem

![d7f7f35d-42c6-49de-94d5-631b20a95101-image.png](https://forum.modalai.com/assets/uploads/files/1685949857743-d7f7f35d-42c6-49de-94d5-631b20a95101-image.png) echo -ne "AT+QNWPREFCFG=\"mode_pref\",LTE\r" | busybox microcom /dev/ttyUSB2

On the network side, I didn't notice any LTE connection attempt. Is this the correct procedure to configure modem to LTE only  for QUECTEL RM502Q-AE?

Another question is that in your forum, it shows LTE connectivity through V2 add on board . Does it mean QUECTEL RM502Q-AE doesn't support LTE ?

## Reply by Vinny (ModalAI staff) · 2023-06-05 21:39:11 UTC

Hi @IFTEKHAR-HASAN 
I am from HW, so I cannot comment on the SW issues you have, but I can clarify the notations we use.
When we specify a modem as being "4G" or "5G", that is it's highest rated radio link connection.
All 5G radios can support many 4G modes (and 3G modes) up to their specifications as shown in the module specs.
https://www.quectel.com/product/5g-rm50xq-series

All 4G modems also support many 3G bands.
https://www.sierrawireless.com/iot-modules/smart-modules/

Hope this helps explain that for you.

## Reply by IFTEKHAR HASAN · 2023-06-06 03:39:27 UTC (in reply to Vinny)

@Vinny thank you Vinny. I appreciate your response and it does clarify the doubt.

## Reply by IFTEKHAR HASAN · 2023-06-06 03:45:55 UTC

I looked at the data set and it does support LTE B4 . I do see the device is getting an IP address on LTE B4 but not successful in setting up LTE session ( no bearer setup) and instead tries to measure 5G network for 5G NSA connectivity. We don't want Quectel modem to search for any 5G network and our test setup requires 4G network . I tried to set mode to LTE only using below AT command from the adb shell window but the modem still tries to connect to 5G network and not completing LTE session setup( no bearer setup happened) . 

echo -ne "AT+QNWPREFCFG="mode_pref",LTE\r" | busybox microcom /dev/ttyUSB2

How can I make the quectel 502Q-AE modem to only connect to LTE

## Reply by Eric Katzfey (ModalAI staff) · 2023-06-06 15:16:22 UTC (in reply to IFTEKHAR HASAN)

@IFTEKHAR-HASAN I think you'll have to try to find that in the Quectel documentation. I would imagine that it is some AT command or sequence of AT commands that would do that for you.

## Reply by Eric Katzfey (ModalAI staff) · 2023-06-06 15:47:01 UTC (in reply to IFTEKHAR HASAN)

@IFTEKHAR-HASAN Take a look at this script: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-modem/-/blob/master/scripts/only-band-3-lte.sh. This was used to force a Sierra Wireless cellular modem into Band 3 LTE only mode.

## Reply by tom (ModalAI staff) · 2023-06-06 17:04:21 UTC

@IFTEKHAR-HASAN I would also try upgrading to a newer version of voxl-modem (1.0.4), grabbing from here: http://voxl-packages.modalai.com/dists/qrb5165/staging/binary-arm64/voxl-modem_1.0.4_arm64.deb

There have been some updates to the `quectel-CM` source since our last platform release

## Reply by IFTEKHAR HASAN · 2023-06-09 13:48:35 UTC (in reply to tom)

@tom thank you for your response. I think I have newer image 

system-image: 1.4.1-M0054-14.1a-perf
kernel:       #1 SMP PREEMPT Thu Oct 13 17:48:16 UTC 2022 4.19.125
--------------------------------------------------------------------------------
hw version:   M0054
--------------------------------------------------------------------------------
voxl-suite:   0.9.4
--------------------------

## Reply by tom (ModalAI staff) · 2023-06-09 16:59:25 UTC (in reply to IFTEKHAR HASAN)

@IFTEKHAR-HASAN It appears as though you're on SDK 0.9. Since then we've released SDK 0.9.5.

However, I'd recommend loading an even newer voxl-modem package from here:
http://voxl-packages.modalai.com/dists/qrb5165/staging/binary-arm64/voxl-modem_1.0.4_arm64.deb

This one hasn't made it into an official SDK release yet but contains the quectel-CM updates I mentioned earlier.
