Commit Graph

549 Commits

Author SHA1 Message Date
b8553067d1 b tcp cmd docs 2026-01-11 14:53:50 +01:00
c0b4a014f5 b tcp cmd
fix error only showing when 1 param is provided
2026-01-11 14:49:23 +01:00
fffbf6e8db tcp_cmd
fix the tests
2023-12-27 13:00:21 +01:00
d627da2999 tcp_cnd
fix warning of casting const to non const
2023-12-27 13:00:21 +01:00
1ec27e9ee3 tcp_cmd
0 is alpha ff is opaque
2023-12-27 13:00:21 +01:00
6bc074a033 tcp_cmd
add capability of using ls as well as listfiles
2023-12-27 13:00:21 +01:00
87b6fecfd0 tcp_cmd
Doxygen: Add in, out
Move some stuff around to have a nicer ordering
2023-12-27 13:00:21 +01:00
3a745af9bf tcp_cmd
change the name of the define/ifdef to make it more obvious what it does
2023-12-27 13:00:21 +01:00
2a4de4fe34 tcp_cmd
split common code for colour conversion into a separate function
2023-12-27 13:00:21 +01:00
86f0a3bedc tcp_cmd
fix bug of tcp_cmd_bg_color writing to color_txt when in argb mode
2023-12-27 13:00:21 +01:00
a37213b128 tcp_cmd
add shift_args and use it in the parser function
2023-12-27 13:00:21 +01:00
992b9f3063 tcp_cmd
fix tests
2023-12-27 13:00:21 +01:00
589f56ecbd tcp_cmd
split parser into separate functions that handle specific commands
2023-12-27 13:00:21 +01:00
bd89deceb6 tcp_cmd
- Add putty compatibility
- Fix debug message with garbage cmd string if you press enter twice by zero initialising variables and checking when printing
2023-12-27 13:00:21 +01:00
5c5fda62e6 tcp_cmd
fix second message of unknown command
2023-12-27 13:00:21 +01:00
76f3044d21 tcp_cmd
fix p->len to p->total_len
2023-12-27 13:00:21 +01:00
f3818e805a tcp_cmd
make default color white text on black background
2023-12-27 13:00:21 +01:00
6ee9e305cc tcp_cmd
update casting of lcd_display_text following the standardisation of the lcd_api
2023-12-27 13:00:21 +01:00
f7dc10c7bb tcp_cmd
Remove author because I rewrote this thing from the tcp_echo example
2023-12-27 13:00:21 +01:00
b9a6566267 tcp_cmd
remove tcp_cmd_get_filename_ext and move over to llfs variant
2023-12-27 13:00:05 +01:00
2d526b899a tcp_cmd
fix some log strings
2023-12-27 13:00:05 +01:00
f8251a3e74 tcp_cmd
fix some usage strings
2023-12-27 13:00:05 +01:00
e42cbc31ba tcp_cmd
add text help for x y mode
2023-12-27 13:00:05 +01:00
a1add6b61b tcp_cmd
add argb capability to color and bgcolor
2023-12-27 13:00:05 +01:00
21a0207873 tcp_cmd
use tcp_cmd_remove_leading_space
2023-12-27 13:00:05 +01:00
b1f952ec58 tcp_cmd
fix tcp_cmd_remove_leading_space if str is null
2023-12-27 13:00:05 +01:00
d5495e2e84 tcp_cmd
fix casting issue
2023-12-27 13:00:05 +01:00
414e53e6e9 tcp_cmd
Add tcp_cmd_remove_leading_space + tests
2023-12-27 13:00:05 +01:00
35656af040 tcp_cmd
fix all tests
2023-12-27 13:00:05 +01:00
8a9df4d883 tcp_cmd
add tcp_cmd_ prefix
2023-12-27 13:00:05 +01:00
12a7221a2e mocs
fix moc of lcd_display_text to match function in lcd_api.h
2023-12-27 13:00:05 +01:00
55ea5b31e1 tcp_cmd
add functions that need to be tested to header file
2023-12-27 13:00:05 +01:00
6a0be6e469 tcp_cmd
fix remove_newline function
2023-12-27 12:59:48 +01:00
5268ad0b7a tcp_cmd
remove \r
2023-12-27 12:59:48 +01:00
1072e349c0 tcp_cmd
After testing
2023-12-27 12:59:48 +01:00
2d345b04c3 tcp_cmd
add error checking to init function
2023-12-27 12:59:48 +01:00
3d51fde427 tcp_cmd
Add doxygen documentation to the functions
2023-12-27 12:59:48 +01:00
9f48f4eef1 tcp_cmd
make some functions static
add static function declaration
2023-12-27 12:59:48 +01:00
d3d6cada0a tcp_cmd
Add doxygen headers
2023-12-27 12:59:22 +01:00
40662b33aa tcp_cmd
add testing of stdout both if moc's in DEBUG mode or not
2023-12-27 12:59:07 +01:00
b7a924719e tcp_cmd
move functions from test file to project
2023-12-27 12:59:07 +01:00
5bc3250c15 tcp_cmd
Move next ptr to the top
2023-12-27 12:57:57 +01:00
ed2e7ef650 tcp_cmd
add return parameter to tcp_cmd_parser to keep the connection open or closed
2023-12-27 12:57:57 +01:00
0f1f041cbf tcp_cmd
format
remove dangling else if when every other thing is if
use Lorenz's way of tcp_recv_cb
2023-12-27 12:57:57 +01:00
9aa53db35f modbus_tcp
add lwip_strerr
fix tcp_close
2023-12-27 12:57:57 +01:00
84f5a61ddf tcp_cmd
found out that my atoi converter didn't work, so I switched back to strtol
2023-12-27 12:57:57 +01:00
9885971549 tcp_cmd
Remov some casting warnings
2023-12-27 12:57:57 +01:00
7c86563242 tcp_cmd
add more dprint in the mocs
2023-12-27 12:57:57 +01:00
edc60bafb8 tcp_cmd
add some unused tags back, when in normal mode this gave some warnings
2023-12-27 12:57:57 +01:00
d7ff0010bd tcp_cmd
add pbuf_copy_partial moc so I don't need if TESTING preprocessor directive
2023-12-27 12:57:48 +01:00