Module config

Source
Expand description

Different structs and values for configuration of the chip.

To construct a representation of your config, see NrfConfig.

§Default values

All these options have a default value:

  • addr_width: address width of 5 bytes.
  • ack_payloads_enabled: false: acknowledgement payloads are disabled by default.
  • auto_retry: enabled, will wait 1586µs on ack, and will retry 15 times.
  • channel: channel 76.
  • crc_encoding_scheme: encoding scheme with 2 bytes.
  • data_rate: 1Mbps.
  • payload_size: static payload size of MAX_PAYLOAD_SIZE bytes.
  • pa_level: min amplification level.

Structs§

AutoRetransmission
Configuration of automatic retransmission consisting of a retransmit delay and a retransmission count.
NrfConfig
Configuration builder struct for NRF chip.

Enums§

AddressWidth
Address width for the reading and writing pipes.
DataPipe
Representation of the different data pipes through which data can be received.
DataRate
Configured speed at which data will be sent.
EncodingScheme
Cyclic Redundancy Check encoding scheme.
PALevel
Different RF power levels. The higher the level the bigger range, but the more the current consumption.
PayloadSize
Enum representing the payload size.