Hi,
Hope you all doing great !
I am using M66 modem with ST microcontroller and I found a cellular stack in ST website which is desinged to talk with BG96. I did modifications in this stack to use it with M66. I am facing issues now with the network registration. I fail at AT+QICSGP. Below are debug output of my project. Could anyone please let me know where exactly I am going wrong.
*********** CST_init_state_mngt ********
CustClt: Wait for application code
SysCtrl_M66:Waiting 5500 millisec for modem running…
SysCtrl_M66:…done
ATParser:*** SEND (size=11) ***
AT+IFC=0,0
AT+IFC=0,0
OK
ATParser:*** SEND (size=3) ***
AT
AT
OK
M66:modem synchro established, proceed to normal power sequence
ATParser:*** SEND (size=5) ***
ATE0
ATE0
OK
ATParser:*** SEND (size=10) ***
AT+CMEE=2
OK
ATParser:*** SEND (size=5) ***
ATV1
OK
ATParser:*** SEND (size=6) ***
AT&D0
OK
ATParser:*** SEND (size=8) ***
AT+CGMR
Revision: M66FAR01A12BT
OK
ATParser:*** SEND (size=12) ***
AT+CFUN=0,0
+CPIN: NOT READY
OK
M66:>>>>> M66 mode and bands configuration <<<<<
M66:>>>>> … <<<<<
*********** CST_modem_sim_init ********
SysCtrl_M66:MODEM SIM SOCKET SELECTED
CST_modem_sim_init : check SIM First
ATParser:*** SEND (size=12) ***
AT+CFUN=4,0
OK
ATParser:*** SEND (size=9) ***
AT+QCCID
+CPIN: SIM PIN
89490200001242420845
OK
ATParser:*** SEND (size=12) ***
AT+QINISTAT
+QINISTAT: 1
M66:Modem SIM is ready
OK
M66:SIM is ready, unlock sequence
ATParser:*** SEND (size=9) ***
AT+CPIN?
+CPIN: SIM PIN
OK
M66:CPIN required, we send user value to modem
ATParser:*** SEND (size=15) ***
AT+CPIN=“8563”
+CPIN: READY
OK
ATParser:*** SEND (size=12) ***
AT+CGDCONT?
ERROR
ATParser:*** SEND (size=8) ***
AT+CIMI
262011208041748
OK
-IMSI: 26201128041748
-MMC/MNC: 26201
-Found corresponding APN: “internet.telekom” in table
CST_modem_sim_init : CST_modem_define_pdn with APN: “internet.telekom”
ATParser:*** SEND (size=13) ***
AT+QIFGCNT=0
OK
ATParser:*** SEND (size=49) ***
AT+QICSGP=1,“internet.telekom”,“t-mobile”,“tm”,0
CustClt: Wait for application code
ERROR
ATCore ERROR:AT_sendcmd error
ATCore ERROR:AT_sendcmd error: parse from rsp
LOG ERROR #4: channel=2 / errorId=11 / gravity=2
LOG ERROR #5: channel=2 / errorId=14 / gravity=2
CS ERROR:<Cellular_Service> error when defining PDN 1
=== CST_modem_define_pdn Fail !!! ===
Best Regards,
Ankush