Pavel Kirienko
|
5ceaafe419
|
TransferReceiver: on-the-fly CRC extraction from multi frame transfers saves 2 to 3 bytes of payload buffers
|
2014-02-12 12:34:48 +04:00 |
|
Pavel Kirienko
|
0533539c7c
|
Starting refactoring of the receiving logic
|
2014-02-12 10:49:32 +04:00 |
|
Pavel Kirienko
|
0bc62a74c9
|
TransferListener partially implemented
|
2014-02-11 21:55:36 +04:00 |
|
Pavel Kirienko
|
0acf1b976b
|
Explicit specialization for empty TransferBuffer (for single frame transfers)
|
2014-02-11 21:44:43 +04:00 |
|
Pavel Kirienko
|
5be2801fa1
|
Dynamic buffer size limitation
|
2014-02-11 21:26:18 +04:00 |
|
Pavel Kirienko
|
031f90f326
|
Added TransferBufferAccessor, saves few bytes on stack/heap
|
2014-02-11 20:13:19 +04:00 |
|
Pavel Kirienko
|
25d285e209
|
Map<>, TransferBufferManager - isEmpty() calls for runtime checks
|
2014-02-11 19:56:09 +04:00 |
|
Pavel Kirienko
|
bb215d3c15
|
Map<>, TransferBufferManager - isEmpty() calls for runtime checks
|
2014-02-11 19:50:15 +04:00 |
|
Pavel Kirienko
|
fe2126536d
|
TransferReceiver: removed field for buffer manager key in order to save some memory (at least 2 bytes)
|
2014-02-11 19:27:52 +04:00 |
|
Pavel Kirienko
|
8a007c8522
|
Fixed destruction/copying of TransferReceiver
|
2014-02-11 19:18:43 +04:00 |
|
Pavel Kirienko
|
4c1a4a32c7
|
Map<>::insert() --> Value*, saves one lookup for TransferListener::handleFrame()
|
2014-02-11 19:11:36 +04:00 |
|
Pavel Kirienko
|
445ec8173c
|
IncomingTransfer for single frame and multi frame transfers
|
2014-02-11 18:08:20 +04:00 |
|
Pavel Kirienko
|
55ea9963f0
|
Minor renaming in TransferReceiver
|
2014-02-11 15:34:19 +04:00 |
|
Pavel Kirienko
|
afd265e8c6
|
TransferReceiver made 32 bit less in size
|
2014-02-11 14:51:23 +04:00 |
|
Pavel Kirienko
|
557278c6ac
|
Added tests for UTC transfer timestamping
|
2014-02-11 14:41:24 +04:00 |
|
Pavel Kirienko
|
696451baca
|
RX frames have two timestamps: monotonic - for protocol timings management; utc - for application-level timestamping
|
2014-02-11 14:32:45 +04:00 |
|
Pavel Kirienko
|
b8f6bf3ffa
|
Minor renaming in DataTypeDescriptor
|
2014-02-11 13:55:50 +04:00 |
|
Pavel Kirienko
|
d4e4f1a416
|
Added CRC initializing constructor
|
2014-02-11 12:36:54 +04:00 |
|
Pavel Kirienko
|
78ff31f9ad
|
TransferBufferManager: using TransferBufferManagerKey instead of plain Node ID, this allows to distinguish transfers of different type from the same Node ID, which is necessary for message broadcasting/unicasting
|
2014-02-11 12:21:25 +04:00 |
|
Pavel Kirienko
|
149ac87a54
|
TransferReceiver - new tests, fixed logic
|
2014-02-10 20:35:35 +04:00 |
|
Pavel Kirienko
|
dae9718903
|
Cleaner copyableness of transfer buffers
|
2014-02-10 18:51:50 +04:00 |
|
Pavel Kirienko
|
e9680c04d0
|
TransferReceiver - fixed assignment operator
|
2014-02-10 18:50:39 +04:00 |
|
Pavel Kirienko
|
b2adf25485
|
Transfer receiver
|
2014-02-10 18:35:58 +04:00 |
|
Pavel Kirienko
|
12111e63d4
|
Frame::toString() with tests
|
2014-02-10 13:39:27 +04:00 |
|
Pavel Kirienko
|
6c76e8a25d
|
Transfer buffer: removed timestamps and cleanup()
|
2014-02-09 21:35:35 +04:00 |
|
Pavel Kirienko
|
017863a32d
|
Explicit noncopyableness, static_assert.hpp --> util.hpp
|
2014-02-09 21:28:10 +04:00 |
|
Pavel Kirienko
|
56a69a4ba0
|
Typo
|
2014-02-07 19:55:02 +04:00 |
|
Pavel Kirienko
|
070e85d2ab
|
Removed TransferIDRegistry in favor of Map<>
|
2014-02-06 22:26:55 +04:00 |
|
Pavel Kirienko
|
ad51ca5c0d
|
KV container for TransferID
|
2014-02-06 22:23:51 +04:00 |
|
Pavel Kirienko
|
7ed9c43e95
|
DataTypeDescriptor, DataTypeHash
|
2014-02-06 15:50:14 +04:00 |
|
Pavel Kirienko
|
544940fd6b
|
CRC16 class
|
2014-02-06 15:30:16 +04:00 |
|
Pavel Kirienko
|
cc991efdc6
|
CanIOManager::send() unblocks as soon as the frame was transmitted, instead of waiting for the entire queue to flush
|
2014-02-06 12:41:09 +04:00 |
|
Pavel Kirienko
|
805fea8234
|
Added prefix TRANSFER_TYPE_ to enum TransferType
|
2014-02-06 12:24:24 +04:00 |
|
Pavel Kirienko
|
46657e8449
|
TransferIDRegistry - grouping by data type kind instead of transfer type
|
2014-02-06 12:23:20 +04:00 |
|
Pavel Kirienko
|
261dd546cd
|
Implemented TransferBufferManager
|
2014-02-06 00:08:51 +04:00 |
|
Pavel Kirienko
|
690e0257dc
|
cppcheck: removed flag --inconclusive as it was producing some stupid false positives
|
2014-02-06 00:08:18 +04:00 |
|
Pavel Kirienko
|
c8c7a86f99
|
Proper destruction of DynamicTransferBuffer
|
2014-02-05 19:35:14 +04:00 |
|
Pavel Kirienko
|
f707e889f9
|
Arch dependent MEM_POOL_BLOCK_SIZE
|
2014-02-05 19:15:06 +04:00 |
|
Pavel Kirienko
|
50d399e5b3
|
Improved test for dynamic transfer buffer
|
2014-02-05 19:07:20 +04:00 |
|
Pavel Kirienko
|
06cb11b6ec
|
Transport buffers - dynamic and static
|
2014-02-05 01:23:02 +04:00 |
|
Pavel Kirienko
|
fb0f44c4b4
|
Renamed AssertDynamicallyAllocatable --> IsDynamicallyAllocatable
|
2014-02-05 01:21:53 +04:00 |
|
Pavel Kirienko
|
f91d8090c9
|
Globally defined and statically checked block size for pool allocator
|
2014-02-04 20:16:50 +04:00 |
|
Pavel Kirienko
|
832f0395bd
|
Transfer ID registry
|
2014-02-04 02:12:24 +04:00 |
|
Pavel Kirienko
|
9559a9506a
|
Static assert for TX queue entry size
|
2014-02-03 14:41:27 +04:00 |
|
Pavel Kirienko
|
366ae6397e
|
Extra tests for RxFrame
|
2014-02-02 23:10:08 +04:00 |
|
Pavel Kirienko
|
479e851f0a
|
RxFrame inherits Frame
|
2014-02-02 23:00:30 +04:00 |
|
Pavel Kirienko
|
6790b04056
|
CanRxFrame inherits CanFrame
|
2014-02-02 22:58:44 +04:00 |
|
Pavel Kirienko
|
8794c7eab9
|
Frame parse()/compile(), some renamings
|
2014-02-02 22:54:27 +04:00 |
|
Pavel Kirienko
|
4bf2b2e81a
|
TransferID class
|
2014-02-02 01:57:54 +04:00 |
|
Pavel Kirienko
|
5252972d3e
|
Basic transfer definitions (untested)
|
2014-02-01 20:03:47 +04:00 |
|