Commit Graph

318 Commits

Author SHA1 Message Date
6b9f517556 TFTP
Move some log around
2023-12-08 13:31:05 +01:00
27c8d0c0bc tftp
move concatenation from custom functions to string functions
2023-12-07 11:24:05 +01:00
0023659552 tftp
- Remove the suggestion of null terimination of the custom_fread custom_fwrite functions
- Update the tests
2023-12-06 14:58:41 +01:00
d9204ad9ed tftp
try to fix a bug Lorenz told me about
in fread
2023-12-06 08:05:37 +01:00
a8537ba6d4 tftp
try to fix a bug Lorenz told me about
in fwrite
2023-12-06 07:50:24 +01:00
5fd8bb3044 tftp
fix null termination in str_cat_str
fix check if not possible to fit string (did not check if null terminator fits
suggested by Lorenz
2023-12-06 07:50:24 +01:00
Obe Van Lierde
51d0fca23c Merge branch 'Modbus_TCP_Obe' of https://github.com/Sani7/2023-Webservices_And_Applications into Modbus_TCP_Obe 2023-12-05 21:09:48 +01:00
30a3732d64 modbus_tcp
remove newlines from init
2023-12-04 20:52:00 +01:00
2b63720fbf modbus_tcp
Add comment for Obe
2023-12-04 14:55:34 +01:00
Obe Van Lierde
725a29e2d3 Update modbus_tcp.c 2023-12-04 14:54:08 +01:00
e1832cf54e UDP_broadcast
convert owner_name_*_pos to uint32
2023-12-04 11:10:26 +01:00
25c8f5b750 modbus_tcp
change over to the new lcd function so we don't have to loop over the files again
2023-12-03 22:22:08 +01:00
d77fca56b7 lcd_api
Add lcd_draw_img_from_llfs_file and lcd_draw_gif_from_llfs_file
2023-12-03 22:01:14 +01:00
xoreo
0b9c1984ac Switch all position params in LCD_API to uint32_t 2023-12-03 14:51:47 +01:00
0cc34bfd6b LLFS
add llfs_get_filename_ext
2023-12-02 23:01:06 +01:00
7dcc0ff4da Logger
make it so that the logger timestamp is alligned
2023-12-01 18:56:24 +01:00
97783c69c5 Fix almost all compiler warnings
lcd_api: isalpha expects type in so I cast char to int
lcd_api: uint32 in printf where %d instead of %lu
llfs: filter_ok was set but unused so I removed it
tftp: wrong casting char to uint8_t but needed to be cast to const char* instead
2023-12-01 11:31:53 +01:00
b06ec97075 Testing
Update tests so it uses llfs data and lffs
2023-11-29 18:03:04 +01:00
930034d146 Merge pull request #27 from Sani7/Modbus_TCP_Obe
modbus_tcp
2023-11-28 18:55:53 +01:00
5812dce80b modbus_tcp
fix casting of registers from payload
2023-11-28 18:24:19 +01:00
Van Lierde Obe
066aba706c Merge pull request #21 from Sani7/Modbus_TCP_Obe
Modbus tcp obe
2023-11-28 14:47:43 +01:00
3fcb117b73 modbus_tcp
Fix typo
2023-11-28 13:31:47 +01:00
5787a0eda4 modbus_tcp
make the log more usefull
2023-11-28 13:13:17 +01:00
090389ae6f modbus_tcp
format
2023-11-28 13:11:21 +01:00
984f1dbe26 modbus_tcp
checking if ext is null but not utilising it to skip over the strcmp's
2023-11-28 13:10:34 +01:00
103098d2a7 modbus_tcp
remove unused return variable and redundant comments
2023-11-28 13:09:24 +01:00
f0ac068f51 modbus_tcp
Add log if no valid extension is found
2023-11-28 13:08:51 +01:00
fe08ae3109 modbus_tcp
Move duplicate common code outside of the image draw part
2023-11-28 13:06:29 +01:00
0ca78c93ef modbus_tcp
add unused define around arg variable
2023-11-28 12:54:38 +01:00
51eb3cddf7 modbus_tcp
remove redundant variables
2023-11-28 12:54:22 +01:00
13fff0ca70 modbus_tcp
give the register defines more meaning
2023-11-28 12:47:30 +01:00
24226b38cd modbus_tcp
remove comments that bring no extra meaning to the code
2023-11-28 12:45:05 +01:00
349fb1f9a5 modbus_tcp
Change registers from char to uint8_t
2023-11-28 12:41:50 +01:00
33e7d6f4eb modbus_tcp
remove redundant pc variable
2023-11-28 12:40:44 +01:00
a61dcfb5c7 modbus_tcp
Make the tcp_pcb a global static variable
2023-11-28 12:35:51 +01:00
16f356de61 Format 2023-11-27 18:48:27 +01:00
f67a0b48a7 TFTP
Change init to make it more readable
2023-11-27 18:19:49 +01:00
Obe Van Lierde
40cf58b3c8 done 2023-11-27 16:16:35 +01:00
Obe Van Lierde
bff95ef972 Update modbus_tcp.c 2023-11-27 15:37:37 +01:00
Obe Van Lierde
bfb22d4812 change 2023-11-27 15:34:44 +01:00
Obe Van Lierde
c48c86232d done 2023-11-27 15:13:39 +01:00
Obe Van Lierde
88c2d67d88 first buffer overflow 2023-11-27 00:37:32 +01:00
Obe Van Lierde
2b26c52ea6 Update modbus_tcp.c 2023-11-27 00:29:20 +01:00
Obe Van Lierde
1c8f8d7a6a Merge branch 'Modbus_TCP_Obe' of https://github.com/Sani7/2023-Webservices_And_Applications into Modbus_TCP_Obe 2023-11-27 00:05:39 +01:00
Obe Van Lierde
7224bc92d3 fix err 2023-11-27 00:03:28 +01:00
L-diy
01f4b58b2b Reformat modbus_tcp.c and fix some typos 2023-11-27 00:00:22 +01:00
Obe Van Lierde
24b46fa2d8 Merge branch 'Modbus_TCP_Obe' of https://github.com/Sani7/2023-Webservices_And_Applications into Modbus_TCP_Obe 2023-11-26 23:38:07 +01:00
Obe Van Lierde
71733da9d6 fix... 2023-11-26 23:30:55 +01:00
L-diy
e4b50559c4 Reformat modbus_tcp.c/h and fix some typos 2023-11-26 22:36:57 +01:00
2090b039d4 Merge branch 'main' into Modbus_TCP_Obe 2023-11-26 22:32:44 +01:00