16 uint32_t t = millis();
18 while(!ack && millis() - t < timeout) {
19 ack =
_radio->write(buf, size);
29 uint32_t t = millis();
30 while(!
_radio->available() && millis() - t < timeout) {
33 if(millis() - t >= timeout) {
43 _radio->enableDynamicPayloads();
45 _radio->disableDynamicPayloads();
52 _radio->enableAckPayload();
67 while(
_radio->available()) {
rf24_datarate_e getDataRate()
void setEnableAck(bool enable)
void apply_settings(RCSettings *settings)
bool getEnableDynamicPayload()
void setDataRate(rf24_datarate_e datarate)
uint8_t getStartChannel()
int8_t wait_till_available(unsigned long timeout)
int8_t force_send(void *buf, uint8_t size, unsigned long timeout)
void setEnableAckPayload(bool enable)
void setPayloadSize(uint8_t payload)
void setStartChannel(uint8_t channel)
void setRetryDelay(uint8_t time)
bool getEnableAckPayload()
void setEnableDynamicPayload(bool enable)