Fred Sundvik
|
4b9fccc756
|
Start implement router
|
2016-02-20 13:59:48 +02:00 |
Fred Sundvik
|
5a1600e24f
|
Add link parameter
|
2016-02-20 12:06:23 +02:00 |
Fred Sundvik
|
419908e5ef
|
Hide the byte stuffer state inside it
|
2016-02-17 09:07:38 +02:00 |
Fred Sundvik
|
8d50880686
|
Use memcpy instead of cast to avoid alignment issues
|
2016-02-14 21:49:31 +02:00 |
Fred Sundvik
|
f22d2543b1
|
Rename route_frame to route_incoming_frame
|
2016-02-14 21:34:40 +02:00 |
Fred Sundvik
|
0eb62c4ce6
|
Rename recv_frame to validator_recv_frame
|
2016-02-14 21:33:14 +02:00 |
Fred Sundvik
|
2a6696bd3d
|
Add validator send frame
|
2016-02-14 21:31:01 +02:00 |
Fred Sundvik
|
62058329ff
|
Add crc32 validation of received frames
|
2016-02-14 21:13:16 +02:00 |
Fred Sundvik
|
a3ec3bbef8
|
Start implement frame validator
|
2016-02-14 20:45:59 +02:00 |
Fred Sundvik
|
713465fb41
|
Add some full round trip tests
Mostly to ensure that the receive and send framing works the same
way. Especially for the special case with 254 non-zeros.
|
2016-02-14 20:07:51 +02:00 |
Fred Sundvik
|
6956c177da
|
Add byte stuffing send support for large frames
|
2016-02-14 19:56:22 +02:00 |
Fred Sundvik
|
2f3ea76428
|
Fix name of some unit tests
|
2016-02-14 19:03:34 +02:00 |
Fred Sundvik
|
f3beeb0270
|
Hanlde sending of zero bytes for small packets
|
2016-02-14 18:59:01 +02:00 |
Fred Sundvik
|
a089eaa868
|
Add sending of small frames with no zeroes
|
2016-02-14 17:45:25 +02:00 |
Fred Sundvik
|
26537474ae
|
Add byte stuffer recv handling of too long frames
|
2016-02-14 15:57:44 +02:00 |
Fred Sundvik
|
e8cb6d8023
|
Bytestuffer recv handling of long frames
|
2016-02-14 15:28:57 +02:00 |
Fred Sundvik
|
eefb5b5634
|
Mutiple frame handling for byte stuffer
Also handles unexpected data.
|
2016-02-14 14:25:54 +02:00 |
Fred Sundvik
|
ce3a21cbea
|
Implement receive of valid small byte stuffed frames
|
2016-02-14 14:04:51 +02:00 |
Fred Sundvik
|
8a991a266e
|
Rename files to match what they actually do
Also add validator before routing.
|
2016-02-14 13:05:50 +02:00 |
Fred Sundvik
|
1f1bc183dd
|
Start implementing data_link
|
2016-02-14 12:45:12 +02:00 |
Fred Sundvik
|
3eaddd6514
|
Use cgreen test runner instead of executables
|
2016-02-14 01:58:26 +02:00 |
Fred Sundvik
|
3c6b93a491
|
Add separate makefile for tests
|
2016-02-14 01:31:01 +02:00 |
Fred Sundvik
|
e9a1474bb6
|
Add makefile for compiling and running unit tests
|
2016-02-14 00:20:14 +02:00 |
Fred Sundvik
|
e70cefc12f
|
Add cgreen unit test library and makefile
|
2016-02-14 00:05:58 +02:00 |
fredizzimo
|
ffc425603d
|
Initial commit
|
2016-02-13 23:26:39 +02:00 |