Getting SIM card missing error even when SIM card is present

Hi ,
We are using EM12-G model LTE module in our project with a linux based jetson carriedboard. The drivers are loading successfully . We verified this with the lsusb command
:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 10000M
|__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=option, 5000M
|__ Port 1: Dev 3, If 1, Class=Vendor Specific Class, Driver=option, 5000M
|__ Port 1: Dev 3, If 2, Class=Vendor Specific Class, Driver=option, 5000M
|__ Port 1: Dev 3, If 3, Class=Vendor Specific Class, Driver=option, 5000M
|__ Port 1: Dev 3, If 4, Class=Communications, Driver=cdc_mbim, 5000M
|__ Port 1: Dev 3, If 5, Class=CDC Data, Driver=cdc_mbim, 5000M
But when a SIM card is connected , the connection seems to be erratic. Once I got the sim card connected status.
At that time I am able to ping the internet .
But after that When I remove and connect the SIm card again , I am unable to get the SIM connected state, whereas I get SIM MISSING.After that I get only SIM missing status, even when I delete the connection and add it back again .
sim-missing-failed-status
The steps I follow to add a network profile in linux is

sudo nmcli con add type gsm ifname cdc-wdm0 con-name LTE_profile apn jionet
sudo mmcli -m 0
We are using a W3907XXXX part antenna . Connected to the M slot of the Module.
I am able to sucessfully get the IMEI number from the module through AT commands. (AT+CGSN)
Is there is any similar command to check the SIM card detection ? Also any other steps for debugging would be helpful.

Thanks in advance.

Hi,
Thanks for your query in Quectel forums.
You can send AT+CPIN? through the serial port to check the status of the SIM card.
Thanks.