Martin Preuss
716248c4e1
Implemented address assignment protocol.
2023-02-05 23:43:16 +01:00
Martin Preuss
e0d392c895
Moved protocol stuff into comproto.asm.
2023-02-04 00:56:29 +01:00
Martin Preuss
6bdecd7cc9
COM: Added routine COM_EnqueueValue.
...
This sends a message with a sensor value.
2023-02-02 00:39:29 +01:00
Martin Preuss
8a395cf9c3
COM: Enabled packet-in counter.
2023-01-29 18:51:15 +01:00
Martin Preuss
656cbdd7d4
COM: Added COM_EnqueueDebug
2023-01-28 15:29:43 +01:00
Martin Preuss
77c7a78e7d
main: added tests for twi module. COM: added COM_EnqueueI2cBusMember
2023-01-28 00:11:03 +01:00
Martin Preuss
87b31a4a4b
COM. TIMER: Fixed a bug (note to self: INC/DEC set Z flag, but not C flag!!)
...
- added COM_EnqueueComSendStats
- check for high ATTN line before sending packets
2023-01-26 18:57:20 +01:00
Martin Preuss
51c0be1754
COM: Transformed to use normal buffers but in kind of a ringbuffer way.
...
There are now fixed buffers which are organized in a ringbuffer. This makes
it easier to access data stored in the buffers, also receiving packets is
now way faster with reduced risk of sync problems.
2023-01-25 16:28:36 +01:00
Martin Preuss
9b27bb4921
com: added field to PIN message (src address)
2023-01-22 01:05:11 +01:00
Martin Preuss
a9ff8d2277
com: fixed a bug.
2023-01-22 00:17:11 +01:00
Martin Preuss
b27b1b7301
Fixed a few bugs.
2023-01-21 18:11:13 +01:00
Martin Preuss
d3d4f42b90
com: added remarks.
2023-01-19 23:16:46 +01:00
Martin Preuss
265011de83
Added COM_EnqueuePing.
2023-01-19 22:07:45 +01:00
Martin Preuss
ff734192bb
AVR: More work on COM module.
2023-01-19 00:18:27 +01:00
Martin Preuss
6468e76545
Added and simplified COM module.
...
Directly use pins, no complicated redirections.
Router modules will probably use real UARTs or MCUs programmed as UARTs.
2023-01-18 01:09:31 +01:00
Martin Preuss
12b31972be
Started working on COM module.
2023-01-17 20:56:18 +01:00