lamondlab / IteadSIM800

Raspberry Pi Python library for the Itead SIM800 GSM/GPRS module
45 stars 27 forks source link

Network status problem (Not Registered) #6

Closed agn-7 closed 3 years ago

agn-7 commented 3 years ago

I'm dealing with the following error, how can I fix that?

ns = s.getNetworkStatus()
print("Network status:")
print(ns)

Out:

2021-04-26 16:51:07,785 : DEBUG -> Get Network Status
2021-04-26 16:51:07,786 : DEBUG -> Send AT Command: AT+CREG?
2021-04-26 16:51:08,331 : DEBUG -> Lines: ['+CREG: 0,0', 'OK']
2021-04-26 16:51:08,332 : DEBUG -> Response: OK
['+CREG: 0,0']
ATResp.OK
2021-04-26 16:51:08,333 : DEBUG -> Parse Reply: +CREG: 0,0, +CREG: , ,, 1
Network status:
NetworkStatus.NotRegistered
agn-7 commented 3 years ago

Actually, I found out that I put the SIM card in the wrong direction!!!