Commit Graph

521 Commits

Author SHA1 Message Date
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
Roelandts_Gert
8be959eefd Clear in exit command
clears screen if application is terminated
2023-12-27 12:55:52 +01:00
Roelandts_Gert
e852d29824 Added clear support and cleaned up code 2023-12-27 12:55:52 +01:00
Roelandts_Gert
f11f71020d includes from cmd.c to cmd.h 2023-12-27 12:55:52 +01:00
Roelandts_Gert
1bcd9f1113 Added clear functionality
Added lcd_clear_text and lcd_clear_images infront of each write function to the screen
2023-12-27 12:55:52 +01:00
Roelandts_Gert
398bb2efde Update to setImage command
Added checks to see if file exist in filesystem and if extension is supported (bmp of gif)
2023-12-27 12:55:52 +01:00
Roelandts_Gert
26f2655e3f Added support for setImage command for .bmp files
Implemented code for displaying .bmp images with the steImage command.
2023-12-27 12:55:52 +01:00
Roelandts_Gert
e34b2855ba Implementation of llfs and display API
Implementation of llfs and display API. Using the functions from the llfs and display API in my code
2023-12-27 12:55:52 +01:00
Roelandts_Gert
9f25995c82 Added cmd.c and cmd.h
Functions in main copied to cmd.c
2023-12-27 12:55:52 +01:00
e5273c7012 clangformat everything 2023-12-23 21:37:08 +01:00
e19e7c9253 website backend
fix warning
2023-12-23 16:25:16 +01:00
50fe918561 tests
fix tftp tests
2023-12-23 16:17:36 +01:00