Commit Graph

15 Commits

Author SHA1 Message Date
Martin Preuss
5b15b5ef9f Moved protocol stuff into comproto.asm. 2023-02-04 00:56:29 +01:00
Martin Preuss
93b71099c4 COM: Added routine COM_EnqueueValue.
This sends a message with a sensor value.
2023-02-02 00:39:29 +01:00
Martin Preuss
94d81cd46b COM: Enabled packet-in counter. 2023-01-29 18:51:15 +01:00
Martin Preuss
02b09e9ff7 COM: Added COM_EnqueueDebug 2023-01-28 15:29:43 +01:00
Martin Preuss
4cbcfd6c01 main: added tests for twi module. COM: added COM_EnqueueI2cBusMember 2023-01-28 00:11:03 +01:00
Martin Preuss
4a54c46ba9 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
348d808706 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
e364ac0297 com: added field to PIN message (src address) 2023-01-22 01:05:11 +01:00
Martin Preuss
127a6d3b48 com: fixed a bug. 2023-01-22 00:17:11 +01:00
Martin Preuss
a4b7b7fe21 Fixed a few bugs. 2023-01-21 18:11:13 +01:00
Martin Preuss
118d713244 com: added remarks. 2023-01-19 23:16:46 +01:00
Martin Preuss
cde7e4bb74 Added COM_EnqueuePing. 2023-01-19 22:07:45 +01:00
Martin Preuss
ad2ff142c4 AVR: More work on COM module. 2023-01-19 00:18:27 +01:00
Martin Preuss
531cf49a6f 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
4eb9dd8777 Started working on COM module. 2023-01-17 20:56:18 +01:00