From 50deb9d280254c8e17624b368ea778f69dd86767 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sat, 1 Feb 2025 11:25:19 +0800 Subject: Start work on nRF24L01. --- rf_test/radio.h | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 rf_test/radio.h (limited to 'rf_test/radio.h') diff --git a/rf_test/radio.h b/rf_test/radio.h deleted file mode 100644 index 924da2d..0000000 --- a/rf_test/radio.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef RADIO_H -#define RADIO_H - -#include - -struct radio_cfg { - uint8_t netid; - uint8_t nodeid; - uint8_t payload_len; -}; - -void radio_init(const struct radio_cfg *cfg); - -void radio_set_tx_power(int8_t val); - -void radio_listen(void); - -void radio_send(const char *data, uint8_t n); - -uint8_t radio_recv(char *buf, uint8_t n); - -#endif -- cgit v1.2.3