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 |
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
|
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
|
7d479222c2
|
simplify/clean up names
|
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
|
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
|
4bcd3531dc
|
Update main.py
|
2017-10-24 08:44:49 +03:00 |
Tayfun ULU
|
3f1ebea1e2
|
Update main.py
|
2017-10-22 23:15:09 +03:00 |
Tayfun ULU
|
e7379cce8c
|
Add files via upload
|
2017-10-22 22:49:26 +03:00 |