Commit Graph

444 Commits

Author SHA1 Message Date
Thorsten von Eicken
c82a7a2c6c update readme with esp8266 flashing info v2.2.beta0 2015-12-31 15:55:16 -08:00
Thorsten von Eicken
a0eefa17b3 improve optiboot sync 2015-12-31 11:15:20 -08:00
Thorsten von Eicken
0c6b798f38 Merge pull request #80 from susisstrolch/TvEmaster
syslog: fix UDP timing problems
2015-12-31 10:20:12 -08:00
susisstrolch
077bcaf02d syslog: fixed regression
- #undef SYSLOG_DBG will discard first four syslog messages
- race condition in os_timer_setfn/os_timer_arm lead to
  1226> Fatal exception 9(LoadStoreAlignmentCause):
  1227> epc1=0x4010076e, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000003, depc=0x00000000
- potential loop in syslog_init - fixed by additional state SYSLOG_INITDONE
2015-12-16 19:21:54 +01:00
susisstrolch
de4e5e4df2 syslog.md: add example from ESP bootup 2015-12-15 15:55:59 +01:00
susisstrolch
66258fd48d syslog.md: add example for queuing after reboot 2015-12-15 13:04:14 +01:00
susisstrolch
94d54c140c syslog: fixup
- implement syslog filter
- honour timezone setting
- rework syslog format
- finish (really?) syslog documentation
2015-12-15 12:59:42 +01:00
susisstrolch
0248d1f698 syslog: fixup
- implement syslog filter
- honour timezone setting
- rework syslog format
- finish (really?) syslog documentation
2015-12-15 12:53:40 +01:00
susisstrolch
8791bda62d syslog: fix UDP timing problems
- start README file describing the interface
- add 2ms delay before sending the next package
2015-12-14 09:42:51 +01:00
Thorsten von Eicken
59d4bdf99e fix makefile; update readme 2015-12-13 09:22:43 -08:00
Thorsten von Eicken
88e580c6ee Makefile tweak 2015-12-13 09:01:14 -08:00
Thorsten von Eicken
60d3dbfa33 Merge pull request #72 from brunnels/master
Thank you!
2015-12-13 08:35:00 -08:00
Benjamin Runnels
391481dc43 replaced the other srcElement too 2015-12-10 15:21:34 -06:00
Benjamin Runnels
a4816a7b72 Switched from event.srcElement to event.target for better browser compatibility 2015-12-10 09:44:43 -06:00
Benjamin Runnels
f8eb8b33e0 Fix for services page syslog filter select list
Fix for a couple compiler errors when cycling the different undef and define options in user_config.h
2015-12-10 06:44:52 -06:00
Benjamin Runnels
a6a8866bfe Fixed mdns settings bug 2015-12-09 08:15:43 -06:00
Benjamin Runnels
ac04cc58a8 removed syslog_enable functionality and config
reordered config settings
2015-12-09 07:24:12 -06:00
Benjamin Runnels
a895128c9f Fixed bug with services page submitting on field click
Fixed bug with Makefile when COMPRESS_W_HTMLCOMPRESSOR = no
2015-12-09 06:59:27 -06:00
Benjamin Runnels
3eccd26e76 Normalized Wifi to WiFI.
Fixed button spacing on console clear and log reset buttons
Renamed cgiReboot method to cgiReset and called the proper reset method
Normalized whitespace in cgiflash.c
2015-12-08 15:55:17 -06:00
Benjamin Runnels
ebda951769 Removed unused mdns files 2015-12-07 12:54:48 -06:00
Benjamin Runnels
bfee1cf694 fixes for services 2015-12-07 07:03:10 -06:00
Benjamin Runnels
13bc8019c6 Merge branch 'master' of https://github.com/jeelabs/esp-link
Added services page and moved some things around
2015-12-05 18:06:31 -06:00
Thorsten von Eicken
e97b38ae67 re-insert fixed STA config into Makefile 2015-12-03 22:45:53 -08:00
Thorsten von Eicken
91b35f3488 Merge pull request #73 from susisstrolch/syslog
Thank you!
2015-12-03 22:44:20 -08:00
Thorsten von Eicken
fb90ac5457 enable mdns; tweak wifi info POST 2015-12-03 22:43:32 -08:00
Benjamin Runnels
59eb02daa9 Added in sntp update 2015-12-03 23:43:19 -06:00
Benjamin Runnels
e39ee808c9 DOH! missing semicolon 2015-12-01 15:26:11 -06:00
Benjamin Runnels
b8567ad2ef Updated DBG macros as suggested by susisstrolch 2015-12-01 15:20:20 -06:00
Benjamin Runnels
25ef0e1578 Fixed bug where callbacks were not getting called if the CMD MQTT client called connect while the ESP MQTT client was connected or disconnected. 2015-11-29 09:16:30 -06:00
Benjamin Runnels
a0451b2b7b renamed debug command for consistancy 2015-11-29 09:02:47 -06:00
Benjamin Runnels
26339962bf Updates for SDK 1.5 2015-11-29 08:05:02 -06:00
Benjamin Runnels
5935a30f03 Started adding in standalone mdns implementation 2015-11-26 06:41:29 -06:00
susisstrolch
30ff23c0e2 espmissingincludes.h
encapsulate os_printf macro with do/while to avoid
unwanted side effects during macro expansion
2015-11-24 15:48:52 +01:00
susisstrolch
538e79f1dc fixes/changes after pull request
- changed defaults for Flashconfig
  - SNTP-Server: empty
  - Syslog-Server: empty
  - hostname: reverted to esp-link

- heavy cleanup in syslog.c
  - removed debug messages
  - add local syslog_compose function
2015-11-24 14:06:25 +01:00
susisstrolch
f3dd7368d0 fix rebase / merge errors
- missing LOG_xxx macros in syslog.h
- fixed tag (esp-link) in LOG_xxx macro
2015-11-23 23:45:59 +01:00
susisstrolch
e84900dbc7 syslog - a simple syslog client
syslog UDP messages are send via
syslog(uint8_t facility, uint8_t severity, const char tag[], const char message[], ...);

the syslog function queues any msg on system heap. If heap reaches a minimum size (8kB),
syslog stops queuing.
As soon as Wifi connectivity is available, syslog will send out all queued messages.
Queuing will be reenabled after all pending messages are sent.
2015-11-23 22:37:31 +01:00
susisstrolch
9ec3a30c87 syslog - a simple syslog client 2015-11-23 21:21:37 +01:00
susisstrolch
0cb217046d simple handler for system_os_task/system_os_post
we wrap both functions in much easier ones (register_usr_task, post_usr_task).
register_usr_task requires an os_task_t parameter (the task itself) and returns a
task number (0...MAXUSRTASKS) which is later on used by "post_usr_task".
register_usr_task is self-initializing. no static arrays - malloc only...
2015-11-23 20:47:10 +01:00
susisstrolch
65f22d5dcf merge from origin 2015-11-23 19:46:39 +01:00
Benjamin Runnels
b7ae39ae8d Moved to debug macro for SLIP_DBG and fixed an error when SLIP_DBG was defined
Removed unnecessary stuff
Switched VS project to use sdk 1.4.0 sources for intellisense
2015-11-23 08:01:26 -06:00
Benjamin Runnels
8a93a5eebe Fixed WINDOWS.md 2015-11-22 19:32:13 -06:00
Benjamin Runnels
ed9b11186c MQTT define bugfix
Possilbe mDNS bugfix
Switched to DBG method instead of multiple ifdef in httpd
2015-11-22 11:52:38 -06:00
Thorsten von Eicken
cb75396552 extend reset for esp8266 v2.1.beta6 v2.1.7 2015-11-18 22:17:49 -08:00
Thorsten von Eicken
72118a7627 fix dhcp/static ip switch-over 2015-11-18 22:17:34 -08:00
Thorsten von Eicken
df8afa82d0 make programming reset pulse longer for esp8266 and add notes to readme 2015-11-17 23:32:50 -08:00
Thorsten von Eicken
fe2c74ea3d update readme 2015-11-16 19:01:09 -08:00
Thorsten von Eicken
9ce46d3ccc update readme 2015-11-16 18:53:51 -08:00
Thorsten von Eicken
4e100b0142 optiboot auto-switch baud rate v2.1.beta5 2015-11-15 23:55:58 -08:00
Thorsten von Eicken
c3e1a8a83b improve home page 2015-11-15 22:08:43 -08:00
Thorsten von Eicken
ce05e00bd7 fix pin changes and hostname change 2015-11-15 22:08:32 -08:00