Get cell info direct from the modem via AT commands such as +CREG=2 and perhaps something like +xcellinfo=1.
Log it to a file, gzip it up and transfer it later when wifi is available, or to play nice with kindle 3G use http post through the proxy.
Make assumptions about signal quality this way, don't rely on ping times as there are too many other variables in the carriers network. If you must measure response time, try and do it with L2 packets like ppp lcp echo request (probably totally invisible to GSM carrier) or tcp ping the proxy, possibly using something like hping2.
If you can gather GSM Timing Advance data (immediately after successful ping) use SIMToolKit calls if nothing else, you can suppose quite accurate location data.
I would be very interested to see this combine with WiFi location data appear in a public database somewhere.
This is definately on my list as something to look into in my free time...
|