Enum nrf24_rs::config::DataPipe [−][src]
#[repr(u8)] pub enum DataPipe { DP0, DP1, DP2, DP3, DP4, DP5, }
Expand description
Representation of the different data pipes through which data can be received.
An nRF24L01 configured as primary RX (PRX) will be able to receive data trough 6 different data pipes. One data pipe will have a unique address but share the same frequency channel. This means that up to 6 different nRF24L01 configured as primary TX (PTX) can communicate with one nRF24L01 configured as PRX, and the nRF24L01 configured as PRX will be able to distinguish between them.
The default assumed data pipe is 0.
Data pipe 0 has a unique 40 bit configurable address. Each of data pipe 1-5 has an 8 bit unique address and shares the 32 most significant address bits.
Notes
In the PTX device data pipe 0 is used to received the acknowledgement, and therefore the receive address for data pipe 0 has to be equal to the transmit address to be able to receive the acknowledgement.
Variants
Expand description
Data pipe 0. Default pipe with a 40 bit configurable address. This pipe is used in TX mode when auto acknowledgement is enabled. On this channel the ACK messages are received.
Expand description
Data pipe 1.
Expand description
Data pipe 2.
Expand description
Data pipe 3.
Expand description
Data pipe 4.
Expand description
Data pipe 5.