the first time i register to the network (adl_simSubscribe(…)) works perfectly. but after the offmode (i use at+cpof and at+cala) this kind of registering don’t work again. i tried with at+cpin=…, at+creg=1, at+cfun=1 and with on/off pin. the module doesn’t show any reaction.
if i use at+cpin=?, i always get an error without any tags.
If I use this subscribe-function, the module automatically register to the network (the LED starts to blinking and I’m able to send SMSs).
I didn’t find a special OPEN AT instruction to register to the network. so I thought it has to be this one.
If you want to monitor the registration state, monitor the +CREG: unsolicited responses.
You could also monitor +WIND: unsolicited responses.
Note that the +CREG: and +WIND: unsolicited responses are automatically enabled by ADL when your application is running - see the section “Inner AT Commands Configuration” in the ADL User Guide.
If I monitor with CREG? in the terminal emulator, he always response: +CREG:1,0.
If I use the adl_atCmdCreate(“AT+CREG?”…) function, the monitoring tool shows: +CREG:2,0.
If I “run” my program manually in the terminal emulator, the instruction works, but in the program it doesn’t work. the program stops at the CFUN=1 or CPIN=… commands.
I’ve just found out, that the module “see” the network, but he’s not registered! I get the response: +WIND: 7 !!!
And the response of CPIN? is SIM PIN --> PIN required.
But I now don’t know, why he doesn’t register to the network, becaus I use the CREG=2.
I never give up, I further try it
p.s. The CFUN=1 instruction sets the CREG to 0!!
It’s nice to know, that my module make the right thing.
But my problem is now, to get registered at this point. I tried with the SIM-subscribe function, but nothing happen, neither a unsolicited response occurs nor another reaction.
I subscribe twice, because I have a independant system, which only register to the network when its nescessary. So it can be, that this state occure more than one time.
I’ve read something about this subscribe function. There is written, that the PIN at the second subscribe doesn’t matter. But I think it’s just true, if you don’t use the CPOF instruction.