Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

atxserver2-android-provider过滤掉了串号的IP地址的设备 #5

Closed
qingqingcaoyuanlin opened this issue Apr 8, 2019 · 2 comments

Comments

@qingqingcaoyuanlin
Copy link

  1. 某些root的设备,使用adb connect 设备IP,adb devices执行命令后,显示如10.0.0.2:5555 device。
    2.当连接这些设备后,atxserver2-android-provider会过滤掉串号为IP地址的设备,其实应当过滤掉如10.0.0.2:5555 offline的设备。
    3.对应代码的判断 if re.match(r"(\d+).(\d+).(\d+).(\d+):(\d+)", event.serial),此处可能需要优化一下,当前我屏蔽了此处代码判断,设备可以init成功,并且成功连接到atxserver2
@codeskyblue
Copy link
Member

默认是屏蔽的,不过可以通过命令行选项 --allow-remote 允许这类ip地址的设备。文档需要说明下。

@codeskyblue
Copy link
Member

已添加

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants