summaryrefslogtreecommitdiffstats
path: root/rf_test/radio.h
blob: fe715b2677366626f3993e10c64f833ec8fc361f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef RADIO_H
#define RADIO_H

#include <stdint.h>

struct radio_cfg {
	uint8_t payload_len;
};

void radio_init(struct radio_cfg *cfg);

void radio_send(const char *data, uint8_t n);

uint8_t radio_recv(char *buf, uint8_t n);

#endif