aboutsummaryrefslogtreecommitdiff
path: root/main/sock.h
blob: 61828fbfdf57e48121f2e65ea8946141f5003f05 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include <stdint.h>
#include <stddef.h>

//! 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);