Max Prokhorov
21423431ce
Fixed size json payload & other WS bugfixes ( #1843 )
- update every dynamicjsonbuffer with fixed size constructor argument
- change to ws callback registration to use a class builder (just cosmetic)
- test multiple ws data callbacks for each module
- remove some of the static strings in favour of ws data callback
- improve sensor ws callback data size, remove duplicated strings
- use static buffer in wsDebugSend
- postpone wsSend until loop, implement wsPost to allow other modules to queue message callbacks. remove Ticker based ws callbacks for data
- update WebUI files
5 years ago
Max Prokhorov
aac36d9b0c
Update debugSend / debugSend_P ( #1788 )
- chain debugSend_P into basic _debugSend instead of duplicating code, pass va_list between them
- check if new[] call was successful
- when possible, use stack buffer and fallback to heap buffer only when it is more that 64 chars
5 years ago
Xose Pérez
1e831a0dd8
Fix hardcoded serial objects in _debugSendSerial, terminalLoop and PZEM sensor ( #1573 )
5 years ago
Malachi Soord
c8231860ac
[copyright-update] Update for 2019
5 years ago
Max Prokhorov
b2ad29a660
Revert timestamp prepending, separate debug destinations
* Simply print timestamp for supported destinations
* Update ws destination to support 'prefix' sub-key
* Avoid void casting in telnet module
5 years ago
Max Prokhorov
4c6116a8f8
hide timestamp consts under ifdef
5 years ago
Max Prokhorov
868d153fa4
Compact WS data
* send all ws config at once on start
* reduce ws json overhead by creating message buffer manually
* use k:[values] instead of k1:value1, k2:value2 etc. for lists
5 years ago
Xose Pérez
27e7b9ae89
Move terminal methods to own module
5 years ago
Xose Pérez
6a30360f01
Move crash code to it's own module
5 years ago
Max Prokhorov
89ed0caceb
Avoid overwriting settings in custom_crash_callback
6 years ago
Max Prokhorov
004a485e6f
Defer restart until next loop
6 years ago
Sebastiaan Jansen
ba6eb0165b
revert custom_crash_callback
6 years ago
Sebastiaan Jansen
7c40145424
added PHYX support
6 years ago
Maxim Prokhorov
415649fabb
Check if codacy likes this
6 years ago
Maxim Prokhorov
2357b290a5
Use arduinojson to print to weblog
6 years ago
Xose Pérez
9f817ae2d0
Fix telnet & web debug responsiveness ( #896 )
6 years ago
Xose Pérez
4548cc724c
Using EEPROM_Rotate library
6 years ago
Xose Pérez
91e25ea8ae
Decouple Serial object from SerialInjector ( #787 )
6 years ago
Xose Pérez
b5fd764f81
Renaming
6 years ago
Xose Pérez
68c0320298
Revert "Adding a 1ms delay after UDP send to avoid loosing packets ( #438 )"
This reverts commit 49973d14ca
.
6 years ago
Xose Pérez
2060dd9661
Initial support for syslog messaging
6 years ago
Xose Pérez
448ce2ccb9
Revert "Escape html for weblog in the client"
This reverts commit 8da3f54e91
.
6 years ago
Maxim Prokhorov
8da3f54e91
Escape html for weblog in the client
6 years ago
Xose Pérez
04cdb224ab
Check free heap when DEBUG_WEB_SUPPORT is enabled to prevent resets
6 years ago
Xose Pérez
5f2b22d063
Fix web debug layout. Added command execution from web UI
6 years ago
Lazar Obradovic
e1802de827
Add debug console to Status page.
6 years ago
Xose Pérez
70f82aa2c4
Clear srash info after displaying it. Change copy
6 years ago
Xose Pérez
49973d14ca
Adding a 1ms delay after UDP send to avoid loosing packets ( #438 )
6 years ago
Xose Pérez
a845d96f6c
Check also carriage returns to show timestamp in debug messages
6 years ago
Xose Pérez
8488e7d552
Add timestamp to debug output
6 years ago
Xose Pérez
b605cd43cd
Move hardware code in main file to its own module
6 years ago
Xose Pérez
2dc2b7d176
Checking code with cppcheck
6 years ago
Xose Pérez
e9b8417f9d
Fix crash caused by a delay in UDP debugging code ( #397 )
6 years ago
Xose Pérez
fce278489e
Remove limit to debug message length
6 years ago
Xose Pérez
af805ab045
Update copyright notices
6 years ago
Xose Pérez
d047856be9
Missing dependency
7 years ago
Xose Pérez
dea78d17ce
Free memory in debug
7 years ago
Xose Pérez
502be7732d
Dinamically assign debug messages size
7 years ago
Xose Pérez
84fc259a6f
Build setting to disable system check
7 years ago
Xose Pérez
95459567d9
Small changes, caching some values
7 years ago
Xose Pérez
fe0d85f0a6
Added crash info dump from terminal, based on EspSaveCrash by krzychb
7 years ago
Xose Pérez
b946cf32dd
Telnet support
7 years ago
Xose Pérez
daa5a09058
Check system stability and run only AP and OTA if unstable
7 years ago
Xose Pérez
bcb387da78
Small changes in compile directives
7 years ago
Xose Pérez
8421154791
Fix DEBUG_XXXX_SUPPORT compile checks
7 years ago
Xose Pérez
1c5ebd3e08
Refactoring build flag names
7 years ago
Xose Pérez
eb79642f2e
Major refactor of device flags
7 years ago
Xose Pérez
fc0d050b51
Remove debug messages on websocket events
7 years ago
Xose Pérez
25e7a9e6eb
Allow a little delay in UDP communication after a message sent
7 years ago
Xose Pérez
cc660a5737
Add ellipsis when debug message too long
7 years ago