Prepared introduction of multiple ipc protocols.
This commit is contained in:
37
aqhome/ipc/nodes/ipc_nodes.h
Normal file
37
aqhome/ipc/nodes/ipc_nodes.h
Normal file
@@ -0,0 +1,37 @@
|
||||
/****************************************************************************
|
||||
* This file is part of the project AqHome.
|
||||
* AqHome (c) by 2023 Martin Preuss, all rights reserved.
|
||||
*
|
||||
* The license for this file can be found in the file COPYING which you
|
||||
* should have received along with this file.
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef AQH_MSG_IPC_NODES_H
|
||||
#define AQH_MSG_IPC_NODES_H
|
||||
|
||||
|
||||
#include <aqhome/api.h>
|
||||
|
||||
#include <gwenhywfar/msg_ipc.h>
|
||||
#include <gwenhywfar/buffer.h>
|
||||
|
||||
|
||||
#define AQH_IPC_PROTOCOL_NODES_ID 1
|
||||
#define AQH_IPC_PROTOCOL_NODES_VERSION 1
|
||||
|
||||
|
||||
#define AQH_MSGTYPE_IPC_NODES_FORWARD 0x100
|
||||
#define AQH_MSGTYPE_IPC_NODES_VALUE 0x200
|
||||
#define AQH_MSGTYPE_IPC_NODES_PING 0x300
|
||||
#define AQH_MSGTYPE_IPC_NODES_SETACCMSGGRPS 0x400
|
||||
#define AQH_MSGTYPE_IPC_NODES_GETDEVICES_REQ 0x500
|
||||
#define AQH_MSGTYPE_IPC_NODES_GETDEVICES_RSP 0x600
|
||||
#define AQH_MSGTYPE_IPC_NODES_ERROR 0x700
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user