Help setting up Quectel EM160R-GL modem

Hi,

I’m trying to use openwrt ROOTer software to setup my Quectel EM160R-GL modem. However i get the following errors

Thu Aug 11 10:59:36 2022 : /dev/ttyUSB2 AT+CGMM
EM160R-GL
OK
  
Thu Aug 11 10:59:38 2022 : /dev/ttyUSB2 AT+QNWPREFCFG="lte_band"
+QNWPREFCFG: "lte_band",1:2:3:4:5:7:8:12:13:14:18:19:20:25:26:28:29:30:32:38:39:40:41:42:43:46:48:66
OK
  
Thu Aug 11 10:59:38 2022 : /dev/ttyUSB2 AT+CGMM
EM160R-GL
OK
  
Thu Aug 11 10:59:40 2022 : /dev/ttyUSB2 AT+QNWPREFCFG="mode_pref"
+QNWPREFCFG: "mode_pref",AUTO
OK
  
Thu Aug 11 11:00:42 2022 : /dev/ttyUSB2 AT+QINDCFG="all",1
OK
  
Thu Aug 11 11:00:44 2022 : /dev/ttyUSB2 AT+COPS=3,2;+COPS?
+COPS: 0
OK
  
Thu Aug 11 11:00:45 2022 : /dev/ttyUSB2 AT+CGDCONT=?
+CGDCONT: (1-42),"IP",,,(0-3),(0-4),(0-1),(0-1)
+CGDCONT: (1-42),"PPP",,,(0-3),(0-4),(0-1),(0-1)
+CGDCONT: (1-42),"IPV6",,,(0-3),(0-4),(0-1),(0-1)
+CGDCONT: (1-42),"IPV4V6",,,(0-3),(0-4),(0-1),(0-1)
OK
  
Thu Aug 11 11:00:46 2022 : /dev/ttyUSB2 AT+CGDCONT?;+CFUN?
ERROR
  
Thu Aug 11 11:00:49 2022 : /dev/ttyUSB2 AT+CGDCONT=1,"IPV4V6","three.co.uk";+CFUN=4
ERROR
  
Thu Aug 11 11:00:50 2022 : /dev/ttyUSB2 AT+CFUN=1
OK
  
**Thu Aug 11 11:01:04 2022 : /dev/ttyUSB2 AT+CMGS=?;+CMGL=?;+CMGR=?**
**+CME ERROR: 14**
**  **
**Thu Aug 11 11:02:12 2022 : /dev/ttyUSB2 AT+CPBS="ON";+CPBS?**
**ERROR**
**  **
**Thu Aug 11 11:02:31 2022 : /dev/ttyUSB2 AT+CPBS="ON";+CPBS?**
**ERROR**
**  **
**Thu Aug 11 11:02:44 2022 : /dev/ttyUSB2 AT+CPBS="ON";+CPBS?**
**ERROR**

Can someone help in deciphering the above errors? I also get the same issue using Mikrotik CHR

It looks like your EM160R-GL firmware is intolerant of composite AT commands.

This is where AT commands are chained together with semi-colons, which replace all but the first “AT”.

The basic mechanism is shown in 3GPP 27.007, section 4.1.

Hi I’ve been able to solve the problem. The issue was the pcie adapter that didn’t provide a stable connection for the firmware update to work. I’ve since changed adapter and it worked perfectly