Wykres commitów

38 Commity (1c37e9cf06c5243c27f1fe5d2054b7a7cf7c7a88)

Autor SHA1 Wiadomość Data
Tayfun ULU 1c37e9cf06
Rename module name to wifimgr
- Rename networkconfig.py to wifimgr.py 
- Update import module with new file name.
2017-12-18 08:37:30 +03:00
Tayfun ULU 7f3df05fdf
Rename networkconfig.py to wifimgr.py
Rename networkconfig.py to wifimgr.py
2017-12-18 08:35:14 +03:00
Tayfun ULU 3166b10678
Merge pull request #3 from ThomasWaldmann/cleanups
WIP: Cleanups and Refactorings
2017-12-17 14:54:57 +03:00
Thomas Waldmann 5945702683 sta must be active for scanning, print exception 2017-12-12 04:21:40 +01:00
Thomas Waldmann d0b8fadd84 improve ap related names, remove unneeded "global" 2017-12-12 04:21:40 +01:00
Thomas Waldmann b41777f64d wifi profiles: remove bad comment, rename file to wifi.dat
passwd.dat is too unspecific, could be passwords of whatever.

also, we maybe could put more in there, not just ssid and password,
but more data about the known wifi networks.
2017-12-12 04:21:40 +01:00
Thomas Waldmann b68f6560b9 rename check_connection -> get_connection 2017-12-12 04:21:40 +01:00
Thomas Waldmann 3ae68033e6 move most code to networkconfig module, simplify main
also: only initialize 2 WLAN instances (one AP, one STA)
2017-12-12 04:21:32 +01:00
Thomas Waldmann ff4ad2524a cleanup server socket and client close 2017-12-12 04:05:02 +01:00
Thomas Waldmann 6b7e885bb0 use WPA2 for the AP, really requires a password now 2017-12-12 04:05:02 +01:00
Thomas Waldmann 8674d7c4da refactor main code, separate profile code
also:

- go through available wifi networks in sorted order, by rssi
- differentiate open from encrypted networks
- some debug prints
2017-12-12 04:04:50 +01:00
Thomas Waldmann f991513ea6 deduplicate do_connect() 2017-12-12 03:57:45 +01:00
Thomas Waldmann cbf3c8f57b cleanup response assembly 2017-12-12 03:57:45 +01:00
Thomas Waldmann e20694340f network selection: sort ssids, use radiobutton
just one click on the right button, not 2 clicks as for dropdown menu.
2017-12-12 03:57:45 +01:00
Thomas Waldmann a1b6ae5855 html source: formatted, fixed some issues 2017-12-12 03:57:45 +01:00
Thomas Waldmann 491ad25172 fixed web UI text (grammar, typos) 2017-12-12 03:57:45 +01:00
Thomas Waldmann 7d479222c2 simplify/clean up names 2017-12-12 03:57:45 +01:00
Thomas Waldmann 278144a911 cleanup extending passwd.dat 2017-12-12 03:57:45 +01:00
Thomas Waldmann 23af7385b0 use with-statement for open() 2017-12-11 15:34:53 +01:00
Thomas Waldmann e4cda8a95a simplify do_connect
kept the behaviour it had before:

returns truish/falsish if it has/has not connected to given network.
returns None if it already was connected.
2017-12-11 15:28:31 +01:00
Thomas Waldmann 28e2aa5001 make connection wait loop more readable
| is the bitwise or operator, you rather want a logical operator here.
2017-12-11 15:18:39 +01:00
Thomas Waldmann 72292a72ab some simple python syntax fixes 2017-12-11 15:12:22 +01:00
Thomas Waldmann 1ea05254a4 code: fix wording / grammar 2017-12-11 15:06:47 +01:00
Thomas Waldmann b23e52ec53 fix README spacing / grammar 2017-12-11 14:47:33 +01:00
Thomas Waldmann d1bae019af add a .gitignore
only entry for now is to exclude pycharm files.
2017-12-11 14:43:23 +01:00
Thomas Waldmann f11fcbf606 applied pycharm "reformat file"
fixes:

- indentation: tabs -> 4 spaces
- spaces around operators
- other pep8 issues
2017-12-11 14:38:41 +01:00
Tayfun ULU 582cc2acbc
change ssid name and passwd
you could change default ssid name and passwd.
2017-11-19 13:02:15 +03:00
Tayfun ULU e04a7a438d
flow chart added
flow chart added
2017-10-29 23:49:58 +03:00
Tayfun ULU 465165e5e3
added flow chart
added flow chart
2017-10-29 23:47:06 +03:00
Tayfun ULU 4bcd3531dc Update main.py 2017-10-24 08:44:49 +03:00
Tayfun ULU cf5faf4862 version 1.9.2 compatibility
it's not the optimum solution for compatibility problem between 1.8 and 1.9. But it's working :)
2017-10-23 09:59:02 +03:00
Tayfun ULU 05212924ec version 1.9 compatibility 2017-10-23 09:41:02 +03:00
Tayfun ULU aa9b97139e Update README.md 2017-10-22 23:21:55 +03:00
Tayfun ULU 3f1ebea1e2 Update main.py 2017-10-22 23:15:09 +03:00
Tayfun ULU ba9cd2f997 Update README.md 2017-10-22 23:14:20 +03:00
Tayfun ULU e7379cce8c Add files via upload 2017-10-22 22:49:26 +03:00
Tayfun ULU ee02b70867 Delete .gitignore 2017-10-22 22:48:07 +03:00
Tayfun ULU bb77fd4e9a Initial commit 2017-10-22 22:47:31 +03:00