Scan WiFi modules¶
- openbci_stream.utils.scan_wifi_modules.scan_wifi_modules(network: str = 'wlan0') Dict[str, str] [source]¶
Scan for WiFi modules.
Explore the local network with nmap in search of WiFi modules, the way to check if a device is a WiFi module is reading the /board endopint, the JSON is stored and returned too.
- Parameters
network – The network interface name used e.g. wlan0, wlp2s0, ‘eth0’…
- Returns
Dictionay with IPs as keys of WiFi modules on network and /board as value.
- Return type
dict