Code Monkey home page Code Monkey logo

Comments (11)

davidmurray avatar davidmurray commented on July 26, 2024

You mean a notification that is sent when WiFi turns on or turns off?

from wifi.

powfulhong avatar powfulhong commented on July 26, 2024

No, just like when android wifi is associating, it has a few states that would broadcast, for example authorization.what I want to know is what notification it will send when iOS wifi is associating. Because I found when association callback returns success, the wifi icon don't appear right now,likely it is doing something.

发自我的 iPad

在 2015年1月24日,05:19,David Murray [email protected] 写道:

You mean a notification that is sent when WiFi turns on or turns off?


Reply to this email directly or view it on GitHub.

from wifi.

davidmurray avatar davidmurray commented on July 26, 2024

Try WiFiDeviceClientAssociateAsync with the callback argument.

from wifi.

powfulhong avatar powfulhong commented on July 26, 2024

I did use WiFiDeviceClientAssociateAsync and the callback show wifi was associating successfully . What i confused is why it would wait a few seconds to appear at top-left. And how do you know there is a notification called "com.apple.wifi.linkdidchange"? How can i find others? Thanks.

from wifi.

davidmurray avatar davidmurray commented on July 26, 2024

Run the command strings on a MobileWiFi binary. You should see all the notifications.

from wifi.

powfulhong avatar powfulhong commented on July 26, 2024

I try strings MobileWiFi | grep "com.apple", but it just return ------
com.apple.wifi.manager.available
com.apple.wifi.manager
com.apple.wifid.queue
com.apple.wifi.manager.available
com.apple.wifi.manager
com.apple.wifid.queue
com.apple.wifi.manager.available
com.apple.wifi.manager

com.apple.wifid.queue

is it right???(Though i do think so...)

from wifi.

powfulhong avatar powfulhong commented on July 26, 2024

or can you help me find out all notifications of MobileWiFi?

from wifi.

davidmurray avatar davidmurray commented on July 26, 2024

Sorry, not sure how you can find the other notifications. :( Maybe check the wifid binary?

from wifi.

powfulhong avatar powfulhong commented on July 26, 2024

can't find the other notifications.....:( i found when the association callback return success, it was actually doing something, for example, getting the ip address.
now i found another problem that even if i enter the wrong pwd, the association would return success but actually associated to a different wifi? How could it be?

from wifi.

powfulhong avatar powfulhong commented on July 26, 2024

And how did you get *.h??? class_dump doesn't get it. I use nm MobileWiFi and find that there are a lot of 'information' that you didn't show in headers...

from wifi.

davidmurray avatar davidmurray commented on July 26, 2024

I'm not really sure about the other issue you're experiencing. I don't know everything about the iOS WiFi.

I didn't use class-dump, I manually reverse engineered the functions.

from wifi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.