pwitab / nbiot

NB IoT Scanner
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

Add check for SIM #3

Open Krolken opened 4 years ago

Krolken commented 4 years ago

@drgagi suggested in #2 that a check for inserted SIM would be a good idea. I agree so adding an issue to see if I can add it or if anyone else wants to do it.

Try AT+CIMI which return IMSI number located on SIM card. If this command returns error it means no sim card inserted or connectors are bad so module can not detect sim.