# Forcing 4G Only

Source: https://forum.modalai.com/topic/211/forcing-4g-only
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2021-04-26 18:56:48 UTC by Chuck Bokath
Replies: 2 · Views: 654

## Chuck Bokath · 2021-04-26 18:56:48 UTC

Hello,

Is there a way to force the LTE modem into only looking at 4G and below networks? Also, Is there any info/site/manual/info to script AT Cmds directed at the modem itself to get stats?

Thank You!
Chuck

## Reply by tom (ModalAI staff) · 2021-04-26 19:29:43 UTC

@Chuck-Bokath Here is a link to a download page for the AT commands available for the Sierra WP7610: https://source.sierrawireless.com/resources/airprime/software/airprime_wpx5xx_wp76xx_wp77xx_at_command_reference/#

And here is an example of how to call an AT command and read back output in a simple bash script. We use things like this as a quick way to monitor cellular coverage.

```
# AT Command for monitoring network coverage
#!/bin/bash
while true; do
	date
	echo -ne "AT+QENG=\"servingcell\"\r" | busybox microcom -t 1000 /dev/ttyUSB2
        echo -e "-----------------------------------------------------------------\n"
        sleep 5
done
```

## Reply by Chuck Bokath · 2021-04-26 21:54:43 UTC

Thanks you. I'll give it a try
