Commit Graph

507 Commits

Author SHA1 Message Date
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
9d18c40a43 tests
Change sources and include to cmake path instead of relative path
2023-12-23 16:17:21 +01:00
Roelandts_Gert
fc87693d64 Merge pull request #35 from Sani7/website_02
Website 02
2023-12-11 14:57:16 +01:00
TeunBugwood
5279b14975 img 0 0 2023-12-11 14:45:27 +01:00
TeunBugwood
af0c6ad421 data file 2023-12-11 14:43:09 +01:00
TeunBugwood
ebd0479cd9 img 2023-12-11 14:40:50 +01:00
TeunBugwood
d1991d9abc updated tabs etc 2023-12-11 14:03:42 +01:00
TeunBugwood
5b0666920c Update main.c 2023-12-11 14:01:24 +01:00
TeunBugwood
cd2839e6ca Update website_backend.c 2023-12-11 13:34:47 +01:00
TeunBugwood
dd176256bb WBE update
Fixed some things that made the site not work. This is not the final version, just for the demo.
2023-12-11 13:31:46 +01:00
TeunBugwood
ec09cb9625 New website branch
previous was doomed, that is why I made a new brench that was updated with the main.
2023-12-11 13:20:19 +01:00
Roelandts_Gert
0fef710b8f Merge pull request #34 from Sani7/TCP-CMD-Interface-2.0
quick fix
2023-12-11 13:17:34 +01:00
Roelandts_Gert
f58c22ba34 quick fix 2023-12-11 13:14:57 +01:00
Roelandts_Gert
c4b21ee3b3 Merge pull request #33 from Sani7/TCP-CMD-Interface-2.0
Tcp cmd interface 2.0
2023-12-11 12:42:36 +01:00
Roelandts_Gert
8707038be0 added md 2023-12-11 12:19:13 +01:00