- increase delay (100ms) after successfull syslog host lookup to avoid
loss of UDP packages
- use own espconn for syslog host lookup
- fix horrible memory hole because of non-working mem_trim
- reuse warning datagram in case of heap overflow
- use own espconn for syslog-host lookup
- remove some debug messages
- #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
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
- 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
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.
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...