simon
06578afda7
revert gitignore, SSID and default password
2023-12-22 22:39:16 +01:00
simon
101a5b6526
add wifi manager utils and fix encoding of ssid and password
2023-12-22 22:39:03 +01:00
simon
bd4ad4ad54
extend gitignore
2023-12-22 22:38:35 +01:00
Tayfun ULU
8e28327daf
give to response
2023-01-02 23:49:37 +03:00
Tayfun ULU
da27e14704
Disable to AP mode after connection
...
correct place.
2023-01-01 13:05:54 +03:00
Tayfun ULU
9c5865307a
waiting time is increased
...
because some modem need more time to connect.
2023-01-01 13:02:42 +03:00
Tayfun ULU
8c2c3b1acf
closing AP after connection
...
disable AP mode after connection
2022-12-31 12:10:22 +03:00
Tayfun ULU
f60cf8f5bb
Update wifimgr.py
...
to solve windows chrome. tested both now. it's ok
2022-12-31 12:07:45 +03:00
Tayfun ULU
92594fc085
Merge pull request #26 from ColinNg/fix-parameters-in-Safari-on-macOS-and-iOS
...
Fix parameters in Safari on macOS and iOS
2022-12-31 10:17:55 +03:00
Colin Ng
8e92966aec
Fix parameters in Safari on macOS and iOS by reading the form data which appears after `\r\n\r\n` (HTTP POST data was verified with WireShark).
2020-09-22 03:43:34 -07:00
Tayfun ULU
b86a900cf5
Merge pull request #14 from TilCreator/codeBeautification
...
Beautify
2018-05-29 14:47:25 +03:00
Tayfun ULU
f827903e58
Merge pull request #12 from TilCreator/waitForClient
...
Add little delay to make sure the client gets the success message
2018-05-29 13:59:09 +03:00
TilCreator
4ad3bec1ea
Add little delay to make sure the client gets the success message
2018-05-28 20:52:21 +02:00
TilCreator
cc40dc7c0e
Beautify
2018-05-28 20:06:40 +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