Skip to main content

Posts

Showing posts from March, 2010

Pinging the Host

Our devices require a GPRS connection to the service provider(SP). Recently, we had a problem in which the connection to SP was lost after a certain period of time. So we had to reset the connection to the SP and resetting the connection takes a a few seconds which can be irritable to the customer. So we had to maintain the connection with the SP. Our CTO suggested that the devices number should be maintained in the APN routing table of the SP. Because the SP clears the table after some time to accomodate more incoming connection requests and clear out the ones which are inactive. So the solution was a "ping" to the SP every few minutes, so that the devices entry is maintained in the routing table of the APN. Now the device can connect to SP even after staying idle for the whole night!!