Commit Graph

36 Commits

Author SHA1 Message Date
fffbf6e8db tcp_cmd
fix the tests
2023-12-27 13:00:21 +01:00
992b9f3063 tcp_cmd
fix tests
2023-12-27 13:00:21 +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
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
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
42675a5fe1 testing for tcp_cmd
add testing files
2023-12-27 12:57:30 +01:00
e5273c7012 clangformat everything 2023-12-23 21:37:08 +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
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
fc997e1aac tftp
fix tests
2023-12-06 08:23:12 +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
b06ec97075 Testing
Update tests so it uses llfs data and lffs
2023-11-29 18:03:04 +01:00
9cd69dc6f8 TFTP
Fix tests
2023-11-28 13:44:34 +01:00
c9eedde905 TFTP
- Change to lcd_draw_bmp_img
- Add moc for this function
2023-11-14 17:30:08 +01:00
40bc58bdd9 TFTP
Update mocs, header and fix an error
2023-11-13 18:21:14 +01:00
623cf3749c TFTP
Add tftp_custom_write and test functions
2023-11-13 16:03:14 +01:00
e682528e12 TFTP
Change tests from a copy to using the original with mocs
2023-11-12 17:07:20 +01:00
693865a70f TFTP
Add extra test case for tftp_custom_fread
2023-11-12 14:46:52 +01:00
7c76a37ec9 TFTP
Add custom fseek and fread
Add test framework gtest and added my custom fread and fseek tests + functions
2023-11-12 14:33:59 +01:00