Sets the reception parameters.
- Parameters
-
[IN] | modem Radio modem to be used [0: FSK, 1: LoRa] |
[IN] | bandwidth Sets the bandwidth FSK : >= 2600 and <= 250000 Hz LoRa: [0: 125 kHz, 1: 250 kHz, 2: 500 kHz, 3: Reserved] |
[IN] | datarate Sets the Datarate FSK : 600..300000 bits/s LoRa: [6: 64, 7: 128, 8: 256, 9: 512, 10: 1024, 11: 2048, 12: 4096 chips] |
[IN] | coderate Sets the coding rate (LoRa only) FSK : N/A ( set to 0 ) LoRa: [1: 4/5, 2: 4/6, 3: 4/7, 4: 4/8] |
[IN] | bandwidthAfc Sets the AFC Bandwidth (FSK only) FSK : >= 2600 and <= 250000 Hz LoRa: N/A ( set to 0 ) |
[IN] | preambleLen Sets the Preamble length FSK : Number of bytes LoRa: Length in symbols (the hardware adds 4 more symbols) |
[IN] | symbTimeout Sets the RxSingle timeout value FSK : timeout in number of bytes LoRa: timeout in symbols |
[IN] | fixLen Fixed length packets [0: variable, 1: fixed] |
[IN] | payloadLen Sets payload length when fixed length is used |
[IN] | crcOn Enables/Disables the CRC [0: OFF, 1: ON] |
[IN] | FreqHopOn Enables disables the intra-packet frequency hopping FSK : N/A ( set to 0 ) LoRa: [0: OFF, 1: ON] |
[IN] | HopPeriod Number of symbols between each hop FSK : N/A ( set to 0 ) LoRa: Number of symbols |
[IN] | iqInverted Inverts IQ signals (LoRa only) FSK : N/A ( set to 0 ) LoRa: [0: not inverted, 1: inverted] |
[IN] | rxContinuous Sets the reception in continuous mode [false: single mode, true: continuous mode] |