Commit Graph

242 Commits

Author SHA1 Message Date
muellerr 504c8177e8 uninitialized variable 2020-04-24 17:07:22 +02:00
muellerr 2c6b446500 it is done :-)
However, commented outputs are not changed yet.
2020-04-23 19:13:18 +02:00
muellerr 88f229cef9 fifo enhancement 2020-04-23 15:03:55 +02:00
muellerr 07247dbf40 added virtual keyword for init and performOp() 2020-04-23 11:50:13 +02:00
muellerr 3a3960ed1c better names 2020-04-23 10:32:05 +02:00
muellerr ab2794e2d8 minor form changes 2020-04-23 10:31:27 +02:00
muellerr e3a4eca3f9 info output commented out 2020-04-23 10:31:20 +02:00
muellerr d7278c4493 adapting tmtc bridge 2020-04-23 10:31:06 +02:00
muellerr d0ce075e0d added old comment 2020-04-22 18:21:50 +02:00
muellerr 04835587a7 delay variable removed 2020-04-22 18:20:04 +02:00
muellerr 57c225d4fc faulty includes removed 2020-04-22 18:15:45 +02:00
muellerr 7a79fab52a receiveTc (almost) empty now 2020-04-21 21:48:47 +02:00
muellerr fdbc5d5c57 com downlink message now debug and commented out 2020-04-21 14:54:04 +02:00
muellerr b252299bdb U. Mohr suggestions worked in
Furthermore, some enhancements added:
delay between sent tm and max number of sent tm per cycle
can be specified
2020-04-21 14:51:26 +02:00
muellerr b78b3ac68a added performOperationHook() 2020-04-19 22:17:14 +02:00
muellerr 225e1b98a0 some bugfixes in cpp file to enable compilation 2020-04-19 22:10:02 +02:00
muellerr 3bd83c00f5 freeRTOS with included with extern"C" 2020-04-19 21:52:13 +02:00
muellerr cee8b4dc37 name slotLengthMs reverted to lengthMs 2020-04-19 21:37:55 +02:00
muellerr 4d64a76b8e Merge remote-tracking branch 'upstream/master' into mueller_FixedSequenceImprovements 2020-04-19 21:36:50 +02:00
muellerr fd100cb994 header function order change
fillCOmmandANdREplyMAp is now closer to its helper functions
2020-04-19 16:10:44 +02:00
muellerr f4c925e671 Merge branch 'mueller_DeviceHandlerBase_API_change_CookieIF' into mueller_DeviceHandlerBase_AllRefactoring 2020-04-19 15:57:39 +02:00
muellerr 7f08bb3506 removed ioboardAddress, max reply Len 2020-04-19 15:54:28 +02:00
muellerr 36dbf6e1ce Merge branch 'mueller_DeviceHandlerBase_ctor_reduction' into mueller_DeviceHandlerBase_AllRefactoring 2020-04-19 15:51:58 +02:00
muellerr 1820ad14b7 API change introduced, using new device comIF
also changed child handler base.
2020-04-19 15:48:17 +02:00
muellerr c8983650f7 Merge branch 'mueller_DeviceHandlerBase_Changes' into mueller_newDeviceCommunicationIF 2020-04-19 15:36:42 +02:00
muellerr bb650ac784 Merge remote-tracking branch 'origin/mueller_CookieToCookieIF' into mueller_newDeviceCommunicationIF 2020-04-19 15:30:14 +02:00
muellerr 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
muellerr 520ed881bb wrong function call fixed 2020-04-19 15:16:44 +02:00
muellerr 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
muellerr eacedf7ed6 DHB: replyLen in replyMap now
both maps are closer together now as well
2020-04-19 15:01:27 +02:00
muellerr 74b8c3eef4 new returnvalue DeviceComIF
explicitely setting receivedDataLen to 0 in readReceivedMessage() does
not trigger error anymore
2020-04-19 14:52:27 +02:00
muellerr 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
muellerr 1ec1d057b8 renamed rmap to com (more generic) 2020-04-19 14:08:20 +02:00
muellerr 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
muellerr 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
muellerr 0c0c8ec448 device handler base indentation 2020-04-19 13:29:50 +02:00
muellerr eb9f43d202 Merge remote-tracking branch 'upstream/master' into mueller_DeviceHandlerBase_Changes 2020-04-19 13:27:20 +02:00
muellerr 0cb2abfe7e old cookie added again
will be replaced in separate branch/pull request
2020-04-19 13:26:40 +02:00
muellerr abe7239018 reset, splitting up merge request 2020-04-19 13:24:10 +02:00
muellerr a1f36e6ae5 added std:: before uint32_t typedef 2020-04-18 15:05:51 +02:00
muellerr db34c45b67 removed self-inclusion 2020-04-18 14:16:46 +02:00
muellerr 9c958c06fe Changed Cookie to CookieIF 2020-04-18 14:10:38 +02:00
muellerr 81ab5a6914 As discussed, renamed Cookie to CookieIF.
Also added documentation on the purpose of this class
2020-04-18 14:03:37 +02:00
muellerr 5026517028 info output correction 2020-04-18 13:35:41 +02:00
muellerr 98c0b2c9ac null replaced by nullptr.
storeID initialization added, all nullptr/0 initializations in header
2020-04-18 13:16:00 +02:00
muellerr ad01a36c02 std::flush instead of std::endl 2020-04-17 23:25:08 +02:00
muellerr 914dec3691 debug output change 2020-04-17 23:22:50 +02:00
muellerr 2e95906f27 recvBuffer and recvSize initialized 2020-04-17 23:22:38 +02:00
muellerr 8a6a2bf840 comment deleted 2020-04-17 23:20:58 +02:00
muellerr 20c67c4aa3 tmtc bridge bugfix:
tm data deleted when overwriting old data
2020-04-17 23:20:47 +02:00