Commit Graph

1517 Commits

Author SHA1 Message Date
ff47fa191a Communication interface rework
As discussed, open/reOpen not used anymore, replaced by
initializeInterface call.
Using CookieIF.
2020-04-19 15:25:17 +02:00
520ed881bb wrong function call fixed 2020-04-19 15:16:44 +02:00
ce554c615c reduced massive ctor size
this was done by moving zero or nullptr initialization
into the header file
2020-04-19 15:15:33 +02:00
eacedf7ed6 DHB: replyLen in replyMap now
both maps are closer together now as well
2020-04-19 15:01:27 +02:00
74b8c3eef4 new returnvalue DeviceComIF
explicitely setting receivedDataLen to 0 in readReceivedMessage() does
not trigger error anymore
2020-04-19 14:52:27 +02:00
62644bdfc9 DeviceHandlerIF fixed some indentation error
still some unclarities about returnvalues
so I added a comment on what the returnvalues
in DHB and DH interface mean
2020-04-19 14:45:28 +02:00
1ec1d057b8 renamed rmap to com (more generic) 2020-04-19 14:08:20 +02:00
7126c19ee0 Restructured header file
Abstract functions are closer to the top
because they must be implemented and documentation
should be near the top.
Important virtual functions moved up too.
Additional documentation added and existing adapted
to 80 column width.
I tried to reduce the number of included files and sorted them a bit
2020-04-19 14:03:47 +02:00
574d6051ba new returnvalue for scanForReply
to ignore full packet
DeviceCommunicationIF sendMessage function takes const data pointer now
2020-04-19 13:41:43 +02:00
0c0c8ec448 device handler base indentation 2020-04-19 13:29:50 +02:00
eb9f43d202 Merge remote-tracking branch 'upstream/master' into mueller_DeviceHandlerBase_Changes 2020-04-19 13:27:20 +02:00
0cb2abfe7e old cookie added again
will be replaced in separate branch/pull request
2020-04-19 13:26:40 +02:00
abe7239018 reset, splitting up merge request 2020-04-19 13:24:10 +02:00
a1f36e6ae5 added std:: before uint32_t typedef 2020-04-18 15:05:51 +02:00
db34c45b67 removed self-inclusion 2020-04-18 14:16:46 +02:00
9c958c06fe Changed Cookie to CookieIF 2020-04-18 14:10:38 +02:00
81ab5a6914 As discussed, renamed Cookie to CookieIF.
Also added documentation on the purpose of this class
2020-04-18 14:03:37 +02:00
5026517028 info output correction 2020-04-18 13:35:41 +02:00
98c0b2c9ac null replaced by nullptr.
storeID initialization added, all nullptr/0 initializations in header
2020-04-18 13:16:00 +02:00
ad01a36c02 std::flush instead of std::endl 2020-04-17 23:25:08 +02:00
914dec3691 debug output change 2020-04-17 23:22:50 +02:00
2e95906f27 recvBuffer and recvSize initialized 2020-04-17 23:22:38 +02:00
8a6a2bf840 comment deleted 2020-04-17 23:20:58 +02:00
20c67c4aa3 tmtc bridge bugfix:
tm data deleted when overwriting old data
2020-04-17 23:20:47 +02:00
8cb4a9897e tmtc bridge debug output corrected 2020-04-17 23:20:10 +02:00
4a218470cf max number of stored packets lowered 2020-04-17 23:18:16 +02:00
b422ff601a connect and disconnect functions public 2020-04-17 23:17:59 +02:00
f3af2987e6 receiveTc function adapted 2020-04-17 23:17:32 +02:00
c867b83541 doc extended, instructions for sendTm and recvTc 2020-04-17 23:17:04 +02:00
ceb688daf4 tmtc bridge bugfix 2020-04-17 23:14:11 +02:00
2173d43d92 Generic TMTC Bridge added 2020-04-17 23:11:58 +02:00
05c1330b68 Merge branch 'mohr_crc' of fsfw/fsfw into master 2020-04-16 15:27:47 +02:00
2b740a3c0f bugfix 2020-04-09 18:02:42 +02:00
2a72e94d6f new stopwatch :-) 2020-04-08 19:33:01 +02:00
826e2bdb2d Revert "fixed map improvements"
This reverts commit fe246b9bca.
2020-04-06 15:10:23 +02:00
ee23a7c0b5 fix 2020-04-06 14:02:33 +02:00
f28886e970 Moved crc calculation into its own class, renamed function to show which
crc is calculated.
2020-04-06 13:22:42 +02:00
90cba58ded Putting the Cyclic back into CRC
added a parameter to the crc function to supply it with a starting value
for the crc, so one can calculate a crc over mutiple separate parts.
2020-04-06 12:56:32 +02:00
fe246b9bca fixed map improvements 2020-04-06 11:43:37 +02:00
58008c8db5 all fixed slot sequence improvenements, freeRTOS
fix
2020-04-06 11:19:05 +02:00
511c0db8c7 Cookie -> CookieIF, DHB changes
According to changes agreed on 01.04.2020,
slight refactoring of DHB:
requestLen is set to 0 if no respective reply is enabled
2020-04-01 12:43:53 +02:00
ac4275ef05 some minor changes 2020-03-27 14:44:54 +01:00
bfb0234d41 more refactoring 2020-03-24 15:59:08 +01:00
ea41514553 new cookie.cpp + cookieIF.h 2020-03-23 19:17:53 +01:00
59812199fd new cookieIF 2020-03-23 19:16:01 +01:00
029b2133e6 new adaptions for cookie + comIF changes
hook for performOp() added
2020-03-23 18:03:00 +01:00
9d5a30a1f6 Merge branch 'mueller_OSAL_littleBugfix_smallChanges' of KSat/fsfw into master
Fixes a untracked issue with setting the last partner if when the message was not received properly.
2020-02-19 20:02:24 +01:00
a5692079c6 Small possilbe bugfix in MessageQueue.cpp
And other small changes.
Only assign last partner if message receiving was successful.
Some formatting stuff, include in <> notation
doc for task factory free RTOS, high priority means high number
2020-02-15 15:37:00 +01:00
413d659381 slight change 2020-02-15 15:27:06 +01:00
75106e7317 Merge branch 'mueller_CSB_AbstractFunctionsAtTop' of KSat/fsfw into master
Added some comments in Commanding Service Base and moved abstract functions to the top for better visibility.
2020-02-11 16:10:26 +01:00