diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-18 20:11:44 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-18 20:11:44 +0200 |
commit | 1152ec32b6086c153dc41da59c9c451aa4465995 (patch) | |
tree | de696dc61a4566a75b4df1df907cb1a2da25bd82 /main/sock.h | |
parent | cddfbb715d6f4f9d022d383ab8737b6af57a1d6f (diff) |
WIP send/receive w/ msgpack
Diffstat (limited to 'main/sock.h')
-rw-r--r-- | main/sock.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/main/sock.h b/main/sock.h index dd7fc61..2a73418 100644 --- a/main/sock.h +++ b/main/sock.h @@ -1,5 +1,11 @@ #pragma once +#include <stdint.h> +#include <stddef.h> + /** \brief start listening for TCP socket requests */ void serve_task(); +void i2c_send(uint16_t addr, char* data, size_t data_size); +void i2c_recv(uint16_t addr, char* data, size_t data_size); + |