Seeed-Studio / GPRS_SIM900

library for GPRS shield with sim900 module.
MIT License
138 stars 96 forks source link

Reason for checkSIMStatus being private #35

Closed Jonas-Meyer97 closed 5 years ago

Jonas-Meyer97 commented 5 years ago

Hi, is there a reason why the checkSIMStatus methode is private to the GPRS class? One use case for this function in user code would be to test on startup if the sim is READY and if not try to unlock the sim.

lanselambor commented 5 years ago

@Craftplorer Yes, checkSImState should be a public method. Change the code now.

Jonas-Meyer97 commented 5 years ago

Thank you.