# Path: extras/python/iotsaControl/mdns.py
# class PlatformMDNSCollector(object):
#     """Default mDNS handling: ask the user"""
#     def __init__(self):
#         pass
#         
#     def run(self, timeout=5):
#         """Run for a short while (5 seconds default) and collect all iotsa devices found. Return list."""
#         raise UserIntervention("Please browse for mDNS services _iotsa._tcp.local")
# 
# Path: extras/python/iotsaControl/consts.py
# class UserIntervention(Exception):
#     pass
# 
# VERBOSE=[]


from future import standard_library
from builtins import str
from builtins import object
from .mdns import PlatformMDNSCollector        
from .consts import UserIntervention, VERBOSE
import sys
import time
import os
import socket
    import subprocess
    import plistlib
from __future__ import print_function
from __future__ import absolute_import
from __future__ import unicode_literals
standard_library.install_aliases()



class PlatformWifi(object):
    """Default WiFi handling: ask the user."""
    def __init__(self):
        pass

    def platformListWifiNetworks(self):
        """Return list of network SSIDs that appear to be iotsa boards"""
        raise UserIntervention("Please look for WiFi SSIDs (network names) starting with 'config-'")

    def platformJoinWifiNetwork(self, ssid, password):
        """Join a wifi network"""

# Path: extras/python/iotsaControl/mdns.py
# class PlatformMDNSCollector(object):
#     """Default mDNS handling: ask the user"""
#     def __init__(self):
#         pass
#         
#     def run(self, timeout=5):
#         """Run for a short while (5 seconds default) and collect all iotsa devices found. Return list."""
#         raise UserIntervention("Please browse for mDNS services _iotsa._tcp.local")
# 
# Path: extras/python/iotsaControl/consts.py
# class UserIntervention(Exception):
#     pass
# 
# VERBOSE=[]


# Path: extras/python/iotsaControl/wifi.py
from future import standard_library
from builtins import str
from builtins import object
from .mdns import PlatformMDNSCollector        
from .consts import UserIntervention, VERBOSE
import sys
import time
import os
import socket
    import subprocess
    import plistlib

from __future__ import print_function
from __future__ import absolute_import
from __future__ import unicode_literals
standard_library.install_aliases()



class PlatformWifi(object):
    """Default WiFi handling: ask the user."""
    def __init__(self):
        pass

    def platformListWifiNetworks(self):
        """Return list of network SSIDs that appear to be iotsa boards"""
        raise UserIntervention("Please look for WiFi SSIDs (network names) starting with 'config-'")

    def platformJoinWifiNetwork(self, ssid, password):
        """Join a wifi network"""

        raise UserIntervention("Please join WiFi network named %s" % ssid)