37 Commits

Author SHA1 Message Date
luc
98c9eb7a04 sync with devt branch 2016-04-08 17:49:21 +02:00
Luc
9885d2cab9 Fix issues with 2.1.0
break compatibility with 2.0.0
2016-02-28 01:00:41 +01:00
Luc
e4af1950eb Allow to disable TCP data feature
minor fixes:
-Correct logic for web ports due to refactoring
-Duplicate data read from serial if multiple clients
-Improve reliability to reconnect to AP after a restart
-Typo issues
2016-02-02 17:34:15 +08:00
Luc
70228adb3d Code formating using astyle --style=otbs *.h *.cpp *.ino
To get nice looking code with a minimum effort
2016-01-25 23:38:26 +08:00
Luc
326ef1c261 Fix typo issues
Thanks @treepleks
2016-01-19 16:07:47 +08:00
luc
627052ceeb Add basic authentification and OTA update
only web update is supported
2015-11-14 21:48:35 +08:00
luc
a8fd5e06b6 Fix the ESP crash after first flash
seems  wifi_set_phy_mode need to be set before anything
2015-11-02 19:26:47 +08:00
luc
b2f8ab93bc Change EEPROM begin/end to be sure it is open
Update print_config
2015-10-22 21:38:52 +08:00
luc
65ec16f4d5 Add RESET/CONFIG/SAFEMODE to command line
[ESP444]RESET will set default values to EEPROM and restart module
[ESP444]CONFIG will display EEPROM but password
[ESP444]SAFEMODE will switch to safe mode = default mode but without
modifying EEPROM and no restart
2015-10-21 20:38:07 +08:00
luc
7379ac580d Complete rewrite using template and SPIFFS
change to V0.4
2015-10-16 17:49:04 +08:00
luc
10e3cf1674 Fix typo issue - bad copy and past SIG 2015-10-09 22:28:46 +08:00
luc
61ee21a423 Use better ESP8266 check to compile on all ESP8266
as now I can test on NodeMCU 1.0 also
2015-10-02 12:25:43 +08:00
luc
d663f62605 Better restart
Add 30s progress to ensure restart is finished
Hide restart boot loader message redirecting serial output
2015-09-16 17:46:36 +08:00
Luc
283270f660 Add support for captive portal
Need to comment DEBUG and DEBUG_OUTPUT in DNSServer.cpp
2015-09-07 21:26:31 +08:00
Luc
9c04635e15 Enable mDNS for SoftAP
as now feature is working
2015-09-07 20:07:02 +08:00
luc
57b6fb2131 Remove yield calls
they are useless and may bring some conflict in loop
2015-09-02 15:10:32 +08:00
luc
e281d1073f Use FPSTR instead of progmem2char 2015-09-02 13:23:56 +08:00
luc
82cadd9ed8 Rearrange headers and add SPI.h in esp8266.ino
as seems necessary with latest staging module
remove yield in main loop as seems
2015-08-13 11:35:08 +08:00
luc
a18f924153 Add time to flush all clients when restarting
by using a light page without css to load
2015-08-06 12:19:24 +08:00
Luc
2c027d81f7 Add SSDP Support
SSDP protocol work outo the box with window
Module is seen as "ESP Module" serial is Chip ID, and other information
are espressif ones for ESP 01
Not sure if need to set module name in EEPROM to be configurable =>TBD
2015-07-25 05:51:01 +08:00
Luc
9e90ef38b8 Update mDNS with latest version and display IP
Use M117 if any error
2015-07-25 01:53:53 +08:00
Luc
c9c41cb3ad Add 250000 baud rate support
as arduino IDE support it
2015-07-24 23:49:26 +08:00
luc
3aedb9c019 Send M105 only if no temperature is sent
so went printer is heating and automaticaly send temperature no M105 is
necessary
Add some yield() to avoid possible WD triggered
2015-07-13 11:49:20 +08:00
Luc
1046cd2201 Add backbone for command interpretation
no filtering, command pass from SERIAL to TCP, and TCP to SERIAL, but
are also stored to check if there is a [ESPXXX]<param>\n where XXX are
command number and <param> is a sequence of parameters ended by a \n
2015-06-08 21:30:19 +08:00
luc
e87497726a change int to long for baud
both are 4 bytes size but long is more adapted
2015-06-05 09:34:00 +08:00
Luc
026fba1b3e Allow to change web port and data ports
System configuration web page allows to change web port and data port
2015-06-03 20:44:21 +08:00
luc
9a88756b20 Add bridge support based on WifiTelnetToSerial
Remove useless datainterface files
2015-06-03 15:53:20 +08:00
luc
9aaa045347 Add page to configure Access Point
Fix wrong size for SSID/password
Add minimum size for easy change
Workaround missing strncpy_P missig issue
2015-05-29 20:35:08 +08:00
luc
f48e419e0f Use PROGMEM and F() properly
Add function to be able to access to strings stored with PROGMEM, it
save 4k memory vs no usage of PROGMEM
2015-05-27 17:08:47 +08:00
luc
364e37f5ba Update EEPROM content for new settings
Modify EEPROM content to reflect the possible settings
Add a buffer format function to query/write EEPROM instead of always
using string function to save space.
Update Reset/Print Configuration with new settings
Code Cleaning
Some settings stay default as no real add value currently to allow to
change them
2015-05-13 21:58:26 +08:00
luc lebosse
29339aee3c Add Compilation Condition for mDNS
Add Compilation Condition for mDNS  as not mandatory
2015-04-21 11:19:29 +08:00
luc lebosse
d90932a7cb Add mDNS feature in main loop
Add mDNS feature in main loop
2015-04-21 10:40:39 +08:00
luc lebosse
95ffb53b3e Move FW version anf Git link to config.h
Move FW version anf Git link to config.h
2015-04-20 20:37:49 +08:00
luc lebosse
6365055734 Move page Handle definition to class constructor
to avoid to setup handle function for web requests in main setup -
define handles function in class creator
2015-04-18 19:59:22 +08:00
luc lebosse
c74d8235dd Remove Bridge/front end split
as can listen 2 ports can do both together no need to split - so remove
settings and pin
2015-04-18 19:09:32 +08:00
luc lebosse
5b9f3835b9 Add backbone for Web interface and Data Interface
Web Server listen on port 80
Data Bridge listen on port 8888 may need to allow configuration of this
port in settings - TBD
2015-04-17 23:02:28 +08:00
luc lebosse
01e1bcb727 First Code Commit
Basic Setting Function Save/Read from EEPROM
Connection to wifi according settings in EEPROM
Recovery Mode using GPIO2 just after module start to reset settings
2015-04-16 22:03:37 +08:00