19#if defined(ARDUINO_ARCH_NRF52) || defined(ARDUINO_ARCH_NRF52840)
20#include <nrf_to_nrf.h>
25#define PACKET_CNTER 32
29#define MAX_PAYLOAD_SIZE 32
31#define BASE_ADDRESS 0xDEADBEEF00LL
48 byte buffer[MAX_PAYLOAD_SIZE-2];
116 bool addPayload(
const void * data,
const uint8_t size);
155 uint8_t TXpacketCounters[MAX_NODES];
156 uint8_t RXpacketCounters[MAX_NODES];
157 #if defined NRF52_RADIO_LIBRARY
198 RF24_G(uint8_t address, uint8_t _cepin, uint8_t _cspin);
259 void setup(uint8_t address, uint8_t _cepin, uint8_t _cspin);
bool read(packet *_packet)
Definition rf24g.cpp:150
bool write(packet *_packet)
Definition rf24g.cpp:122
RF24_G()
Definition rf24g.cpp:60
bool available()
Definition rf24g.cpp:117
bool setChannel(uint8_t channel)
Definition rf24g.cpp:165
uint8_t getAddress() const
Definition rf24g.cpp:24
void setCnt(uint8_t _cnt)
Definition rf24g.cpp:32
uint8_t getCnt() const
Definition rf24g.cpp:28
bool readPayload(void *data, const uint8_t size)
Definition rf24g.cpp:48
void setAddress(uint8_t _address)
Definition rf24g.cpp:20
bool addPayload(const void *data, const uint8_t size)
Definition rf24g.cpp:36