Commit Graph

12 Commits

Author SHA1 Message Date
Martin Preuss
c65bd60bc5 avr: added flash-related messages. 2023-04-20 00:43:07 +02:00
Martin Preuss
ce85548938 aqhome: added ipc message and calls to set acceptable msg groups for ipc endpoint.
this filters the messages which are copied to the ipc client.
2023-04-17 01:13:59 +02:00
Martin Preuss
d53b061aed aqhome: implemented IPC client, fixed some bugs.
sending a PING request and retrieving the PONG response works now.
2023-04-16 23:22:03 +02:00
Martin Preuss
c00b90bf28 more work on switching to new COM and TIMER stack. 2023-04-13 21:16:51 +02:00
Martin Preuss
c8afd7eb74 aqhome: use new type GWEN_ConnectableMsgEndpoint.
This allows for reconnect of endpoints if necessary.
2023-04-09 00:35:17 +02:00
Martin Preuss
4ba7b49cdd simplified message handling, switch from XOR checksum to CRC8 with polynomial 0x97.
0x97 allows for detection of all 1-3 bit errors in a message of up to
119 bytes
(see https://www.faa.gov/aircraft/air_cert/design_approvals/air_software/media/TC-14-49.pdf)
2023-04-07 23:22:40 +02:00
Martin Preuss
090122a192 reworked com stack.
- prepared for use of CRC8
- organized code in more files
- recv stats message now contains crc errors and io errors
2023-04-07 19:14:05 +02:00
Martin Preuss
f55c379ff8 make db file a config option. 2023-03-30 00:41:29 +02:00
Martin Preuss
5d5446ad90 aqhomed, aqhome: added MQTT endpoint, publish value changes via MQTT. 2023-03-29 16:46:32 +02:00
Martin Preuss
0aaa5969ab aqhome: started parsing messages and extract info for node db. 2023-03-24 21:16:25 +01:00
Martin Preuss
8712958228 aqhome: moved code from msg/endpointmgr to /msgmanager.
This simplified further development.
2023-03-20 22:48:58 +01:00
Martin Preuss
d1c21322b8 More work on IPC code, added aqhomed daemon. 2023-03-18 23:25:21 +01:00