TilCreator
6ee65f3bb8
Add support for lang and strange SSIDs and passwords
2018-05-29 19:39:16 +02:00
Tayfun ULU
9d3094862a
Deleted extra empty lines
...
Deleted extra empty lines
2018-05-25 23:23:52 +03:00
Tayfun ULU
a1f955b338
Merge pull request #7 from trailhead/master
...
fix for #5 out of memory on esp8266
2018-05-25 23:18:18 +03:00
Chris Miller
8db1c371d1
fix for out of memory on esp8266
2018-04-09 16:39:43 -06:00
Tayfun ULU
2551c868db
Update README.md
...
micropython 1.9.3 tested, and esp32 tested.
2018-01-01 09:39:57 +03:00
Tayfun ULU
7865f79e44
new layout
...
- passwd.dat to wifi.dat
- etc...
2017-12-18 11:14:11 +03:00
Tayfun ULU
4258c5b800
file names update
...
file names update
2017-12-18 10:53:20 +03:00
Tayfun ULU
03c5ef2553
wifi.dat file
...
wifi.dat
2017-12-18 10:52:03 +03:00
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