I have a S3 which work perfectly and I'm looking for a way to work with SIMs that have PIN number, I didnt find information aboout this. Is possible? Or I have to work with sim without pin?
Edit the celliax.conf file, and insert the command AT+CPIN= in the at_preinit_2 and OK in at_preinit_2_expect, as shown below:
=============
;pause right after serial port opening, before any command is sent, in usecs (1million usec= 1sec)
at_initial_pause=500000
;custom commands to be sent after the initial pause and before the "built in" initialization commands, and what the modem is expected to send as reply
;the first empty string stop the preinit sending
at_preinit_1=atciapa ; nonsense entry, just to show the preinit
at_preinit_1_expect=OK
at_preinit_2=AT+CPIN=123456
at_preinit_2_expect=OK
at_preinit_3=
at_preinit_3_expect=
at_preinit_4=
at_preinit_4_expect=
at_preinit_5=
at_preinit_5_expect=
;pause right after the custom preinit commands, before any "built in" command is sent, in usecs (1million usec= 1sec)
at_after_preinit_pause=500000
=====================
SIM PIN command
Easiest way is: you remove the PIN from the SIM :).
As an alternative, you can find the correct AT commands for PIN for your device, and put them in the config file as postinit command.
Later I'll check this for you and I'll post the modification for config file.
How to input SIM PIN in mobigater
Edit the celliax.conf file, and insert the command AT+CPIN= in the at_preinit_2 and OK in at_preinit_2_expect, as shown below:
=============
;pause right after serial port opening, before any command is sent, in usecs (1million usec= 1sec)
at_initial_pause=500000
;custom commands to be sent after the initial pause and before the "built in" initialization commands, and what the modem is expected to send as reply
;the first empty string stop the preinit sending
at_preinit_1=atciapa ; nonsense entry, just to show the preinit
at_preinit_1_expect=OK
at_preinit_2=AT+CPIN=123456
at_preinit_2_expect=OK
at_preinit_3=
at_preinit_3_expect=
at_preinit_4=
at_preinit_4_expect=
at_preinit_5=
at_preinit_5_expect=
;pause right after the custom preinit commands, before any "built in" command is sent, in usecs (1million usec= 1sec)
at_after_preinit_pause=500000
=====================
Its working, thanks :)
Its working, thanks :)