Commit Graph

40 Commits

Author SHA1 Message Date
Martin Preuss
9b724d5a5f aqhome: adapted to latest changes in node firmware. 2024-09-06 22:52:25 +02:00
Martin Preuss
db19019202 Fixed a bug. 2024-03-09 01:25:11 +01:00
Martin Preuss
0cf3976fc7 re-implemented SetData command.
Allows for string values to be sent.
2024-02-14 23:07:20 +01:00
Martin Preuss
eeffe225ec Improved mqtt device detection and handling. Add command to announce new values. 2024-02-13 23:49:56 +01:00
Martin Preuss
b818065b9b Added function AQH_ValuesDataIpcMsg_GetDatapoints(). 2023-10-21 02:17:48 +02:00
Martin Preuss
f0cfbfccc4 Condensed functions for GetDataPoints to only use one.
Keep HandleGetLastData for now (for older clients).
2023-10-18 15:27:53 +02:00
Martin Preuss
7b89df6153 sort files in 0BUILD files. 2023-10-06 18:05:46 +02:00
Martin Preuss
8613fbdad7 Added handling of timeout cmd arg for valgrind test. fixed memory leaks. 2023-10-05 23:56:53 +02:00
Martin Preuss
f56b25d06f renamed deviceNameForDriver of AQH_VALUE and nameForDriver of AQH_DEVICE. 2023-10-03 13:42:21 +02:00
Martin Preuss
17d4ce5125 Change AQH_Value field NameForDriver to Name and make it only contain the value name.
Previously this field contained the device name, too. This would make it
necessary for drivers to remove the device part of the name when SetValue
is called. Instead the device name is now always provided by the driver in
the appropriate field DeviceNameForDriver.
2023-10-03 13:31:05 +02:00
Martin Preuss
253b3862da add IPC command to modify device info on the server. 2023-10-02 23:22:59 +02:00
Martin Preuss
45da38b64a added devices, added command getdevices. 2023-10-01 23:44:26 +02:00
Martin Preuss
c57472d86e removed unneeded IPC message types. 2023-10-01 21:53:55 +02:00
Martin Preuss
1e27223dfa Simplified IPC code to use less different IPC messages. Share more code. More qork on MQTT code. 2023-10-01 21:31:02 +02:00
Martin Preuss
9b7d043682 Started working on aqhome-nodes which will replace aqhomed. 2023-09-13 23:31:02 +02:00
Martin Preuss
161b979e84 added specific IPC messages and use them instead of more generic messages. 2023-09-13 12:07:11 +02:00
Martin Preuss
11798a39d6 Revert "Use INHERIT mechanism for AQH_Tag16IpcMsg."
This reverts commit 07abc76a7a.
2023-09-12 21:33:00 +02:00
Martin Preuss
07abc76a7a Use INHERIT mechanism for AQH_Tag16IpcMsg. 2023-09-12 21:32:51 +02:00
Martin Preuss
e1639a9d13 Implemented setdata in server and aqhome-tool. 2023-09-12 00:04:37 +02:00
Martin Preuss
71f5ce8c7e Implemented GETLASTDATA in server and aqhome-tool. 2023-09-11 22:55:38 +02:00
Martin Preuss
518a3a53f9 Heavy work on IPC.
We will now have a broker (aqhome-data) which stores data and distributes
value change messages among connected clients.
aqhomed will connect to that broker and send its values there.
aqhome-mqtt will also connect to the broker and send its values there.
Other clients can later connect to check for changes and react according
to rules.
2023-09-10 23:13:03 +02:00
Martin Preuss
2b733a52ca Introduces tag16 ipc messages. 2023-09-10 00:22:31 +02:00
Martin Preuss
3bfb39966f aqhome-data: adding datapoints basically works now. 2023-08-17 00:24:38 +02:00
Martin Preuss
f9ae85b9ad more work on IPC data protocol. 2023-08-14 21:38:21 +02:00
Martin Preuss
5fdb33c192 started working on aqhome-data.
this will be the data daemon storing datapoints, accessable via IPC.
2023-08-14 02:00:37 +02:00
Martin Preuss
51a13f286f started work on IPC protocol for data service. 2023-08-13 17:56:31 +02:00
Martin Preuss
290967a7c5 added generic IPC result message. 2023-08-13 17:56:00 +02:00
Martin Preuss
64938b9cb0 Prepared introduction of multiple ipc protocols. 2023-08-13 14:09:15 +02:00
Martin Preuss
0fd58567fe adapted to latest changes in gwen (msgio API v2 becomes v1). 2023-07-12 19:30:53 +02:00
Martin Preuss
08c3875a26 aqhome: completed adapting to msgio2 interface. 2023-07-12 13:33:04 +02:00
Martin Preuss
39987b31c7 aqhome: re-implemented aqhomed.
- added IPC endpoint2
2023-07-12 01:45:24 +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
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
047a0a9937 aqhome: renamed endpoint_node_ipc_tcp to endpoint_node_ipc_tcpd. 2023-04-09 18:49:13 +02:00
Martin Preuss
07356b6171 aqhome, aqhomed: Adapted to latest changes. 2023-03-28 21:42:28 +02:00
Martin Preuss
58e5816c56 ipc: fixed compiler warnings. 2023-03-24 21:15:28 +01:00
Martin Preuss
796869fc3c aqhome: added IPC messages (FORWARD, VALUE) 2023-03-19 23:21:02 +01:00
Martin Preuss
d1c21322b8 More work on IPC code, added aqhomed daemon. 2023-03-18 23:25:21 +01:00