aboutsummaryrefslogtreecommitdiff
path: root/main/sock.h
blob: f2db35df0aa2f84dd53b5a3f5d4d03e46cffc574 (plain)
1
2
3
4
5
6
7
8
9
10
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, const char * data, size_t data_size);
void i2c_recv(uint16_t addr, const char * data, size_t data_size);