MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / start_serial

Method start_serial

wardriving.py:1746–1754  ·  view source on GitHub ↗

Start serial listener on the given port (adds to existing companions).

(self, port: str)

Source from the content-addressed store, hash-verified

1744 elif h in ('rssi', 'signal', 'level'):
1745 col_map['rssi'] = i
1746 elif h in ('currentlatitude', 'latitude', 'lat'):
1747 col_map['lat'] = i
1748 elif h in ('currentlongitude', 'longitude', 'lon', 'long'):
1749 col_map['lon'] = i
1750 elif h in ('altitudemeters', 'altitude', 'alt'):
1751 col_map['alt'] = i
1752 elif h in ('type',):
1753 col_map['type'] = i
1754
1755 if 'mac' not in col_map:
1756 return {'error': 'CSV missing MAC/BSSID column', 'imported': 0}
1757

Callers 1

wardriving_serialFunction · 0.80

Calls 1

Tested by

no test coverage detected