Niek van der Maas
9be43c364a
Telnet/WiFiServer: alternative to ESPAsyncTCP ( #1799 )
* Telnet rewrite, no longer using ESPAsyncTCP
* Support two telnet server implementations
* Clean up diff
* Update types, no free() calls, cleanup
* Use std::unique_ptr
* Fix nullptr checks
* Fix double log with async server
* Common new connection method
* use same connected() check as sync variant
* fixup! use same connected() check as sync variant
* Fix compile issue, close connection in case of timeout and when max connections reached
* Use AyncsClient* in function call
* Allow overriding telnet port + max clients
* Do not allocate 512 bytes by default
* Use TERMINAL_BUFFER_SIZE
5 years ago
Xose Pérez
546c8f09b2
Update Copyright notice
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
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
6 years ago
Max Prokhorov
de7ff7722c
Telnet password setting ( #1382 )
* Telnet auth depends on setting
* use same define suffix as WS_
* add to web
* no initial passwd for core
6 years ago
Xose Pérez
e9644229a1
Fix return value for _telnetWrite
6 years ago
Xose Pérez
261748e5e8
Option to disable password in telnet connections, default is enabled
6 years ago
Max Prokhorov
4423cd59f0
fix telnet client object deletion
6 years ago
Xose Pérez
8c8a268e5c
Added password check to telnet
6 years ago
Xose Pérez
e6570fe1bb
Triple click to enter WPS mode, fast LED blinking
6 years ago
Maxim Prokhorov
5708a23d2f
Immediatly close connection to avoid watchdog
6 years ago
Maxim Prokhorov
99311bbe71
Sometimes telnet spams this sequence
6 years ago
Maxim Prokhorov
ed609e6223
Handle C-d in telnet
6 years ago
Xose Pérez
fa20c47f29
Check which keys should be saved and which ones shouldn't ( #730 )
6 years ago
Xose Pérez
70f82aa2c4
Clear srash info after displaying it. Change copy
6 years ago
Xose Pérez
7a67729db1
Automatically dump info on telnet connection if TERMINAL_SUPPORT is disabled
6 years ago
Xose Pérez
4266bd07f0
Allow telnet access always when using the ESPurna Core image
6 years ago
Xose Pérez
2d2f44d3b5
Reset first telnet command on every connection
6 years ago
Xose Pérez
d69d6bfd54
Skip first garbage message in telnet module
6 years ago
Xose Pérez
2dc2b7d176
Checking code with cppcheck
6 years ago
Xose Pérez
af805ab045
Update copyright notices
6 years ago
Xose Pérez
3518a7bc5e
Websocket callbacks (part 2)
7 years ago
Xose Pérez
2dab43ec5d
Prevent reconnecting when in AP mode if a web session or a telnet session is active
7 years ago
Xose Pérez
64d502b6b6
Option to enable TELNET in STA mode from the Web UI
7 years ago
Xose Pérez
b6aa084529
Fix telnet connection dropping
7 years ago
Xose Pérez
59101eed3c
Accept 'quit' to exit from telnet session
7 years ago
Xose Pérez
b946cf32dd
Telnet support
7 years ago