Commit Graph

48 Commits

Author SHA1 Message Date
Martin Preuss
2fa3e9d4ab avr: re-introduce UID to new VALUE messages, set UID in VALUE response messages. 2024-09-06 22:50:32 +02:00
Martin Preuss
5e4ca45443 avr: updated display message. 2024-09-05 23:41:48 +02:00
Martin Preuss
090917ea09 ave: removed unneeded defs, beautifications. 2024-09-05 23:04:24 +02:00
Martin Preuss
7e3523ec42 avr: improved MESSAGES documentation. 2024-09-05 23:04:01 +02:00
Martin Preuss
12a2cc1b8e avr: fixed a typo. 2024-09-05 21:36:38 +02:00
Martin Preuss
6b0972d76e avr: implement setvalue for n12. 2024-09-05 21:36:24 +02:00
Martin Preuss
984cccc25b avr: updated documentation for messages. 2024-09-05 18:55:02 +02:00
Martin Preuss
dbad1ba8a1 avr: removed no longer needee defs. 2024-09-05 18:54:32 +02:00
Martin Preuss
b70e0e0bc2 avr: moved defs to correct files. 2024-09-05 18:54:14 +02:00
Martin Preuss
595a140428 avr: reorder code (only need to load X if there is still something to do). 2024-09-05 18:53:00 +02:00
Martin Preuss
b94105bf78 avr: refactor SEND_VALUE message code. 2024-09-05 18:52:25 +02:00
Martin Preuss
eec544d1b8 avr: send firmware version in FLASH_READY and DEVICE messages. 2024-09-05 18:50:43 +02:00
Martin Preuss
cb6e21715a avr: shorten CPRO_WriteComSendStats 2024-09-05 18:49:19 +02:00
Martin Preuss
026d4a57fb avr: remove unneeded code. 2024-09-05 18:48:27 +02:00
Martin Preuss
7745accfae avr: refactor ctc calculation code. 2024-09-05 18:48:11 +02:00
Martin Preuss
cea3137b5a avr: add LED module LED_SIMPLE
very much shorter version with only basic functionality.
2024-09-05 18:47:32 +02:00
Martin Preuss
a23997db39 avr: adapted README to latest changes. 2024-09-05 03:20:42 +02:00
Martin Preuss
51ba17d43f avr: fixed list of modified regs. 2024-09-05 03:20:21 +02:00
Martin Preuss
575b0285fe avr: optimize for space. 2024-09-05 03:20:00 +02:00
Martin Preuss
277a27516c avr: fixed bootloader address var (depends on device). 2024-09-05 03:19:01 +02:00
Martin Preuss
817ff958b9 avr: use common code. 2024-09-05 03:18:22 +02:00
Martin Preuss
ea2cd6e58e avr: reorganized data to simplify message creation. 2024-09-05 03:17:32 +02:00
Martin Preuss
f2ab0d8b9f avr: fixed comments. 2024-09-04 23:18:20 +02:00
Martin Preuss
e0a6ddd89f avr: removed unneeded def. 2024-09-04 23:18:01 +02:00
Martin Preuss
c2a6d33ff2 avr: reduced code (bootloader now 569 words). 2024-09-01 22:29:08 +02:00
Martin Preuss
8aeb488e2e avr: share code (saves 8 bytes) 2024-09-01 20:19:32 +02:00
Martin Preuss
45cae14f6a avr: reuse code (saves a few more bytes). 2024-09-01 20:12:02 +02:00
Martin Preuss
892d9f5c5a avr: fixed a possible problem (generated machine code is shorter). 2024-09-01 20:11:18 +02:00
Martin Preuss
65e60c2dec Replace multiple wait macros with calls (saves 10 bytes). 2024-09-01 20:06:05 +02:00
Martin Preuss
319cdbce18 added future message defs 2024-08-25 14:27:13 +02:00
Martin Preuss
c800e99dc8 avr: added comments 2024-08-25 14:26:36 +02:00
Martin Preuss
2da873bbb9 avr: fixed comments. 2024-08-25 14:18:56 +02:00
Martin Preuss
9b7d043682 Started working on aqhome-nodes which will replace aqhomed. 2023-09-13 23:31:02 +02:00
Martin Preuss
3e85dc9bd5 avr: removed unused code. 2023-05-14 22:24:05 +02:00
Martin Preuss
54301fed44 avr/reed: moved notification source to REED_Run.
This make the node send the new status almost immediately after change.
2023-05-13 01:13:28 +02:00
Martin Preuss
226922d3e4 avr/reed: implemented tilt detection mode
- implemented tilt detection mode
- added docu
- change the way a VALUE2 message is printed when value type is "door"
2023-05-12 23:19:01 +02:00
Martin Preuss
84403d07f6 avr: added initial module to handle reed contacts.
Detects and reports opening and closing of a window/door.
Nexts step is to allow for external configuration (e.g. standard mode
with one reed contact versus multi-contact mode to detect tilting of a
window/door).
2023-05-12 21:41:39 +02:00
Martin Preuss
45a63ad70b avr: minor reformatting 2023-05-10 21:10:00 +02:00
Martin Preuss
f8d9447fde avr/lcd: renamed some defs. 2023-05-10 21:09:37 +02:00
Martin Preuss
44bed4dc14 avr: fixed some bugs in address handling code
- fixed bugs in jumptable code and calls
  NOTE to self: addresses in flash are WORD addresses, so we need
  to double the address difference when working with bytes!
- correctly set params for call to cproAddressSetTimer
2023-05-10 21:09:08 +02:00
Martin Preuss
4a093905e8 Started working on CNY70 module (doesn't work, yet). 2023-05-02 00:03:41 +02:00
Martin Preuss
383e3ad93d build: added more build files for subfolders. 2023-04-26 17:55:40 +02:00
Martin Preuss
ebd5829435 avr: renamned some filesfrom flash module. handle FLASH_END. 2023-04-22 14:47:16 +02:00
Martin Preuss
270066dd9f avr: cleanup lowlevel com2 routines. 2023-04-22 12:45:06 +02:00
Martin Preuss
462515b566 avr: reduce register use in com2WaitForDataState1ms 2023-04-22 12:12:19 +02:00
Martin Preuss
3b44fb9c5b avr: split code in multiple files and routines. 2023-04-22 11:54:09 +02:00
Martin Preuss
3e6501c834 finished basic new structure. 2023-04-22 00:23:44 +02:00
Martin Preuss
5e12b8ad4e started reorganizing code into subfolders. 2023-04-22 00:04:10 +02:00