- * $WIZARD_MODULE = {
- * "name" : "pocketcmd",
- * "depends" : ["timer", "pocketbus"],
- * "configuration" : ""
- * }
+ * $WIZ$ module_name = "pocketcmd"
+ * $WIZ$ module_depends = "timer", "pocketbus"
void pocketcmd_init(struct PocketCmdCtx *ctx, struct PocketBusCtx *bus_ctx, pocketbus_addr_t addr, pocketcmd_lookup_t search);
void pocketcmd_poll(struct PocketCmdCtx *ctx);
bool pocketcmd_send(struct PocketCmdCtx *ctx, pocketcmd_t cmd, const void *buf, size_t len, bool has_replay);
void pocketcmd_init(struct PocketCmdCtx *ctx, struct PocketBusCtx *bus_ctx, pocketbus_addr_t addr, pocketcmd_lookup_t search);
void pocketcmd_poll(struct PocketCmdCtx *ctx);
bool pocketcmd_send(struct PocketCmdCtx *ctx, pocketcmd_t cmd, const void *buf, size_t len, bool has_replay);
void pocketcmd_replyNak(struct PocketCmdMsg *msg);
void pocketcmd_replyAck(struct PocketCmdMsg *msg);
void pocketcmd_replyNak(struct PocketCmdMsg *msg);
void pocketcmd_replyAck(struct PocketCmdMsg *msg);
return pocketcmd_send(ctx, cmd, buf, len, false);
}
return pocketcmd_send(ctx, cmd, buf, len, false);
}