beautypg.com

Campbell Scientific 9522B Iridium Satellite Modem and COM9522B Interface Modem User Manual

Page 38

background image

Appendix C. Unlocking a SIM Card

The next step is to enter the PIN code for the SIM card.

AT+CPIN=”1111”

The modem should respond with an

“OK” which means the PIN code has been

accepted. This explanation assumes that the default code of “1111” is being

used. If you get an “

ERROR” reply, be sure that the command was entered as

shown. If you continue to get an error response, contact the SIM card provider

to determine if a different code is required.

The next step is to enter the command to deactivate the PIN code requirement.

If your PIN code is different from the “1111”, use this in the command in its

place.

AT+CLCK=”SC”,0,”1111”

The modem should respond with an

“OK”, which means the command has

been accepted. If you get an “

ERROR” reply, be sure that the command was

entered as shown. If you continue to get an error response, contact the SIM

card provider for further information.

The final step should be to test that the SIM card is unlocked and will remain

unlocked. Start by powering down the modem and then reapplying power.

Allow the modem to warm up for about 30 seconds. The test consists of

attempting to dial the 12-digit data number for the other SIM card in

DevConfig.

ATDT00<12-DIGIT DATA #>

If you are able to dial the number without getting a prompt for a PIN code, then

the code requirement is deactivated. The modem should respond with “

NO

ANSWER” after several seconds. This assumes the other modem is not

communicating.

C-2