nRF5 SDK v11.0.0
Data Fields
nrf_esb_address_t Struct Reference

Enhanced ShockBurst addresses. More...

#include <nrf_esb.h>

Data Fields

uint8_t base_addr_p0 [4]
 
uint8_t base_addr_p1 [4]
 
uint8_t pipe_prefixes [8]
 
uint8_t num_pipes
 
uint8_t addr_length
 
uint8_t rx_pipes_enabled
 
uint8_t rf_channel
 

Detailed Description

Enhanced ShockBurst addresses.

The module is able to transmit packets with the TX address stored in tx_address. The module can also receive packets from peers with up to eight different tx_addresses stored in esb_addr_p0 - esb_addr_p7. esb_addr_p0 can have 5 arbitrary bytes independent of the other addresses. esb_addr_p1 - esb_addr_p7 will share the same four byte base address found in the last four bytes of esb_addr_p1. They have an independent prefix byte found in esb_addr_p1[0] and esb_addr_p2 - esb_addr_p7.

Field Documentation

uint8_t nrf_esb_address_t::addr_length

Length of address including prefix

uint8_t nrf_esb_address_t::base_addr_p0[4]

Base address for pipe 0 encoded in big endian.

uint8_t nrf_esb_address_t::base_addr_p1[4]

Base address for pipe 1-7 encoded in big endian.

uint8_t nrf_esb_address_t::num_pipes

Number of pipes available.

uint8_t nrf_esb_address_t::pipe_prefixes[8]

Address prefix for pipe P0 to P7.

uint8_t nrf_esb_address_t::rf_channel

Which channel is to be used. Must be in range 0 and 125 to be valid.

uint8_t nrf_esb_address_t::rx_pipes_enabled

Bitfield for enabled pipes.


Documentation feedback | Developer Zone | Updated