Example #1
0
def handle_reset(environ, start_response):
    start_response(httplib.OK, [('Content-Type', 'text/plain')])
    enable_wifi_p2p_service()
    restore_config_files()
    stop_hotspot()
    return []
Example #2
0
def wifi_reset():
    wifi.enable_wifi_p2p_service()
    wifi.restore_config_files()
    wifi.stop_hotspot()
Example #3
0
def wifi_reset():
    wifi.enable_wifi_p2p_service()
    wifi.restore_config_files()
    wifi.stop_hotspot()
Example #4
0
def handle_reset(environ, start_response):
    start_response(httplib.OK, [('Content-Type', 'text/plain')])
    enable_wifi_p2p_service()
    restore_config_files()
    stop_hotspot()
    return []