Commit graph

21 commits

Author SHA1 Message Date
Morgan Allen
3051420dde important correction in README 2018-09-21 21:38:36 -07:00
Morgan Allen
eb59d7877a log reset. log AP index/count info in connect. 2018-09-21 21:35:34 -07:00
Morgan Allen
b7b28eadec reset .last at the start of main_loop
NOTE this maybe unnceccesary as this get initd to 0 in _add_ap if .last is -1 at that point
2018-09-21 21:34:52 -07:00
Morgan Allen
8ff9dcc43d move tcp and wifi loop inits to _start so _connect can handle only wifi config/connect 2018-09-21 21:33:36 -07:00
Morgan Allen
8655f986ac if last is not initd when an AP is added, set to 0 2018-09-21 21:32:23 -07:00
Morgan Allen
30a0877de7 hoist wifi_manager_connect so it can be called from the handler 2018-09-21 21:31:37 -07:00
Morgan Allen
3e25c915fa add more test ap options 2018-09-21 21:30:58 -07:00
Morgan Allen
fb49e95064 no longer reset from the loop, just announce the connection and sleep a while 2018-09-21 21:30:30 -07:00
Morgan Allen
657a5e44b9 properly start wifi manager 2018-09-21 21:29:41 -07:00
Morgan Allen
4747daef72 basic hashed out README 2018-09-21 19:14:25 -07:00
Morgan Allen
b2a6792610 use defines for event states
this was causing some wonky linking issue I could not figure

esp32-on-air/build/esp32-wifi-manager/libesp32-wifi-manager.a(esp32-wifi-manager.o):(.rodata.AP_AVAILABLE+0x0):
multiple definition of `AP_AVAILABLE'
esp32-on-air/build/main/libmain.a(main.o):(.rodata.AP_AVAILABLE+0x0):
first defined here
esp32-on-air/build/esp32-wifi-manager/libesp32-wifi-manager.a(esp32-wifi-manager.o):(.rodata.WIFI_CONNECTING+0x0):
multiple definition of `WIFI_CONNECTING'
esp32-on-air/build/main/libmain.a(main.o):(.rodata.WIFI_CONNECTING+0x0):
first defined here
esp32-on-air/build/esp32-wifi-manager/libesp32-wifi-manager.a(esp32-wifi-manager.o):(.rodata.WIFI_CONNECTED+0x0):
multiple definition of `WIFI_CONNECTED'
esp32-on-air/build/main/libmain.a(main.o):(.rodata.WIFI_CONNECTED+0x0):
first defined here
2018-09-03 20:31:32 -07:00
Morgan Allen
d941435cb8 make state bits available 2018-09-03 19:53:12 -07:00
Morgan Allen
82f88e28cb return event group handle for wifi manager 2018-09-03 19:52:07 -07:00
Morgan Allen
a1d175fbce oh yeah, you\'ll need that 2018-09-03 19:46:36 -07:00
Morgan Allen
77a93484de not using for now 2018-09-03 15:36:09 -07:00
Morgan Allen
1641bd2be4 sync up test project 2018-09-03 15:35:55 -07:00
Morgan Allen
7ae44b0083 mostly all the things 2018-09-03 15:35:15 -07:00
Morgan Allen
e4e171b314 switched to nvs no longer need memory address 2018-09-03 15:34:16 -07:00
Morgan Allen
7d0963e3f5 use spi_flash_read to load stored config 2018-09-02 17:27:51 -07:00
Morgan Allen
db575da69a include test proejct 2018-09-02 17:14:26 -07:00
Morgan Allen
6fbe6e4ac4 init skeleton commit 2018-09-02 17:10:41 -07:00