blob: 679df29cc8f59b7aa4141636846d74979b6dafd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#pragma once
#include "pb-types.h"
#include "pb-buf.h"
#ifdef __cplusplus
extern "C" {
#endif
void pb_send_reply(pb_msg_t * msg, pb_buf_t * reply);
pb_buf_t pb_send_read_req(uint8_t propid);
pb_buf_t pb_send_read_res(uint8_t propid, uint8_t * value, size_t size);
pb_buf_t pb_send_write_req(uint8_t propid, uint8_t * value, size_t size);
pb_buf_t pb_send_state_req();
pb_buf_t pb_send_state_res();
pb_buf_t pb_send_state_set(pb_global_state_t state);
pb_buf_t pb_send_magic_req();
pb_buf_t pb_send_magic_res();
#ifdef __cplusplus
}
#endif
|