Martin Preuss
366cffa9f2
added helper scripts.
2023-04-11 21:18:49 +02:00
Martin Preuss
13ccefdd23
add missing include.
2023-04-11 21:18:25 +02:00
Martin Preuss
d54ab25571
change order of calls.
2023-04-11 21:18:13 +02:00
Martin Preuss
b5dc704119
removed idle time calculation (doesn't work so far).
2023-04-10 23:48:24 +02:00
Martin Preuss
eca6fc6efc
avr: try calculating idle times.
2023-04-10 23:33:24 +02:00
Martin Preuss
6c8f8e19b2
avr: cleanup.
2023-04-10 01:41:21 +02:00
Martin Preuss
7d9f3225ef
avr: only include lcd strings if lcs module is used.
2023-04-10 01:02:25 +02:00
Martin Preuss
04ab31ca3d
added message MEMSTATS.
2023-04-10 01:01:48 +02:00
Martin Preuss
84f11398b8
avr: reworked timer code.
...
Allow for more tailored timers.
2023-04-10 01:00:58 +02:00
Martin Preuss
d26f500bba
follow renaming of endpoint_node_ipc_tcp.*
2023-04-09 18:51:02 +02:00
Martin Preuss
b51941cc5a
aqhome: removed unneeded code.
2023-04-09 18:50:30 +02:00
Martin Preuss
55ba84d74a
avr: some formatting.
2023-04-09 18:50:09 +02:00
Martin Preuss
0600a2d9ab
avr: added memstat message.
2023-04-09 18:49:50 +02:00
Martin Preuss
047a0a9937
aqhome: renamed endpoint_node_ipc_tcp to endpoint_node_ipc_tcpd.
2023-04-09 18:49:13 +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
7490167694
avr: cleanup, added labels to calculate module sizes.
2023-04-08 18:18:19 +02:00
Martin Preuss
56c11b959e
avr: add copyright notices.
2023-04-08 13:05:05 +02:00
Martin Preuss
e673a88cf3
avr: added timer entry for every5s
...
This will be used for the window check module.
2023-04-08 03:09:12 +02:00
Martin Preuss
7625a84c08
avr: removed unneeded defs.
2023-04-08 02:49:24 +02:00
Martin Preuss
398f675022
avr: improved timer module.
...
- simplified timer handling. still using cascading counters but in an
extendable way
- added onEvery5m while on it
- renamed everyMinute to every1m (unifies routine names)
- send network stats every 5m, not every minute
2023-04-08 02:23:34 +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
d0dea4aae5
aqhome: report handled messages.
2023-04-06 00:50:52 +02:00
Martin Preuss
9ba94d714b
avr: increased COM buffer size to 24 bytes.
2023-04-05 23:39:45 +02:00
Martin Preuss
1981f7b475
avr: added message format descriptions.
2023-04-05 22:56:11 +02:00
Martin Preuss
f963ff6b7a
avr: started working on flash protocol.
2023-04-05 22:55:21 +02:00
Martin Preuss
981c30602d
avr: adapted to latest changes.
2023-04-05 22:55:01 +02:00
Martin Preuss
d482340def
aqhomed: added debug message.
2023-04-03 23:20:17 +02:00
Martin Preuss
f55c379ff8
make db file a config option.
2023-03-30 00:41:29 +02:00
Martin Preuss
b606eff3f8
adapted to latest changes in gwen.
2023-03-30 00:41:06 +02:00
Martin Preuss
b065b733f7
mqtt: publish messages for recv stats.
2023-03-29 22:02:55 +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
bf4451f3f4
mqtt: added more message types, added test for them.
2023-03-29 00:42:49 +02:00
Martin Preuss
e07e3f2b8a
some formatting.
2023-03-28 21:45:16 +02:00
Martin Preuss
9818060a3d
nodeinfo: add timestamp field.
2023-03-28 21:44:34 +02:00
Martin Preuss
09e676a2e6
si7021: disable si7021ReadFirmwareRevision (doesn't work anyway).
2023-03-28 21:44:10 +02:00
Martin Preuss
3a6e2f60bc
aqhome: started working on MTQQ client.
2023-03-28 21:43:01 +02:00
Martin Preuss
07356b6171
aqhome, aqhomed: Adapted to latest changes.
2023-03-28 21:42:28 +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
58e5816c56
ipc: fixed compiler warnings.
2023-03-24 21:15:28 +01:00
Martin Preuss
764c883edb
build: added debug option.
2023-03-20 22:50:07 +01:00
Martin Preuss
ce899896bf
aqhome: fixed compiler warnings.
2023-03-20 22:49:39 +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
fecf4ab79c
aqhome: implemented new node messages, adapted to firmware changes.
2023-03-19 23:23:14 +01:00
Martin Preuss
3485449e00
avr: moved code outside of ifdef/endif pair (fixes a bug).
2023-03-19 23:22:08 +01:00
Martin Preuss
e5c06c7640
avr: increased number of COM buffers from 4 to 6.
2023-03-19 23:21:40 +01:00
Martin Preuss
796869fc3c
aqhome: added IPC messages (FORWARD, VALUE)
2023-03-19 23:21:02 +01:00
Martin Preuss
c41d6fa45a
avr: added code and messages for device information.
...
- send firmware information in DEVICE message
- introduced new version of VALUE message (sending UID now instead of
timestamp)
- make SENDSTATS and RECVSTATS messages also send UID instead of timestamp
2023-03-19 23:20:16 +01:00
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