Skip to content

Commit

Permalink
add ssid to conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Gruber committed Jun 20, 2024
1 parent c142070 commit f2ae3cb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scantools/run_navvis_to_capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,10 @@ def run(input_path: Path, capture: Capture, tiles_format: str, session_id: Optio
freq_khz = measurement.center_channel_freq_khz
rssi_dbm = measurement.signal_strength_dbm
time_offset_us = int(measurement.time_offset_ms) / 1_000
ssid = measurement.ssid
if (timestamp_us, sensor_id) not in wifi_signals:
wifi_signals[timestamp_us, sensor_id] = RecordWifi()
wifi_signals[timestamp_us, sensor_id][mac_addr] = RecordWifiSignal(
frequency_khz=freq_khz, rssi_dbm=rssi_dbm, name=ssid,
scan_time_start_us=(timestamp_us - time_offset_us)
frequency_khz=freq_khz, rssi_dbm=rssi_dbm, scan_time_start_us=(timestamp_us - time_offset_us)
)

bluetooth_signals = RecordsBluetooth()
Expand Down

0 comments on commit f2ae3cb

Please sign in to comment.