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

Method as_dict

wardriving.py:146–159  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

144 # instead; the per-radio WiFi/BLE/Zigbee counts show what's captured.
145 self.in_wardrive: bool = False
146 self.esp_ble_count: int = 0
147 self.esp_zigbee_count: int = 0
148 self.esp_alerts: list = []
149 self.esp_alert_buffer: dict = {}
150 self.esp_airtag_buffer = None
151 self.esp_flipper_buffer: dict = {}
152 # HuginnESP multi-line entry accumulator
153 self.serial_entry_buffer: dict = {}
154 # Piglet WiGLE CSV column-header tracking
155 self.wigle_col_map = None
156 self.wigle_expect_header: bool = False
157
158 def count_network(self, channel=0, band=None) -> None:
159 """Record one newly-seen network, bucketed by band.
160
161 Band comes from an explicit `Band:` field when the companion sends one
162 (the HuginnESP text format does), otherwise from the channel number:

Callers 2

get_statusMethod · 0.80
wardriving_serialFunction · 0.80

Calls 1

Tested by

no test coverage detected