Skip to content

Default configuration

Jan Gromeš edited this page Jul 4, 2020 · 18 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.

NOTE: In addition to the values listed below, there might be additional parameters configured not accessible via the library API. These mostly configure the default settings as per module datasheet, to ensure known configuration on start.

IMPORTANT: Some of the parameters ARE NOT a part of the begin() method, and must be set by calling the appropriate configuration method. This is because some of the modules have a lot of configurable parameters, so placing them all into the begin() method would increase potential for ambiguity.

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

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);

Protocols