Hi, I’m doing a basic GPS Tracking using Wavecom Modem Fastrack Supreme 10, firmware 6.63g
Initial steps includes creating GPRSBearer, then IPBearer, finally TCP Connection.
Due to the sensitive nature of this tracking application, we are currently polling for GPRS state every second. When GPRS exists, the information is sent through the Channel, when it’s not we store it in flash.
The tricky part is the reconnection from Non-GPRS area to GPRS area. We currently use the wip_close(Channel) when GPRS does not exist, and once we detect that GPRS exists, we do another wip_tcpClientCreate.
Give or take, in one day, this might happen more 20-30 times. Will this cause a memory leakage and subsequently later on cause it to not create a TCP Client?
Doing a wip_netExit means to release all resources inclusive of the wip_netInit and GPRS bearer declaration and having to re-declare all this again.
Is there a smarter way to do a reconnection that anyone can suggest