Return GPS track as list of [lat, lon] points.
(self)
| 829 | band_6 = row['band_6'] or 0 |
| 830 | camera_count = row['cameras'] or 0 |
| 831 | strongest = conn.execute("SELECT bssid, ssid, best_rssi FROM networks ORDER BY best_rssi DESC LIMIT 1").fetchone() |
| 832 | trackpoints = conn.execute("SELECT COUNT(*) FROM gps_track").fetchone()[0] |
| 833 | |
| 834 | # Bluetooth, cell and Zigbee counts (tables may not exist in old DBs) |
| 835 | bt_count = 0 |
| 836 | cell_count = 0 |
| 837 | zigbee_count = 0 |
| 838 | try: |
| 839 | bt_count = conn.execute("SELECT COUNT(*) FROM bluetooth_devices").fetchone()[0] |
| 840 | except Exception: |
| 841 | pass |
| 842 | try: |
| 843 | cell_count = conn.execute("SELECT COUNT(*) FROM cell_towers").fetchone()[0] |
| 844 | except Exception: |
no test coverage detected