Commit Graph

8 Commits

Author SHA1 Message Date
Martin Preuss
27a4993f5c aqhome: use new type GWEN_ConnectableMsgEndpoint.
This allows for reconnect of endpoints if necessary.
2023-04-09 00:35:17 +02:00
Martin Preuss
7eb462173c 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
4e1f08b567 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
dc00aae06b make db file a config option. 2023-03-30 00:41:29 +02:00
Martin Preuss
bb3d194b5a aqhomed, aqhome: added MQTT endpoint, publish value changes via MQTT. 2023-03-29 16:46:32 +02:00
Martin Preuss
99aacd5e85 aqhome: started parsing messages and extract info for node db. 2023-03-24 21:16:25 +01:00
Martin Preuss
e0c291b3cb aqhome: moved code from msg/endpointmgr to /msgmanager.
This simplified further development.
2023-03-20 22:48:58 +01:00
Martin Preuss
5e510ea748 More work on IPC code, added aqhomed daemon. 2023-03-18 23:25:21 +01:00