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

ios12 can not get wifi info #1284

Closed
cyrilchans opened this issue Nov 19, 2024 · 10 comments · Fixed by #1296
Closed

ios12 can not get wifi info #1284

cyrilchans opened this issue Nov 19, 2024 · 10 comments · Fixed by #1296

Comments

@cyrilchans
Copy link

Test environment

  • device_version: ios 12.5.7

Describe the bug
The wifi information obtained through the command is returned as null

76f33ab7-c292-4be8-ab93-3408521aeaba

@doronz88
Copy link
Owner

Probably your device uses another entry in the devicetree. Can you upload it?

@cyrilchans
Copy link
Author

Sure, I can provide the device tree, but I'm not sure how to obtain it. Could you please guide me on how to retrieve the device tree

@doronz88
Copy link
Owner

Can be find in somewhere inside the sysdiagnose archive

@cyrilchans
Copy link
Author

IODeviceTree.txt
Is that it?

@cyrilchans
Copy link
Author

I found it , ios 12 devices retrieve wifi network names with this parameter: IO80211Interface.

@doronz88
Copy link
Owner

Yeah, you can play with the options for this command to find the correct query according to your IORegistry tree:

pymobiledevice3 diagnostics ioregistry --help

Afterwards please either supply with the correct arguments needed for this query in here so I'll create a PR for you to test if this fixes the issue

@cyrilchans
Copy link
Author

image
ioclass:IO80211Interface

@doronz88
Copy link
Owner

Can you please verify #1296 solves the issue?

@cyrilchans
Copy link
Author

it looks like it fixes the issue. Great job!

@cyrilchans
Copy link
Author

👍👍👍👍👍👍👍👍

doronz88 added a commit that referenced this issue Nov 29, 2024
diagnostics: fix `get_wifi()` on older models (#1284)
liu6x6 pushed a commit to liu6x6/pymobiledevice3 that referenced this issue Feb 10, 2025
* master: (79 commits)
  file_service: add `identifier` optional argument
  requirements: replace `opack` with `opack2`
  file_service: add `propose_empty_file()`
  tunnel_service: raise exception upon successful pairing
  docs: mention `usbmuxd` and iTunes in README
  afc: add `progress_bar` option when pulling files
  developer: add `accessibility reset`
  diagnostics: fix `get_wifi()` on older models (doronz88#1284)
  tcp_forwarder: retry sending data on failed attempts (doronz88#1290)
  cli: make `usbmux forward` have all basic command options
  installation_proxy: add `install_from_bytes()`
  tunneld: handle `LockdownError`
  lockdown: raise `LockdownError` upon connections to `restored`
  tunneld: better handle connection errors
  lockdown: fix reconnect on remote close for python3.13
  core_device: add sysdiagnose feature (doronz88#1258)
  mobile_config: add new SkipKeys to support iOS 18.1.1
  cli: afc: add `-i/--ignore-errors` option to `pull`
  tcp_forwarder: make `sendall()` blocking
  github: fix feature-request template
  ...

# Conflicts:
#	pymobiledevice3/services/dvt/testmanaged/xcuitest.py
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

Successfully merging a pull request may close this issue.

2 participants