Hi,
what kind of SIM are you using? I’m asking because our m2m/IoT SIMs usually come with PIN disabled. For this reason, PIN handling is not included in our HW-library.
Unfortunately, the module you are using does not support any management of facility locks, other than entering the PIN when the radio is turned. To proceed you should deactivate the PIN on the SIM on a different device.
You can either try a smartphone or a different module which supports the management of facility locks. The required AT-commands for this are:
AT+CLCK=“SC”,2 # Query status of SIM lock
+CLCK: 0 # SIM is unlocked (1 would be locked)
AT+CLCK=“SC”,0,“1234” # Remove SIM lock (for PIN 1234)
Best regards