codeskyblue / tidevice3

wrapper for pymobiledevice3 to make it more easy to use.
MIT License
191 stars 35 forks source link

feat: support start-tunnel over Wi-Fi #21

Open 2088669827 opened 4 months ago

codeskyblue commented 4 months ago

为什么要支持WiFi呀,也特定没支持的,因为觉得这个wifi又慢又不稳定

2088669827 commented 4 months ago

没办法,我们有这个需求

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 26.08696% with 34 lines in your changes missing coverage. Please review.

Project coverage is 55.58%. Comparing base (c90ab46) to head (6a109b1). Report is 1 commits behind head on master.

Files Patch % Lines
tidevice3/cli/tunneld.py 26.66% 33 Missing :warning:
tidevice3/api.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #21 +/- ## ========================================== - Coverage 56.42% 55.58% -0.85% ========================================== Files 18 18 Lines 911 905 -6 Branches 101 106 +5 ========================================== - Hits 514 503 -11 - Misses 393 398 +5 Partials 4 4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

lingling-fa commented 4 months ago

请教下大佬如何使用wifi连接呢,pymobiledevice3的文档有点看不懂,目前

  1. 我只知道 bonjour mobdev2,但是这个要处于同个路由器下才可以
  2. create_using_tcp建立的tcp链接,好像又啥操作都做不了,不知道是我使用方式是不是有问题 大佬可以指点下吗
2088669827 commented 4 months ago

请教下大佬如何使用wifi连接呢,pymobiledevice3的文档有点看不懂,目前

  1. 我只知道 bonjour mobdev2,但是这个要处于同个路由器下才可以
  2. create_using_tcp建立的tcp链接,好像又啥操作都做不了,不知道是我使用方式是不是有问题 大佬可以指点下吗

首先确保设备通过Wi-Fi连接好了,t3 list -n可以看到设备。 然后pymobiledevice3 remote start-tunnel -t wifi,出现--rsd结果就行了,或者pymobiledevice3 remote tunneld也可以