Commit Graph

971 Commits

Author SHA1 Message Date
Robin Müller 36dbf6e1ce Merge branch 'mueller_DeviceHandlerBase_ctor_reduction' into mueller_DeviceHandlerBase_AllRefactoring 2020-04-19 15:51:58 +02:00
Robin Müller 1820ad14b7 API change introduced, using new device comIF
also changed child handler base.
2020-04-19 15:48:17 +02:00
Robin Müller c8983650f7 Merge branch 'mueller_DeviceHandlerBase_Changes' into mueller_newDeviceCommunicationIF 2020-04-19 15:36:42 +02:00
Robin Müller bb650ac784 Merge remote-tracking branch 'origin/mueller_CookieToCookieIF' into mueller_newDeviceCommunicationIF 2020-04-19 15:30:14 +02:00
Robin Müller 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
Robin Müller 520ed881bb wrong function call fixed 2020-04-19 15:16:44 +02:00
Robin Müller 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
Robin Müller eacedf7ed6 DHB: replyLen in replyMap now
both maps are closer together now as well
2020-04-19 15:01:27 +02:00
Robin Müller 74b8c3eef4 new returnvalue DeviceComIF
explicitely setting receivedDataLen to 0 in readReceivedMessage() does
not trigger error anymore
2020-04-19 14:52:27 +02:00
Robin Müller 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
Robin Müller 1ec1d057b8 renamed rmap to com (more generic) 2020-04-19 14:08:20 +02:00
Robin Müller 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
Robin Müller 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
Robin Müller 0c0c8ec448 device handler base indentation 2020-04-19 13:29:50 +02:00
Robin Müller eb9f43d202 Merge remote-tracking branch 'upstream/master' into mueller_DeviceHandlerBase_Changes 2020-04-19 13:27:20 +02:00
Robin Müller 0cb2abfe7e old cookie added again
will be replaced in separate branch/pull request
2020-04-19 13:26:40 +02:00
Robin Müller abe7239018 reset, splitting up merge request 2020-04-19 13:24:10 +02:00
Robin Müller a1f36e6ae5 added std:: before uint32_t typedef 2020-04-18 15:05:51 +02:00
Robin Müller db34c45b67 removed self-inclusion 2020-04-18 14:16:46 +02:00
Robin Müller 9c958c06fe Changed Cookie to CookieIF 2020-04-18 14:10:38 +02:00
Robin Müller 81ab5a6914 As discussed, renamed Cookie to CookieIF.
Also added documentation on the purpose of this class
2020-04-18 14:03:37 +02:00
Robin Müller 5026517028 info output correction 2020-04-18 13:35:41 +02:00
Robin Müller 98c0b2c9ac null replaced by nullptr.
storeID initialization added, all nullptr/0 initializations in header
2020-04-18 13:16:00 +02:00
Robin Müller ad01a36c02 std::flush instead of std::endl 2020-04-17 23:25:08 +02:00
Robin Müller 914dec3691 debug output change 2020-04-17 23:22:50 +02:00
Robin Müller 2e95906f27 recvBuffer and recvSize initialized 2020-04-17 23:22:38 +02:00
Robin Müller 8a6a2bf840 comment deleted 2020-04-17 23:20:58 +02:00
Robin Müller 20c67c4aa3 tmtc bridge bugfix:
tm data deleted when overwriting old data
2020-04-17 23:20:47 +02:00
Robin Müller 8cb4a9897e tmtc bridge debug output corrected 2020-04-17 23:20:10 +02:00
Robin Müller 4a218470cf max number of stored packets lowered 2020-04-17 23:18:16 +02:00
Robin Müller b422ff601a connect and disconnect functions public 2020-04-17 23:17:59 +02:00
Robin Müller f3af2987e6 receiveTc function adapted 2020-04-17 23:17:32 +02:00
Robin Müller c867b83541 doc extended, instructions for sendTm and recvTc 2020-04-17 23:17:04 +02:00
Robin Müller ceb688daf4 tmtc bridge bugfix 2020-04-17 23:14:11 +02:00
Robin Müller 2173d43d92 Generic TMTC Bridge added 2020-04-17 23:11:58 +02:00
Ulrich Mohr 05c1330b68 Merge branch 'mohr_crc' of fsfw/fsfw into master 2020-04-16 15:27:47 +02:00
Robin Müller 2b740a3c0f bugfix 2020-04-09 18:02:42 +02:00
Robin Müller 2a72e94d6f new stopwatch :-) 2020-04-08 19:33:01 +02:00
Robin Müller 826e2bdb2d Revert "fixed map improvements"
This reverts commit fe246b9bca.
2020-04-06 15:10:23 +02:00
Robin Müller ee23a7c0b5 fix 2020-04-06 14:02:33 +02:00
Ulrich Mohr f28886e970 Moved crc calculation into its own class, renamed function to show which
crc is calculated.
2020-04-06 13:22:42 +02:00
Ulrich Mohr 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
Robin Müller fe246b9bca fixed map improvements 2020-04-06 11:43:37 +02:00
Robin Müller 58008c8db5 all fixed slot sequence improvenements, freeRTOS
fix
2020-04-06 11:19:05 +02:00
Robin Müller 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
Robin Müller ac4275ef05 some minor changes 2020-03-27 14:44:54 +01:00
Robin Müller bfb0234d41 more refactoring 2020-03-24 15:59:08 +01:00
Robin Müller ea41514553 new cookie.cpp + cookieIF.h 2020-03-23 19:17:53 +01:00
Robin Müller 59812199fd new cookieIF 2020-03-23 19:16:01 +01:00
Robin Müller 029b2133e6 new adaptions for cookie + comIF changes
hook for performOp() added
2020-03-23 18:03:00 +01:00