kopia lustrzana https://github.com/jgromes/RadioLib
Created Default configuration (markdown)
rodzic
d343672015
commit
64fb42b2d7
|
@ -0,0 +1,32 @@
|
|||
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:
|
||||
```c++
|
||||
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
|
Ładowanie…
Reference in New Issue