View Single Post
Posts: 437 | Thanked: 90 times | Joined on Nov 2006
#18
What I want to do is to scan the list of available AP's and:
1. see if any of them are known
2. see if any of them are open

Priority list would (could?) run as follows:
1. known, better signal strength
2. open and unknown, better signal strength
3. known, weaker signal
4. open and unknown, weaker signal
5. ask user (optional) -- or, drop connection

So basically, the requirements are:

a. A method to scan AP's in range and get their statistics using osso_get_statistics(...). I need to figure out how to scan AP's in the spirit of the built-in connection manager. Any clues?
b. A method to transparently connect to any (known or open) AP within range -- this is available and should require only a minor modification to my current code, in the call to osso_iap_connect(...) [PS: I'll put the source up at http://www.anomaly-music.com/crun/crun.c when I get home in a few hours].

Any contributions to this idea are welcome, especially from more experienced programmers than me

*edit*

Looks to me like I will have to fork the source: I will continue debugging and testing crun, which will be used to automate downloads, etc.; and I will start working on this new idea, by reusing half the crun source, obviously