The SIM state URC can be enabled using the AT+SQNSIMST
command.
Once activated, an +SQNSIMST
URC is sent with every SIM state change.
A URC value of 5
indicates the SIM is ready.
A full list of values can be found in the AT Command Reference Manual.