Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct to 32
Browse files Browse the repository at this point in the history
Lukas Gruber committed Jun 20, 2024
1 parent 96ce6be commit 0015cd8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scantools/scanners/navvis/iwconfig_parser.py
Original file line number Diff line number Diff line change
@@ -19,7 +19,6 @@
'time_offset_ms',
'ssid'])


def frequency_string_to_khz(frequency_str):

data = frequency_str.split()
@@ -53,7 +52,7 @@ def parse_iwconfig(data):
'signal_level': r'Signal level=(-?\d{1,2}) dBm',
'frequency': r'Frequency:(\d{1,2}.\d{1,6}\s([ G|M|k]Hz))',
'time_offset': r'Extra: Last beacon: (\d{1,6})ms',
'ssid': r'ESSID:"(.{1,64})"'
'ssid': r'ESSID:"(.{1,32})"'
}]
}, {
'wifi samples': [{
@@ -62,7 +61,7 @@ def parse_iwconfig(data):
'signal_level': r'signal: (-?\d{1,2}.\d{1,2}) dBm',
'frequency': r'freq: (\d{1,4})',
'time_offset': r'last seen: (\d{1,6}) ms',
'ssid': r'SSID: (.{1,64})'
'ssid': r'SSID: (.{1,32})'
}]
}]

0 comments on commit 0015cd8

Please sign in to comment.