From 2a5eaad1bcac0f0ff61bd82b6427932cb4d03872 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Mon, 7 Apr 2025 12:50:46 +0800 Subject: Copy working NRFM code. --- rf69/radio.h | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 rf69/radio.h (limited to 'rf69/radio.h') diff --git a/rf69/radio.h b/rf69/radio.h deleted file mode 100644 index 924da2d..0000000 --- a/rf69/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