dougt/MozStumbler — pull request #182 by lordsutch (2013-11-03 03:02:10+00:00)
Title: Add CDMA logging to MozStumbler

This patch adds logging of CDMA base stations to MozStumbler, per https://github.com/dougt/MozStumbler/issues/71. I took a slightly different tack than the pseudocode for two reasons:

- CDMA phones (even with LTE) continue to track CDMA base stations for voice coverage, so there's no need to watch the current network type.
- EvDO signals may not come from the same site as the 1xRTT (CDMA) signal; since Android doesn't provide a standard API for getting EvDO base station IDs, there's no reason to try to geolocate using EvDO signal strength.

Also, the pseudocode wasn't assigning the "mnc" entry per the documentation at https://mozilla-ichnaea.readthedocs.org/en/latest/cell.html#cdma, so I fixed that to log the CDMA SID as intended.