void pb_send_reply(const pb_msg_t *msg, const pb_buf_t *reply)
Utility function for replying to a message.
Definition pb-send.c:5
pb_buf_t pb_send_state_res()
Create a serialized STATE RES message.
Definition pb-send.c:67
pb_buf_t pb_send_read_req(uint8_t propid)
Create a serialized PROP REQ message.
Definition pb-send.c:9
pb_buf_t pb_send_state_set(pb_global_state_t state)
Create a serialized STATE SET message.
Definition pb-send.c:80
pb_buf_t pb_send_read_res(uint8_t propid, const uint8_t *value, size_t size)
Create a serialized PROP RES message.
Definition pb-send.c:24
pb_buf_t pb_send_magic_res()
Create a serialized MAGIC RES message.
Definition pb-send.c:107
pb_buf_t pb_send_magic_req()
Create a serialized MAGIC REQ message.
Definition pb-send.c:93
pb_buf_t pb_send_state_req()
Create a serialized STATE REQ message.
Definition pb-send.c:54
pb_buf_t pb_send_write_req(uint8_t propid, const uint8_t *value, size_t size)
Create a serialized PROP SET message.
Definition pb-send.c:39
pb_global_state_t
Puzzle module global states.
Definition pb-types.h:73
binary buffer struct
Definition pb-buf.h:18
puzzle bus message header / container (shared by all commands)
Definition pb-types.h:94