aqhome: Prepared reorganizing IPC and nodes code around built-in event2 api.
This commit is contained in:
43
aqhome/msg/ipc/nodes/m_ipcn.h
Normal file
43
aqhome/msg/ipc/nodes/m_ipcn.h
Normal file
@@ -0,0 +1,43 @@
|
||||
/****************************************************************************
|
||||
* This file is part of the project AqHome.
|
||||
* AqHome (c) by 2025 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_M_IPCN_H
|
||||
#define AQH_MSG_IPC_NODES_M_IPCN_H
|
||||
|
||||
|
||||
#include <aqhome/api.h>
|
||||
|
||||
#include <gwenhywfar/msg_ipc.h>
|
||||
#include <gwenhywfar/buffer.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
|
||||
#define AQH_IPC_PROTOCOL_NODES_ID 1
|
||||
#define AQH_IPC_PROTOCOL_NODES_VERSION 1
|
||||
|
||||
|
||||
#define AQH_MSGTYPE_IPC_NODES_RESULT 0xf001
|
||||
|
||||
#define AQH_MSGTYPE_IPC_NODES_FORWARD 0xf100
|
||||
#define AQH_MSGTYPE_IPC_NODES_VALUE 0xf200
|
||||
#define AQH_MSGTYPE_IPC_NODES_PING 0xf300
|
||||
#define AQH_MSGTYPE_IPC_NODES_SETACCMSGGRPS 0xf400
|
||||
#define AQH_MSGTYPE_IPC_NODES_GETDEVICES_REQ 0xf500
|
||||
#define AQH_MSGTYPE_IPC_NODES_GETDEVICES_RSP 0xf600
|
||||
|
||||
|
||||
AQHOME_API const char *AQH_IpcnMessage_MsgTypeToChar(uint16_t i);
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user