Martin Preuss
|
a1f700efc1
|
avr: add an initial wait time before starting the node.
This allows for desyncing of nodes to reduce COM collisions.
|
2023-03-19 13:26:03 +01:00 |
|
Martin Preuss
|
ccb642d703
|
avr: setup module mask to be later reported to a host.
|
2023-03-19 13:24:21 +01:00 |
|
Martin Preuss
|
67ac8af9b4
|
Shortened blink pattern.
|
2023-03-19 12:43:52 +01:00 |
|
Martin Preuss
|
f450ab3e67
|
COM: Check for collisions after half a bit length.
Especially with longer cables we need to give the line some time to safely
raise the signal to high.
|
2023-03-19 12:43:33 +01:00 |
|
Martin Preuss
|
557a678d0b
|
aqhome: added modules field to nodeinfo.
|
2023-03-18 23:25:48 +01:00 |
|
Martin Preuss
|
d1c21322b8
|
More work on IPC code, added aqhomed daemon.
|
2023-03-18 23:25:21 +01:00 |
|
Martin Preuss
|
c26119d34c
|
aqhome: removed uneeded files.
|
2023-03-18 01:58:57 +01:00 |
|
Martin Preuss
|
12d197dae2
|
aqhome: fixed endpoint code. Now works again.
|
2023-03-18 01:57:20 +01:00 |
|
Martin Preuss
|
6507f3896f
|
aqhome: started reworking message code to use gwen's new msgio code.
|
2023-03-18 00:57:03 +01:00 |
|
Martin Preuss
|
8c00c94d9c
|
Improved seeding for random number generation.
|
2023-03-08 23:02:20 +01:00 |
|
Martin Preuss
|
0dab60f4e6
|
Fixed a bug.
|
2023-03-08 23:01:48 +01:00 |
|
Martin Preuss
|
614a942a0e
|
aqhome: Added node db.
|
2023-02-22 21:25:10 +01:00 |
|
Martin Preuss
|
7a1968e962
|
aqhome: More work on endpoint system. Basically works.
|
2023-02-22 17:54:17 +01:00 |
|
Martin Preuss
|
da1ea9c268
|
added AQH_MsgEndpoint_SetFd().
|
2023-02-21 06:19:28 +01:00 |
|
Martin Preuss
|
f727d3bb2f
|
Fixed a bug.
|
2023-02-21 06:19:08 +01:00 |
|
Martin Preuss
|
7dbd50eeba
|
avr: started working on flash module.
|
2023-02-20 23:48:17 +01:00 |
|
Martin Preuss
|
1726796b68
|
TIMER: improved module, added some callbacks.
|
2023-02-20 23:47:56 +01:00 |
|
Martin Preuss
|
8119cba750
|
avr: started working on base system vs. main system.
base system will be a base system which can be used to flash and start
the main system.
|
2023-02-20 23:47:30 +01:00 |
|
Martin Preuss
|
a12d6ae133
|
Work on now deprecated module AQH_Serial.
|
2023-02-20 23:45:39 +01:00 |
|
Martin Preuss
|
caa85edfc6
|
More work on node/pc interface.
- added AQH_MSG_ENDPOINT
- added AQH_MsgEndpointLog
- added AQH_MsgEndpointTcp
- added AQH_MsgEndpointTty
- added AQH_MsgEndpointMgr
|
2023-02-20 23:45:10 +01:00 |
|
Martin Preuss
|
e1bf53e93f
|
Decreased verbosity.
|
2023-02-06 21:55:49 +01:00 |
|
Martin Preuss
|
a764cc60cb
|
Removed code no longer needed.
|
2023-02-06 21:55:36 +01:00 |
|
Martin Preuss
|
d3c279101c
|
main.asm: CLI while measuring and preparing packet. Directly call onSystemStart.
|
2023-02-06 21:55:10 +01:00 |
|
Martin Preuss
|
e6390a17ac
|
comproto: Fixed a bug.
Was not saving low byte of value.
|
2023-02-06 21:54:04 +01:00 |
|
Martin Preuss
|
2ce2aa03c8
|
Always use new shortened address assignment protocol if possible.
|
2023-02-06 21:11:24 +01:00 |
|
Martin Preuss
|
b3b5aaba43
|
main: only send value messages if we have an address.
|
2023-02-06 21:10:41 +01:00 |
|
Martin Preuss
|
df70342ff3
|
AVR: More work on address assignment procedure.
|
2023-02-06 21:09:38 +01:00 |
|
Martin Preuss
|
012e33aea1
|
aqhome: fixed a bug.
|
2023-02-05 23:43:53 +01:00 |
|
Martin Preuss
|
9f45b70e36
|
aqhome: added more parsers.
|
2023-02-05 23:43:43 +01:00 |
|
Martin Preuss
|
0b1e0ea4d5
|
Implemented address assignment protocol.
|
2023-02-05 23:43:16 +01:00 |
|
Martin Preuss
|
a9a81c8515
|
Renamed i2c to twi.
|
2023-02-05 15:39:15 +01:00 |
|
Martin Preuss
|
e5219b2796
|
aqhome: Add debug output for invalid messages.
|
2023-02-05 15:38:55 +01:00 |
|
Martin Preuss
|
2956637605
|
Moved routine sendValueMsg to Main_SendValueMsg in main.asm. Removed debug code.
|
2023-02-05 15:38:32 +01:00 |
|
Martin Preuss
|
746cec2d45
|
comproto: simplified some enqueue routines. Renamed i2c to twi.
- simplified CPRO_EnqueueComSendStats
- simplified CPRO_EnqueueValue
- renamed i2c to twi
|
2023-02-05 15:37:47 +01:00 |
|
Martin Preuss
|
d4081840e0
|
comproto: started simplifying code to prepare and enqueue packets.
|
2023-02-05 14:57:38 +01:00 |
|
Martin Preuss
|
ea83c46cb5
|
0BUILD: Set fuses to allow for self programming.
|
2023-02-04 16:02:59 +01:00 |
|
Martin Preuss
|
88a013650b
|
aqhome: Added parser for needaddr message.
|
2023-02-04 16:02:40 +01:00 |
|
Martin Preuss
|
f58f301423
|
Call UID generator (if necessary).
|
2023-02-04 16:02:18 +01:00 |
|
Martin Preuss
|
910bb78e52
|
COMPROTO: Added CPRO_EnqueueNeedAddress
|
2023-02-04 16:01:48 +01:00 |
|
Martin Preuss
|
1c08bcb1ba
|
Added tests for pseudo random generator.
|
2023-02-04 16:01:32 +01:00 |
|
Martin Preuss
|
9b0831765b
|
Timer: Added callback onSystemStart
|
2023-02-04 16:01:09 +01:00 |
|
Martin Preuss
|
97724bf7fe
|
Utils: Added pseudo random generator.
|
2023-02-04 16:00:50 +01:00 |
|
Martin Preuss
|
2874e18048
|
aqhome: Improved serial port handling, added parsers for different msg types.
|
2023-02-04 00:58:28 +01:00 |
|
Martin Preuss
|
4587dfb9dd
|
base: Started working on maintenance system.
|
2023-02-04 00:57:31 +01:00 |
|
Martin Preuss
|
cc7bc1e669
|
Utils: added code to write FLASH (bot tested, yet).
|
2023-02-04 00:56:59 +01:00 |
|
Martin Preuss
|
5b15b5ef9f
|
Moved protocol stuff into comproto.asm.
|
2023-02-04 00:56:29 +01:00 |
|
Martin Preuss
|
2f4fbf8598
|
main: Fixed a bug.
Need to save R22 if you use it..
|
2023-02-02 00:54:44 +01:00 |
|
Martin Preuss
|
ad086864b4
|
More TODO stuff.
|
2023-02-02 00:45:52 +01:00 |
|
Martin Preuss
|
d74f8f04c2
|
libtest: Parse "value" packets.
|
2023-02-02 00:45:42 +01:00 |
|
Martin Preuss
|
319317c550
|
lib: Minor change.
|
2023-02-02 00:45:21 +01:00 |
|