Commit Graph

532 Commits

Author SHA1 Message Date
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
f16e92b7d8 tcp_cmd
Move over to internal (small) buffer because pbuf data is not null terminated
2023-12-27 12:57:30 +01:00
16c40ce7fe tcp_cmd
change null termination from realloc to internal array
2023-12-27 12:57:30 +01:00
6ceee577de tcp_cmd
Make sure p->payload is null terminated
2023-12-27 12:57:30 +01:00
56846b7643 tcp_cmd
fix spacing in print help
2023-12-27 12:57:30 +01:00
2508d365c3 tcp_cmd
Add docs for the version in test/
2023-12-27 12:57:30 +01:00
42675a5fe1 testing for tcp_cmd
add testing files
2023-12-27 12:57:30 +01:00
843c234bcf tcp_cmd
add testing capabilities to header file
2023-12-27 12:57:30 +01:00
e9bcf0e712 tcp_cmd
change include from <> to ""
fix some aligning of the tcp_cmd_print_help
remove endptr
cast strtoul
cast lcd_display_text
2023-12-27 12:57:11 +01:00
2baa820683 tcp_cmd
convert text to english
2023-12-27 12:57:11 +01:00
a784f3c33f tcp_cmd
create wrapper for tcp_write function
create print header and help function
2023-12-27 12:57:11 +01:00
9cc94f25f2 tcp_cmd
remove tcp_buffer
2023-12-27 12:56:45 +01:00
Roelandts_Gert
3cfb22f590 Added flags to tcp_write 2023-12-27 12:56:45 +01:00
Roelandts_Gert
e924f2b82d Update tcp_cmd.c 2023-12-27 12:56:23 +01:00
Roelandts_Gert
31e761300a Update tcp_cmd.c 2023-12-27 12:56:23 +01:00
Roelandts_Gert
fb44367da7 Fixed lcd_display_text 2023-12-27 12:56:23 +01:00
Roelandts_Gert
6de8684d89 renamed files from cmd to tcp_cmd 2023-12-27 12:56:23 +01:00
Roelandts_Gert
61d2994e40 Update code to Styleguide 2023-12-27 12:55:52 +01:00