nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ ESB_DEFAULT_CONFIG

#define ESB_DEFAULT_CONFIG

#include <include/esb.h>

Value:
{ \
.protocol = ESB_PROTOCOL_ESB_DPL, \
.mode = ESB_MODE_PTX, \
.event_handler = 0, \
.bitrate = ESB_BITRATE_2MBPS, \
.crc = ESB_CRC_16BIT, \
.tx_output_power = 0, \
.retransmit_delay = 600, \
.retransmit_count = 3, \
.tx_mode = ESB_TXMODE_AUTO, \
.payload_length = 32, \
.selective_auto_ack = false, \
.use_fast_ramp_up = false \
}
@ ESB_MODE_PTX
Definition: esb.h:102
@ ESB_TXMODE_AUTO
Definition: esb.h:268
@ ESB_CRC_16BIT
Definition: esb.h:134
@ ESB_BITRATE_2MBPS
Definition: esb.h:111
@ ESB_PROTOCOL_ESB_DPL
Definition: esb.h:97

Default radio parameters.

Roughly equal to the nRF24Lxx default parameters except for CRC, which is set to 16 bit, and protocol, which is set to DPL.