aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/pb-send.h
blob: fff995633d96992a46b43437165e5ed0553b8793 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "pb-types.h"
#include "pb-buf.h"

#ifdef __cplusplus
extern "C" {
#endif

pb_buf_t pb_send_req_read(uint8_t propid);
pb_buf_t pb_send_res_read(uint8_t propid, uint8_t * value, size_t size);
pb_buf_t pb_send_req_write(uint8_t propid, uint8_t * value, size_t size);
pb_buf_t pb_send_req_state();
pb_buf_t pb_send_res_state(pb_global_state_t state);
pb_buf_t pb_send_req_set_state(pb_global_state_t state);
pb_buf_t pb_send_req_magic();
pb_buf_t pb_send_res_magic();

#ifdef __cplusplus
}
#endif