类 | |
class | SerialCommunication |
更多... | |
class | adb_communication |
更多... | |
class | wifi_command |
更多... | |
函数 | |
extract_specific_mac (text, interface_name="wlan0") | |
处理获取到的MAC地址消息 | |
ping_ip (ip_address) | |
对指定IP进行ping操作 | |
start_adb (path) | |
对指定指定路径打开adb驱动程序 | |
check_device_connected () | |
检查是否有设备连接 | |
stop_adb () | |
关闭adb服务 | |
signal_handler (sig, frame) | |
处理程序关闭情况 | |
变量 | |
psp_path = os.environ.get('PSP_PATH') | |
adb_communication = adb_communication(debug_mode= False) | |
wifi_command = wifi_command(adb_communication.send_command) | |
extract_specific_mac | ( | text, | |
interface_name = "wlan0" ) |