from access_points import get_scanner
from src.wifiScanning import wifiScan, macOS_wifiConnection, windows_wifiConnection

if __name__ == "__main__":
  # scanning the wifi and prepare the config file for testing
  scan = wifiScan()
  wifiList = scan.getWifiList()
  testAPArr = []
  for wifi in wifiList:
    if 'VAP' in wifi.ssid:
      testAPArr.append(wifi.ssid)
  
  # macOS connection version
  print(testAPArr)
  wifiController = macOS_wifiConnection()
  for testAP in testAPArr:
    wifiController.setWifiSSID(testAP)
    wifiController.setWifiPassword('Videri123')
    wifiController.wifi_connect()

  

  
8cfff761a9b69d06b72231221074fe81ad76568e
<mask token>

<mask token>
if __name__ == '__main__':
    scan = wifiScan()
    wifiList = scan.getWifiList()
    testAPArr = []
    for wifi in wifiList:
        if 'VAP' in wifi.ssid:
            testAPArr.append(wifi.ssid)
    print(testAPArr)
    wifiController = macOS_wifiConnection()
    for testAP in testAPArr:
        wifiController.setWifiSSID(testAP)
        wifiController.setWifiPassword('Videri123')
        wifiController.wifi_connect()

from access_points import get_scanner
from src.wifiScanning import wifiScan, macOS_wifiConnection, windows_wifiConnection
if __name__ == '__main__':
    scan = wifiScan()
    wifiList = scan.getWifiList()
    testAPArr = []
    for wifi in wifiList:
        if 'VAP' in wifi.ssid:
            testAPArr.append(wifi.ssid)
    print(testAPArr)
    wifiController = macOS_wifiConnection()
    for testAP in testAPArr:
        wifiController.setWifiSSID(testAP)
        wifiController.setWifiPassword('Videri123')
        wifiController.wifi_connect()

from access_points import get_scanner
from src.wifiScanning import wifiScan, macOS_wifiConnection, windows_wifiConnection

if __name__ == "__main__":
  # scanning the wifi and prepare the config file for testing
  scan = wifiScan()
  wifiList = scan.getWifiList()
  testAPArr = []
  for wifi in wifiList:
    if 'VAP' in wifi.ssid:
      testAPArr.append(wifi.ssid)
  
  # macOS connection version
  print(testAPArr)
  wifiController = macOS_wifiConnection()
  for testAP in testAPArr:
    wifiController.setWifiSSID(testAP)
    wifiController.setWifiPassword('Videri123')
    wifiController.wifi_connect()

  

  