pulkin / micropython

MicroPython implementation on Ai-Thinker GPRS module A9 (RDA8955)
https://micropython.org
MIT License
103 stars 30 forks source link

Network Status return 17 #114

Closed garudaonekh closed 1 year ago

garudaonekh commented 1 year ago

HI, what does the 17 means from on_status_event() and from get_network_status() function? I can't find document for that.

Normally, I received 1 for ok, and 4 for not connected from the cell tower.

Please share me list of this number, thanks

pulkin commented 1 year ago

https://github.com/pulkin/micropython/blob/c274c947c611f510fd2b1c4ef6cbd9f4283794fc/ports/gprs_a9/modcellular.c#L53-L60

17 sounds like a normal status to me