Setting the SIM PIN over serial port with AT-commands?


#1

Hi! I have been trying to set the SIM PIN code on an AirLink LS300 over the serial port. I have run into problems with this, the output from the communication is shown below:

OK
ATI1?

4.3.3a.014
161D0A06000700000000000000000000
Boot v2.5.2_LS300
   (c) 2003-2012 Sierra Wireless, Inc.

OK
AT*NETSTATE?

SIM PIN incorrect 2 attempts left

OK
AT*SIMPIN=1

SIM PIN must be 4 to 8 characters!
AT*SIMPIN=1234

After pressing enter on the last line, the unit stops responding to commands. Character echo still works though. Has anyone encountered similar problems with this? Any solution?

(The first SIMPIN command does not respond with “OK\r\n” like other commands, but the command handling continues normally after it. I verified that, but didn’t include it in the listing.)


#2

After closer examination, the process ATProc dies with a segmentation fault (null pointer dereference) after that command. Will file a bug report.