I have two 52840's PTX/RTX and I am only getting 120m range, direct line of sight, which is much lower than I expected. I made minimal changes to the ESB sample code. Is there something I am missing or is 120m the best I should expect?
struct esb_config config = ESB_DEFAULT_CONFIG; config.protocol = ESB_PROTOCOL_ESB_DPL; config.retransmit_delay = 600; config.bitrate = ESB_BITRATE_1MBPS; config.event_handler = ptx_event_handler; config.mode = ESB_MODE_PTX; config.selective_auto_ack = true; config.retransmit_count = 10; config.payload_length = CONFIG_ESB_MAX_PAYLOAD_LENGTH; // CONFIG_ESB_MAX_PAYLOAD_LENGTH = 64 config.use_fast_ramp_up = false; // config.tx_output_power = 0; config.tx_output_power = RADIO_TXPOWER_TXPOWER_Pos8dBm; esb_enable_pipes(8); esb_set_rf_channel(40); tx_payload.pipe = 0;