32 PROTO_SERIAL_CFG_FIRST = 0,
33 PROTO_SERIAL_CFG_IOBIND = 1,
34 PROTO_SERIAL_CFG_PATH = 2,
35 PROTO_SERIAL_CFG_BAUD = 3,
36 PROTO_SERIAL_CFG_LAST = 31
37 }
typedef EProtoSerialCfg;
43 , path(CONFIG_DAWN_PROTO_SERIAL_PATH)
44 , baud(CONFIG_DAWN_PROTO_SERIAL_BAUD)
54#ifdef CONFIG_DAWN_OBJECT_HAS_NAME
55 const char *getClassNameStr()
const override
103 int sendFrame(uint8_t cmd,
const uint8_t *payload,
size_t len)
override;
108 int pollBefore(
struct pollfd *pfds, nfds_t nfds);
109 void pollAfter(
int ret);
110 int pollOnReady(
struct pollfd *pfds, nfds_t nfds,
int pollRet);
112 static int cbPollBefore(
void *priv,
struct pollfd *pfds, nfds_t nfds);
113 static void cbPollAfter(
void *priv,
struct pollfd *pfds, nfds_t nfds,
int ret);
114 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.