3G-4G/LTE Base Shield Setup QMI?

I’ve been working on setting up my RPI 4 with the 3G-4G/LTE Base Shield and Quectel EC25 following the instructions found here https://sixfab.com/qmi-interface-with-3g-4g-lte-base-shield-v2/ .

I am using a Twilio SIM card. The card is activated and verified by using my phone.

Here is the script:

pi@raspberrypi:~ $ cd /home/pi/files/quectel-CM
pi@raspberrypi:~/files/quectel-CM $ sudo ./quectel-CM -s wireless.twilio.com
[02-22_19:53:56:336] WCDMA&LTE_QConnectManager_Linux&Android_V1.1.45
[02-22_19:53:56:337] ./quectel-CM profile[1] = wireless.twilio.com///0, pincode = (null)
[02-22_19:53:56:338] Find /sys/bus/usb/devices/1-1.4 idVendor=2c7c idProduct=0125
[02-22_19:53:56:338] Find /sys/bus/usb/devices/1-1.4:1.4/net/wwan0
[02-22_19:53:56:338] Find usbnet_adapter = wwan0
[02-22_19:53:56:339] Find /sys/bus/usb/devices/1-1.4:1.4/usbmisc/cdc-wdm0
[02-22_19:53:56:339] Find qmichannel = /dev/cdc-wdm0
[02-22_19:53:56:374] cdc_wdm_fd = 7
[02-22_19:53:56:471] Get clientWDS = 19
[02-22_19:53:56:503] Get clientDMS = 1
[02-22_19:53:56:535] Get clientNAS = 3
[02-22_19:53:56:567] Get clientUIM = 1
[02-22_19:53:56:600] Get clientWDA = 1
[02-22_19:53:56:632] requestBaseBandVersion EC25AFAR05A04M4G
[02-22_19:53:56:759] requestGetSIMStatus SIMStatus: SIM_ABSENT
[02-22_19:53:56:759] requestSetProfile[1] wireless.twilio.com///0
[02-22_19:53:56:824] requestGetProfile[1] wireless.twilio.com///0
[02-22_19:53:56:857] requestRegistrationState2 MCC: 311, MNC: 480, PS: Detached, DataCap: UNKNOW
[02-22_19:53:56:888] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[02-22_19:53:56:952] requestRegistrationState2 MCC: 311, MNC: 480, PS: Detached, DataCap: UNKNOW
[02-22_19:54:02:009] requestRegistrationState2 MCC: 311, MNC: 480, PS: Detached, DataCap: UNKNOW
[02-22_19:54:07:064] requestRegistrationState2 MCC: 311, MNC: 480, PS: Detached, DataCap: UNKNOW
[02-22_19:54:12:121] requestRegistrationState2 MCC: 311, MNC: 480, PS: Detached, DataCap: UNKNOW
[02-22_19:54:17:177] requestRegistrationState2 MCC: 311, MNC: 480, PS: Detached, DataCap: UNKNOW

The SIM_ABSENT has me worried? I tried the SIM out of my phone and received the same message.

I’m fairly new to IoT projects, so make sure to dumb your answers down a hair for me!
Thank You

Hi,

There is an error

[02-22_19:53:56:759] requestGetSIMStatus SIMStatus: SIM_ABSENT

Please make sure the Sim is inserted correctly.
Also, check if the SIM holder pins are fine.

Could you share an image of the HAT without SIM inserted on it and an image of your complete setup?

Thanks for the quick response! Im fairly certain the SIM is insterted correctly. I dont see anything visibily wrong with the holder pins! This Base Shield is new as well, I received it about 2 weeks ago.
Thanks,
Tod

Hi,

Could you please open up minicom at 115200 baudrate and check out the response of AT+CPIN?

Same problem here. SIM is working fine in telephone AND in the shield last week. But now I suddenly get the SIM_ABSENT message upon starting quectel-CM -s. SIM slot contacts looks OK.

AT+CPIN? gives an ERROR Sim not present.

Any help would be highly appreciated. Could it be broken and should I return the shield for check-up?

BTW, just tried other SIM cards but same problem.

logs:
AT+CSQ
+CSQ: 11,99

OK
AT+CPIN?
+CME ERROR: 10
AT+COPS=?
+COPS: (1,“T-Mobile NL”,“TMO NL”,“20416”,0),(1,“NL KPN”,“NL KPN”,“20408”,0),(1,“vodafone NL”,“voda NL”,“20404”,0),(1)

OK

sudo ./quectel-CM -s smartsites.t-mobile -p 0816
[05-28_14:16:53:002] WCDMA&LTE_QConnectManager_Linux&Android_V1.1.45
[05-28_14:16:53:003] ./quectel-CM profile[1] = smartsites.t-mobile///0, pincode = 0816
[05-28_14:16:53:006] Find /sys/bus/usb/devices/1-1.2 idVendor=2c7c idProduct=0125
[05-28_14:16:53:006] Find /sys/bus/usb/devices/1-1.2:1.4/net/wwan0
[05-28_14:16:53:006] Find usbnet_adapter = wwan0
[05-28_14:16:53:006] Find /sys/bus/usb/devices/1-1.2:1.4/usbmisc/cdc-wdm0
[05-28_14:16:53:006] Find qmichannel = /dev/cdc-wdm0
[05-28_14:16:53:037] cdc_wdm_fd = 7
[05-28_14:16:53:136] Get clientWDS = 5
[05-28_14:16:53:169] Get clientDMS = 1
[05-28_14:16:53:200] Get clientNAS = 3
[05-28_14:16:53:232] Get clientUIM = 1
[05-28_14:16:53:264] Get clientWDA = 1
[05-28_14:16:53:296] requestBaseBandVersion EC25EFAR06A04M4G
[05-28_14:16:53:424] requestGetSIMStatus SIMStatus: SIM_ABSENT
[05-28_14:16:53:424] requestSetProfile[1] smartsites.t-mobile///0
[05-28_14:16:53:489] requestGetProfile[1] smartsites.t-mobile///0
[05-28_14:16:53:521] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:16:53:552] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[05-28_14:16:53:617] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:16:58:673] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:17:03:729] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:17:08:785] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:17:13:841] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:17:18:897] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:17:23:953] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:17:29:009] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:17:34:065] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:17:39:121] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:17:39:121] requestSetOperatingMode(1)
[05-28_14:17:39:152] requestSetOperatingMode(0)
[05-28_14:17:39:569] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
[05-28_14:17:39:953] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:17:39:985] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:17:44:593] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:17:49:650] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:17:54:705] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:17:59:761] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:18:04:817] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:18:09:873] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:18:14:929] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:18:19:985] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:18:25:041] requestRegistrationState2 MCC: 204, MNC: 8, PS: Detached, DataCap: UNKNOW
[05-28_14:18:25:041] requestSetOperatingMode(1)
[05-28_14:18:25:073] requestSetOperatingMode(0)

Hello,

A pin is broken there.
image

Did you force inserting/removing the SIM card?

Not that I’m aware of, I didn’t notice anything in particular. I did insert/remove several SIMs a couple of times though because I couldn’t get it to work. I reckon this cannot be fixed then. So I guess I’ll have to order a new one.

Hi, I seem to be receiving the same error message. Everything work first time round until I setup a new image and now both new HATs are showing the same error message.

Welcome to minicom 2.7.1

OPTIONS: I18n
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB3, 20:53:12

Press CTRL-A Z for help on special keys

AT
OK
AT+CSQ
+CSQ: 10,99

OK
ATI
Quectel
EC25
Revision: EC25AUFAR06A03M4G

OK


[06-16_21:15:09:859] WCDMA&LTE_QConnectManager_Linux&Android_V1.1.45
[06-16_21:15:09:859] ./quectel-CM profile[1] = internet///0, pincode = (null)
[06-16_21:15:09:862] Find /sys/bus/usb/devices/1-1.2 idVendor=2c7c idProduct=0125
[06-16_21:15:09:862] Find /sys/bus/usb/devices/1-1.2:1.4/net/wwan0
[06-16_21:15:09:862] Find usbnet_adapter = wwan0
[06-16_21:15:09:862] Find /sys/bus/usb/devices/1-1.2:1.4/usbmisc/cdc-wdm0
[06-16_21:15:09:862] Find qmichannel = /dev/cdc-wdm0
[06-16_21:15:09:879] cdc_wdm_fd = 7
[06-16_21:15:09:968] Get clientWDS = 20
[06-16_21:15:10:000] Get clientDMS = 1
[06-16_21:15:10:032] Get clientNAS = 4
[06-16_21:15:10:064] Get clientUIM = 1
[06-16_21:15:10:097] Get clientWDA = 1
[06-16_21:15:10:129] requestBaseBandVersion EC25AUFAR06A03M4G
[06-16_21:15:10:256] requestGetSIMStatus SIMStatus: SIM_ABSENT
[06-16_21:15:10:257] requestSetProfile[1] internet///0
[06-16_21:15:10:321] requestGetProfile[1] internet///0
[06-16_21:15:10:353] requestRegistrationState2 MCC: 505, MNC: 2, PS: Detached, DataCap: UNKNOW
[06-16_21:15:10:384] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[06-16_21:15:10:449] requestRegistrationState2 MCC: 505, MNC: 2, PS: Detached, DataCap: UNKNOW


Both SIMs work in the phone.

Pins are show no signs of damage.

Please helps