Ai-Thinker-Open / GPRS_C_SDK

Ai-Thinker A9/A9G GPRS (with GPS(A9G)) module C development SDK
https://ai-thinker-open.github.io/GPRS_C_SDK_DOC
MIT License
449 stars 236 forks source link

GPRS Module restart #537

Open ricardodanielalbano opened 1 year ago

ricardodanielalbano commented 1 year ago

Please, any clue about restarting gprs module without restarting the whole device!. In some cases GPRS get deatached from network and is impossible to reconnect it without restarting the module. I know is a common issue but no solution is available as I can see.

ZakKemble commented 1 year ago

I think PM_Restart(); will restart the module without a power cycle.

ricardodanielalbano commented 1 year ago

Thank you, but not. PM_Restart just Reboot the system.

jackfitton112 commented 1 year ago

think you need Network_StartDetach() and attach, it doesnt turn the modem off but it will disconnect from the network and lower power cosumption

MaBarakat commented 5 months ago

@ricardodanielalbano are find a way please?

ricardodanielalbano commented 5 months ago

No @MaBarakat, just I restart the device when no network is available for a while.

MaBarakat commented 5 months ago

thank you very much @ricardodanielalbano