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.
This commit is contained in:
@@ -83,7 +83,7 @@ int _addOrEditObject(AQH_HTTP_URLHANDLER *uh, GWEN_DB_NODE *db, int id)
|
||||
|
||||
newValue=AQH_Value_fromDb(db);
|
||||
|
||||
valueName=AQH_Value_GetName(newValue);
|
||||
valueName=AQH_Value_GetNameForSystem(newValue);
|
||||
if (!(valueName && *valueName)) {
|
||||
DBG_INFO(NULL, "Missing value name");
|
||||
AQH_Value_free(newValue);
|
||||
|
||||
Reference in New Issue
Block a user