Skip to content

Default configuration

Jan Gromeš edited this page Jul 4, 2020 · 20 revisions

This page shows all the parameters set by default to radio modules and wireless protocols. These parameters will be set after calling module/protocol begin() method with no arguments provided. Modules/protocols without default argument values are not listed.

NOTE: Only the parameters changed by RadioLib are listed here. In addition, the module/protocol may also have other parameters, configuration of which is not implemented in RadioLib. These are not listed on this page - consult the module datasheet or protocol specification.

Legend:

  • Begin method - parameters configurable via begin() method.
  • Other - parameters which are not part of the begin() method, but can be configured using some outher method from the library public API.
  • Inaccessible - parameters which can not be changed by the user.

Modules

CC1101

  • Begin method:
    • Carrier frequency: 868.0 MHz
    • Bit rate: 4.8 kbps
    • Frequency deviation: 48.0 kHz (single-sideband)
    • Receiver bandwidth: 325.0 kHz
    • Output power: 0 dBm
    • Preamble length: 4 bytes
  • Other:
    • Data shaping B-T product: 0 (plain 2-FSK, no Gaussian filter applied)
    • Encoding: whitening (x^9 + x^5 + 1 polynomial)
    • Packet length mode: variable, maximum of CC1101_MAX_PACKET_LENGTH bytes (length byte included in packet)
    • Sync word: 0xD3 0x91, 0 error bits, carrier sense above threshold not required
  • Inaccessible:
    • none

Equivalent to:

CC1101::begin(868.0, 4.8, 48.0, 325.0, 0, 4);
CC1101::setDataShaping(0);
CC1101::setEncoding(2);
CC1101::variablePacketLengthMode(CC1101_MAX_PACKET_LENGTH);
CC1101::setSyncWord(0xD3, 0x91, 0, false);

nRF24

  • Begin method:
    • Carrier frequency: 2400 MHz
    • Data rate: 1000 kbps
    • Output power: -12 dBm
    • Address width: 5 bytes
  • Other:
    • CRC: enabled (16-bit CRC)
    • Auto-acknowledgement: enabled (all pipes)
  • Inaccessible:
    • Retries: 15
    • Retry delay: 1500 us
    • Dynamic payloads: enabled
    • Payload with ACK packets: disabled
    • Dynamic ACK: disabled

Equivalent to:

nRF24::begin(2400, 1000, -12, 5);
nRF24::setCrcFiltering(true);
nRF24::setAutoAck(true);

Protocols

Clone this wiki locally