34 PROTO_IPC_CFG_FIRST = 0,
35 PROTO_IPC_CFG_IOBIND = 1,
36 PROTO_IPC_CFG_RX_PATH = 2,
37 PROTO_IPC_CFG_TX_PATH = 3,
38 PROTO_IPC_CFG_LAST = 31
39 }
typedef EProtoIpcCfg;
45 , rxPath(CONFIG_DAWN_PROTO_IPC_RX_PATH)
46 , txPath(CONFIG_DAWN_PROTO_IPC_TX_PATH)
57#ifdef CONFIG_DAWN_OBJECT_HAS_NAME
58 const char *getClassNameStr()
const override
107 int sendFrame(uint8_t cmd,
const uint8_t *payload,
size_t len)
override;
110 int ensureFifo(
const char *path);
113 int pollBefore(
struct pollfd *pfds, nfds_t nfds);
114 void pollAfter(
int ret);
115 int pollOnReady(
struct pollfd *pfds, nfds_t nfds,
int pollRet);
117 static int cbPollBefore(
void *priv,
struct pollfd *pfds, nfds_t nfds);
118 static void cbPollAfter(
void *priv,
struct pollfd *pfds, nfds_t nfds,
int ret);
119 static int cbPollOnReady(
void *priv,
struct pollfd *pfds, nfds_t nfds,
int pollRet);
static ObjectCfgId objectCfg(uint8_t type, uint16_t cls, uint8_t dtype, bool rw, uint16_t size, uint8_t id)
Construct 32-bit ConfigID from component fields.
static ObjectId objectId(uint8_t type, uint16_t cls, uint8_t dtype, uint8_t flags, uint16_t priv)
Construct 32-bit ObjectID from component fields.