Commit Graph

281 Commits

Author SHA1 Message Date
e682528e12 TFTP
Change tests from a copy to using the original with mocs
2023-11-12 17:07:20 +01:00
04f9dd3d2c TFTP
Fix some warnings
2023-11-12 17:06:56 +01:00
2bc79c74a7 Merge branch 'main' into feature/llfs-extended-fs-api 2023-11-12 16:23:50 +01:00
64182cd66b Merge branch 'main' into TFTP 2023-11-12 16:21:04 +01:00
9282f524db LCD_api
Change lcd_display_text text paramter from const char* to uint8_t* to remove a generated warning
2023-11-12 16:20:30 +01:00
91bd047201 TFTP
Change header to match the others
2023-11-12 16:14:26 +01:00
7df9f5eeab Merge branch 'main' into TFTP 2023-11-12 16:13:08 +01:00
56554dd337 Merge pull request #9 from Sani7/LCD_API
Lcd api
2023-11-12 16:10:59 +01:00
e52be0e25e Change log header to match the others 2023-11-12 16:09:33 +01:00
435212d807 TFTP
Fix warnings of not type casting a ptr
2023-11-12 14:39:34 +01:00
34c0beb43d TFTP
Forgot to reset the offset to 0 when opening a custom file
2023-11-12 14:36:15 +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
d436447a21 TFTP
Change str_cat* functions to use size_t instead of int
2023-11-12 14:02:37 +01:00
L-diy
edc81ad3a2 Update the llfs documentation 2023-11-12 02:49:03 +01:00
xoreo
821f1429db Implement multi-linewrap in lcd_display_text 2023-11-11 19:01:31 +01:00
d35c79480e TFTP
Change to my own struct for the virtual files
init the index.txt from the tftp_server_init
add tftp_server_deinit + add to docs
2023-11-11 00:46:02 +01:00
e1118908d9 TFTP
Move over to the new fread that Lorentz is implementing
2023-11-11 00:38:39 +01:00
L-diy
af46235eba Extended the llfs file system api
Implemented file extension filters
Implemented newlib stubs to be able to use the POSIX file API
2023-11-11 00:36:18 +01:00
xoreo
94875d729a Implement lcd_display_text 2023-11-10 19:03:42 +01:00
joran2738
123653cc03 adding comments 2023-11-09 19:36:13 +01:00
81da833c5b TFTP
Fix error of not writing the index.txt correctly
2023-11-09 18:07:47 +01:00
xoreo
4ea21bc4cf Fix requested changes from ldiy 2023-11-09 17:50:10 +01:00
8237f7911b TFTP
Remove tftp context from header file
It should not be used anywhere else
2023-11-09 16:56:43 +01:00
73f9228afe TFTP
Add doc to writ function
2023-11-09 16:55:30 +01:00
989b8b620c TFTP
Add virtual files to the file list
2023-11-09 16:47:49 +01:00
6b0707cfa2 TFTP
Fix critical error in open implementation
2023-11-09 16:42:20 +01:00
a1f7b0ad33 TFTP
First implementation of the read and open functions
Write is not implemented yet
2023-11-09 16:39:08 +01:00
Obe Van Lierde
1ec10c0bf4 reading the whole modbusframe 2023-11-09 16:22:05 +01:00
0924eede06 Merge branch 'main' into LCD_API 2023-11-09 15:01:36 +01:00
xoreo
8c71d3a4e2 Changed function name LCD_DrawBmp to WDA_LCD_DrawBmp 2023-11-09 13:26:54 +01:00
xoreo
4ef7514248 Minor modifications to lcd_api.c 2023-11-09 13:08:27 +01:00
xoreo
4bc55f19be Added WDA_LCD_DrawBmp to the LCD_API branch/feature 2023-11-09 12:41:20 +01:00
joran2738
e47772ebf8 Update UDP_broadcast.c 2023-11-08 22:47:25 +01:00
Obe Van Lierde
af1bfd8f09 reading the color values 2023-11-08 19:18:45 +01:00
joran2738
5e464fd5fd added to the udp server code
request is received well, no reply seen in the Qt application, could be because i had to correct code to this version of Qt creator.

Waiting on validation of correct changes from Wim Dams
2023-11-08 16:42:15 +01:00
joran2738
bdf445b708 added some UDP server code
initialising UDP server succesfull, callback running
have not yet tried to receive a broadcast
2023-11-07 23:37:16 +01:00
Obe Van Lierde
7e148b57ea FIX
.cproject file keeps disapearing :(((
2023-11-07 22:36:53 +01:00
Obe Van Lierde
5daa53ee6a save error on l25 2023-11-07 19:34:24 +01:00
Obe Van Lierde
87117ad602 strange error line 22 2023-11-07 17:51:09 +01:00
joran2738
142aad264c err_handler
added an error handler for when a pointer is NULL

got rid of malloc in format reply
2023-11-07 15:09:38 +01:00
joran2738
c8130f8222 Merge branch 'main' into UDP-broadcast 2023-11-07 12:37:56 +01:00
joran2738
4b188b1ff0 changes to LOG_DEBUG tags
changed logger level to info for now in the UDP_broadcast header file ,  debug not needed

fixed some tags
2023-11-07 12:37:21 +01:00
d6322b39ec Add string to header file 2023-11-07 10:05:07 +01:00
f8648eecaa change modbus to modbus-tcp 2023-11-07 01:10:06 +01:00
Obe Van Lierde
1850f1de59 check 2023-11-07 00:41:31 +01:00
joran2738
00678a9382 Update UDP_broadcast.c
problem resolved
2023-11-06 23:59:21 +01:00
joran2738
566bdb00ed change of struct
struct no longer contains allocated arrays

problem with the reply string
2023-11-06 23:57:04 +01:00
59712ff495 Merge branch 'main' into Modbus_TCP_Obe 2023-11-06 23:52:40 +01:00
Obe Van Lierde
83db4dcb5d Fisrt_commit 2023-11-06 23:48:03 +01:00
joran2738
fb1cc1e4bc strcpy -> strncpy
main was before uart init
2023-11-06 23:09:15 +01:00