tohojo / flent

The FLExible Network Tester.
https://flent.org
Other
437 stars 78 forks source link

metadata: Add parsing of WiFi status information #191

Closed emys-alb closed 4 years ago

emys-alb commented 4 years ago

Created a function called get_wifi_data() that gathers information about the wifi status at one dictionary.

Output:

{'addr': '50:b7:c3:c9:1c:8c',
'channel': {'band': 2462, 'center1': 2462, 'number': 11, 'width': 20},
'ssid': 'VIVO-81A0',
'txpower': 15.0,
'type': 'managed'}