Martin Preuss
b4f16dd987
bmp280: more work on module.
2023-01-30 01:01:19 +01:00
Martin Preuss
8b3a1defd7
bmp280: started working on module.
2023-01-30 00:29:39 +01:00
Martin Preuss
2bfd64a22b
Main: Write COM stats every 10s.
2023-01-29 18:51:30 +01:00
Martin Preuss
94d81cd46b
COM: Enabled packet-in counter.
2023-01-29 18:51:15 +01:00
Martin Preuss
704ca66baa
Utils: Dixed Utils_IncrementCounter32, added Utils_IncrementCounter16.
2023-01-29 18:50:41 +01:00
Martin Preuss
6d59a818a5
LCD: Cleanup.
2023-01-29 18:50:15 +01:00
Martin Preuss
ff8db6a210
LCD: Completed, works now.
2023-01-29 15:47:12 +01:00
Martin Preuss
2f1a915390
Increased I2C speed. Added twiSendByteExpectAck.
2023-01-29 15:46:58 +01:00
Martin Preuss
aac3c16b29
Started working on LCD module.
2023-01-28 15:29:58 +01:00
Martin Preuss
02b09e9ff7
COM: Added COM_EnqueueDebug
2023-01-28 15:29:43 +01:00
Martin Preuss
65afe4c790
aqhome: added some parsing for COM messages.
2023-01-28 00:11:23 +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
d80c0299a3
TWIMASTER: Added two-wire-master code (bitbang).
2023-01-28 00:10:10 +01:00
Martin Preuss
b7b920854b
Updated TODO.
2023-01-26 18:59:39 +01:00
Martin Preuss
74277a286b
Parse SEND STATS message.
2023-01-26 18:58:51 +01:00
Martin Preuss
e8e6df0fba
serial: Set ATTN line high on start. Added checks.
2023-01-26 18:58:32 +01:00
Martin Preuss
d51eda9604
AVR: Perdiodically send SEND STATs message (debug).
2023-01-26 18:57:48 +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
68ce45428f
AqHome: Added a test for sending/receiving asynchronously.
2023-01-25 21:47:06 +01:00
Martin Preuss
3ae1fbbe0d
AVR: For debugging purposes, send a ping every 10s.
2023-01-25 21:46:15 +01:00
Martin Preuss
2d5c4efadc
aqhome: Added test for sending packets to MCU.
2023-01-25 16:29:36 +01:00
Martin Preuss
7c808715b4
aqhome: Use baudrate of 19200 bps.
2023-01-25 16:29:16 +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
31f3e807f0
Changes in TODO.
2023-01-22 17:48:05 +01:00
Martin Preuss
75b14e120e
aqhome: Fixed a bug.
2023-01-22 17:47:42 +01:00
Martin Preuss
e639550d00
aqhome: Added test for serial interface, added api.h.
2023-01-22 17:47:30 +01:00
Martin Preuss
144ef32252
avr: enabled COM_Run.
2023-01-22 17:46:46 +01:00
Martin Preuss
6386153775
avr: added routines to read/write EEPROM.
2023-01-22 17:46:16 +01:00
Martin Preuss
a978bf9686
main: added timer callbacks for 10s and 1m. removed debug code.
2023-01-22 01:06:23 +01:00
Martin Preuss
fed877fbf5
timer: Added callbacks for every 10s and every minute.
2023-01-22 01:05:39 +01:00
Martin Preuss
e364ac0297
com: added field to PIN message (src address)
2023-01-22 01:05:11 +01:00
Martin Preuss
53e60c7304
main: added debug code.
2023-01-22 00:17:21 +01:00
Martin Preuss
127a6d3b48
com: fixed a bug.
2023-01-22 00:17:11 +01:00
Martin Preuss
962d7c18a0
ringbuffer: Fixed a few bugs.
2023-01-22 00:16:42 +01:00
Martin Preuss
aeee0c6f64
Debugging.
2023-01-21 18:11:23 +01:00
Martin Preuss
a4b7b7fe21
Fixed a few bugs.
2023-01-21 18:11:13 +01:00
Martin Preuss
e1131871ef
ringbuffer: alloc no less than 2 bytes.
...
This protects against race conditions. We can now preset the first two
bytes which are used for size and flags by the COM module (currently the
only user of the ringbuffer module).
2023-01-19 23:18:28 +01:00
Martin Preuss
118d713244
com: added remarks.
2023-01-19 23:16:46 +01:00
Martin Preuss
4e310e82d9
Ringbuffer: clear first byte.
2023-01-19 22:08:03 +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
Martin Preuss
db7fd9e333
Minor beautifications.
2023-01-17 20:56:04 +01:00
Martin Preuss
112e15e41b
Initial import.
2023-01-16 23:12:09 +01:00