You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GSM.begin(PIN) is called in a loop in all example code. Therefore users omitting or setting an incorrect PIN results in SIM card being locked when the sketch is executed, as it keeps trying.
Might be better handled by catching the AT response for incorrect PIN on first attempt, halting and displaying an error message so the user can correct the PIN.
The text was updated successfully, but these errors were encountered:
Right now, ERROR is returned for the following scenarios:
any AT command error result, including invalid pin
network registration denied
@cmaglie@facchinm@tigoe should we consider to add a new enum value specifically for invalid pin? Another option (which is more backwards compatible), is to add another method for error reason.
GSM.begin(PIN) is called in a loop in all example code. Therefore users omitting or setting an incorrect PIN results in SIM card being locked when the sketch is executed, as it keeps trying.
Might be better handled by catching the AT response for incorrect PIN on first attempt, halting and displaying an error message so the user can correct the PIN.
The text was updated successfully, but these errors were encountered: