Martin Preuss
d7ac2c74fb
aqhome: added plugin which writes received values into files. used by munin.
2023-04-26 17:33:44 +02:00
Martin Preuss
5ba0bdff55
aqhome: fixed memory leaks.
2023-04-26 02:07:00 +02:00
Martin Preuss
3094048e4b
mqtt client: removed unused code.
2023-04-25 00:37:40 +02:00
Martin Preuss
2bc1752597
mqtt: fixed connect issues.
...
no works with connectable endpoint code.
2023-04-25 00:36:40 +02:00
Martin Preuss
8847d051c1
aqhome-tool: more work on getdevices.
2023-04-24 20:36:13 +02:00
Martin Preuss
5f7e192e27
implemented ipc messages getdevices req/rsp
2023-04-22 19:13:59 +02:00
Martin Preuss
1c09127235
aqhome: fixed a bug.
2023-04-22 14:46:40 +02:00
Martin Preuss
97016b21b9
Rebooting and flashing a node now works!
2023-04-21 23:38:44 +02:00
Martin Preuss
02b934c080
aqhome: fixed typos/bugs (in part copy'n'paste errrors)
2023-04-20 23:58:09 +02:00
Martin Preuss
82c7626783
flashing a device via boot loader works now!!
...
- use a simple rjmp to start main firmware
- add buffer size as a parameter for com2ReceivePacketRaw
- fixed bugs in
- Flash_StartPage
- Flash_FinishPage
- Flash_ReadPageIntoPageBuffer
- assume irqs disabled in flash routines
- increase flash receive buffer size to 128
2023-04-20 23:57:13 +02:00
Martin Preuss
c65bd60bc5
avr: added flash-related messages.
2023-04-20 00:43:07 +02:00
Martin Preuss
fd2c4da9ce
aqhome: added FLASH_READY msg.
2023-04-19 15:39:51 +02:00
Martin Preuss
db86d61e33
aqhome: make some parameters const.
2023-04-18 21:17:56 +02:00
Martin Preuss
4e409851f6
aqhome: added lib for hexfiles and flash records.
2023-04-18 19:41:56 +02:00
Martin Preuss
93e89e801e
aqhome: added defines for FLASH messages.
2023-04-17 01:14:18 +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
ded08b8c47
avr: new com2 and timer stack basically works again.
2023-04-12 21:46:34 +02:00
Martin Preuss
069279a037
add draft of value type.
2023-04-11 21:19:35 +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
04ab31ca3d
added message MEMSTATS.
2023-04-10 01:01:48 +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
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
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
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
9818060a3d
nodeinfo: add timestamp field.
2023-03-28 21:44:34 +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
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
796869fc3c
aqhome: added IPC messages (FORWARD, VALUE)
2023-03-19 23:21:02 +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