Go to the source code of this file.
◆ REELTWO_READY
#define REELTWO_READY |
( |
| ) |
|
Value:{ \
if (!sSMQREADY) \
{ \
_REELTWO_READY_; \
sSMQ = &SMQ_SERIAL; \
SMQ_DEBUG_PRINTLN(
"Waiting for agent");
\
} \
}
◆ SMQ_DEBUG_FLUSH
#define SMQ_DEBUG_FLUSH |
( |
|
s | ) |
|
◆ SMQ_DEBUG_PRINT
#define SMQ_DEBUG_PRINT |
( |
|
s | ) |
|
◆ SMQ_DEBUG_PRINT_HEX
#define SMQ_DEBUG_PRINT_HEX |
( |
|
s | ) |
|
◆ SMQ_DEBUG_PRINTLN
#define SMQ_DEBUG_PRINTLN |
( |
|
s | ) |
|
◆ SMQ_DEBUG_PRINTLN_HEX
#define SMQ_DEBUG_PRINTLN_HEX |
( |
|
s | ) |
|
◆ SMQMESSAGE
#define SMQMESSAGE |
( |
|
topic, |
|
|
|
handler |
|
) |
| |
Value:
SMQ::Message SMQMSG_##topic(
SMQID(#topic), SMQHandler_##topic); \
SMQMSG_FUNC_DECL(topic) {
UNUSED_ARG(msg) handler }
◆ SMQMSG_FUNC_DECL
#define SMQMSG_FUNC_DECL |
( |
|
topic | ) |
static void SMQHandler_##topic(SMQ::Message& msg) |
◆ USE_SMQ
◆ msg_id
◆ smq_id
◆ SMQMessageHandler
typedef void(* SMQMessageHandler) (class SMQ::Message &msg) |