From a50cdd87693cdd2a8b9d1a954e2818dc7f4f415a Mon Sep 17 00:00:00 2001 From: jgromes Date: Sun, 23 Apr 2023 17:44:35 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=209be1c?= =?UTF-8?q?dfa4198e88966067a78237a4fabd778867e=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _c_c1101_8h_source.html | 2 +- _r_f69_8h_source.html | 1207 ++++++++++++++++++------------------ class_r_f69-members.html | 6 +- class_r_f69.html | 150 ++--- class_r_f69.js | 6 +- class_s_x1231-members.html | 6 +- class_s_x1231.html | 18 +- functions_func_s.html | 6 +- functions_s.html | 6 +- navtreeindex1.js | 6 +- search/all_f.js | 10 +- search/functions_f.js | 10 +- 12 files changed, 717 insertions(+), 716 deletions(-) diff --git a/_c_c1101_8h_source.html b/_c_c1101_8h_source.html index 550e5a82..8e68fafb 100644 --- a/_c_c1101_8h_source.html +++ b/_c_c1101_8h_source.html @@ -759,7 +759,7 @@ $(document).ready(function(){initNavTree('_c_c1101_8h_source.html',''); initResi
940  protected:
941  #endif
942 
-
943  float freq = RADIOLIB_CC1101_DEFAULT_FREQ;
+
943  float frequency = RADIOLIB_CC1101_DEFAULT_FREQ;
944  float bitRate = RADIOLIB_CC1101_DEFAULT_BR;
945  uint8_t rawRSSI = 0;
946  uint8_t rawLQI = 0;
diff --git a/_r_f69_8h_source.html b/_r_f69_8h_source.html index cc58fc61..2ce22556 100644 --- a/_r_f69_8h_source.html +++ b/_r_f69_8h_source.html @@ -98,467 +98,468 @@ $(document).ready(function(){initNavTree('_r_f69_8h_source.html',''); initResiza
10 #include "../../protocols/PhysicalLayer/PhysicalLayer.h"
11 
12 // RF69 physical layer properties
-
13 #define RADIOLIB_RF69_FREQUENCY_STEP_SIZE 61.03515625
-
14 #define RADIOLIB_RF69_MAX_PACKET_LENGTH 64
-
15 #define RADIOLIB_RF69_CRYSTAL_FREQ 32.0
-
16 #define RADIOLIB_RF69_DIV_EXPONENT 19
+
13 #define RADIOLIB_RF69_FREQUENCY_STEP_SIZE 61.03515625
+
14 #define RADIOLIB_RF69_MAX_PACKET_LENGTH 64
+
15 #define RADIOLIB_RF69_CRYSTAL_FREQ 32.0
+
16 #define RADIOLIB_RF69_DIV_EXPONENT 19
17 
18 // RF69 register map
-
19 #define RADIOLIB_RF69_REG_FIFO 0x00
-
20 #define RADIOLIB_RF69_REG_OP_MODE 0x01
-
21 #define RADIOLIB_RF69_REG_DATA_MODUL 0x02
-
22 #define RADIOLIB_RF69_REG_BITRATE_MSB 0x03
-
23 #define RADIOLIB_RF69_REG_BITRATE_LSB 0x04
-
24 #define RADIOLIB_RF69_REG_FDEV_MSB 0x05
-
25 #define RADIOLIB_RF69_REG_FDEV_LSB 0x06
-
26 #define RADIOLIB_RF69_REG_FRF_MSB 0x07
-
27 #define RADIOLIB_RF69_REG_FRF_MID 0x08
-
28 #define RADIOLIB_RF69_REG_FRF_LSB 0x09
-
29 #define RADIOLIB_RF69_REG_OSC_1 0x0A
-
30 #define RADIOLIB_RF69_REG_AFC_CTRL 0x0B
-
31 #define RADIOLIB_RF69_REG_LISTEN_1 0x0D
-
32 #define RADIOLIB_RF69_REG_LISTEN_2 0x0E
-
33 #define RADIOLIB_RF69_REG_LISTEN_3 0x0F
-
34 #define RADIOLIB_RF69_REG_VERSION 0x10
-
35 #define RADIOLIB_RF69_REG_PA_LEVEL 0x11
-
36 #define RADIOLIB_RF69_REG_PA_RAMP 0x12
-
37 #define RADIOLIB_RF69_REG_OCP 0x13
-
38 #define RADIOLIB_RF69_REG_LNA 0x18
-
39 #define RADIOLIB_RF69_REG_RX_BW 0x19
-
40 #define RADIOLIB_RF69_REG_AFC_BW 0x1A
-
41 #define RADIOLIB_RF69_REG_OOK_PEAK 0x1B
-
42 #define RADIOLIB_RF69_REG_OOK_AVG 0x1C
-
43 #define RADIOLIB_RF69_REG_OOK_FIX 0x1D
-
44 #define RADIOLIB_RF69_REG_AFC_FEI 0x1E
-
45 #define RADIOLIB_RF69_REG_AFC_MSB 0x1F
-
46 #define RADIOLIB_RF69_REG_AFC_LSB 0x20
-
47 #define RADIOLIB_RF69_REG_FEI_MSB 0x21
-
48 #define RADIOLIB_RF69_REG_FEI_LSB 0x22
-
49 #define RADIOLIB_RF69_REG_RSSI_CONFIG 0x23
-
50 #define RADIOLIB_RF69_REG_RSSI_VALUE 0x24
-
51 #define RADIOLIB_RF69_REG_DIO_MAPPING_1 0x25
-
52 #define RADIOLIB_RF69_REG_DIO_MAPPING_2 0x26
-
53 #define RADIOLIB_RF69_REG_IRQ_FLAGS_1 0x27
-
54 #define RADIOLIB_RF69_REG_IRQ_FLAGS_2 0x28
-
55 #define RADIOLIB_RF69_REG_RSSI_THRESH 0x29
-
56 #define RADIOLIB_RF69_REG_RX_TIMEOUT_1 0x2A
-
57 #define RADIOLIB_RF69_REG_RX_TIMEOUT_2 0x2B
-
58 #define RADIOLIB_RF69_REG_PREAMBLE_MSB 0x2C
-
59 #define RADIOLIB_RF69_REG_PREAMBLE_LSB 0x2D
-
60 #define RADIOLIB_RF69_REG_SYNC_CONFIG 0x2E
-
61 #define RADIOLIB_RF69_REG_SYNC_VALUE_1 0x2F
-
62 #define RADIOLIB_RF69_REG_SYNC_VALUE_2 0x30
-
63 #define RADIOLIB_RF69_REG_SYNC_VALUE_3 0x31
-
64 #define RADIOLIB_RF69_REG_SYNC_VALUE_4 0x32
-
65 #define RADIOLIB_RF69_REG_SYNC_VALUE_5 0x33
-
66 #define RADIOLIB_RF69_REG_SYNC_VALUE_6 0x34
-
67 #define RADIOLIB_RF69_REG_SYNC_VALUE_7 0x35
-
68 #define RADIOLIB_RF69_REG_SYNC_VALUE_8 0x36
-
69 #define RADIOLIB_RF69_REG_PACKET_CONFIG_1 0x37
-
70 #define RADIOLIB_RF69_REG_PAYLOAD_LENGTH 0x38
-
71 #define RADIOLIB_RF69_REG_NODE_ADRS 0x39
-
72 #define RADIOLIB_RF69_REG_BROADCAST_ADRS 0x3A
-
73 #define RADIOLIB_RF69_REG_AUTO_MODES 0x3B
-
74 #define RADIOLIB_RF69_REG_FIFO_THRESH 0x3C
-
75 #define RADIOLIB_RF69_REG_PACKET_CONFIG_2 0x3D
-
76 #define RADIOLIB_RF69_REG_AES_KEY_1 0x3E
-
77 #define RADIOLIB_RF69_REG_AES_KEY_2 0x3F
-
78 #define RADIOLIB_RF69_REG_AES_KEY_3 0x40
-
79 #define RADIOLIB_RF69_REG_AES_KEY_4 0x41
-
80 #define RADIOLIB_RF69_REG_AES_KEY_5 0x42
-
81 #define RADIOLIB_RF69_REG_AES_KEY_6 0x43
-
82 #define RADIOLIB_RF69_REG_AES_KEY_7 0x44
-
83 #define RADIOLIB_RF69_REG_AES_KEY_8 0x45
-
84 #define RADIOLIB_RF69_REG_AES_KEY_9 0x46
-
85 #define RADIOLIB_RF69_REG_AES_KEY_10 0x47
-
86 #define RADIOLIB_RF69_REG_AES_KEY_11 0x48
-
87 #define RADIOLIB_RF69_REG_AES_KEY_12 0x49
-
88 #define RADIOLIB_RF69_REG_AES_KEY_13 0x4A
-
89 #define RADIOLIB_RF69_REG_AES_KEY_14 0x4B
-
90 #define RADIOLIB_RF69_REG_AES_KEY_15 0x4C
-
91 #define RADIOLIB_RF69_REG_AES_KEY_16 0x4D
-
92 #define RADIOLIB_RF69_REG_TEMP_1 0x4E
-
93 #define RADIOLIB_RF69_REG_TEMP_2 0x4F
-
94 #define RADIOLIB_RF69_REG_TEST_LNA 0x58
-
95 #define RADIOLIB_RF69_REG_TEST_PA1 0x5A
-
96 #define RADIOLIB_RF69_REG_TEST_PA2 0x5C
-
97 #define RADIOLIB_RF69_REG_TEST_DAGC 0x6F
+
19 #define RADIOLIB_RF69_REG_FIFO 0x00
+
20 #define RADIOLIB_RF69_REG_OP_MODE 0x01
+
21 #define RADIOLIB_RF69_REG_DATA_MODUL 0x02
+
22 #define RADIOLIB_RF69_REG_BITRATE_MSB 0x03
+
23 #define RADIOLIB_RF69_REG_BITRATE_LSB 0x04
+
24 #define RADIOLIB_RF69_REG_FDEV_MSB 0x05
+
25 #define RADIOLIB_RF69_REG_FDEV_LSB 0x06
+
26 #define RADIOLIB_RF69_REG_FRF_MSB 0x07
+
27 #define RADIOLIB_RF69_REG_FRF_MID 0x08
+
28 #define RADIOLIB_RF69_REG_FRF_LSB 0x09
+
29 #define RADIOLIB_RF69_REG_OSC_1 0x0A
+
30 #define RADIOLIB_RF69_REG_AFC_CTRL 0x0B
+
31 #define RADIOLIB_RF69_REG_LISTEN_1 0x0D
+
32 #define RADIOLIB_RF69_REG_LISTEN_2 0x0E
+
33 #define RADIOLIB_RF69_REG_LISTEN_3 0x0F
+
34 #define RADIOLIB_RF69_REG_VERSION 0x10
+
35 #define RADIOLIB_RF69_REG_PA_LEVEL 0x11
+
36 #define RADIOLIB_RF69_REG_PA_RAMP 0x12
+
37 #define RADIOLIB_RF69_REG_OCP 0x13
+
38 #define RADIOLIB_RF69_REG_LNA 0x18
+
39 #define RADIOLIB_RF69_REG_RX_BW 0x19
+
40 #define RADIOLIB_RF69_REG_AFC_BW 0x1A
+
41 #define RADIOLIB_RF69_REG_OOK_PEAK 0x1B
+
42 #define RADIOLIB_RF69_REG_OOK_AVG 0x1C
+
43 #define RADIOLIB_RF69_REG_OOK_FIX 0x1D
+
44 #define RADIOLIB_RF69_REG_AFC_FEI 0x1E
+
45 #define RADIOLIB_RF69_REG_AFC_MSB 0x1F
+
46 #define RADIOLIB_RF69_REG_AFC_LSB 0x20
+
47 #define RADIOLIB_RF69_REG_FEI_MSB 0x21
+
48 #define RADIOLIB_RF69_REG_FEI_LSB 0x22
+
49 #define RADIOLIB_RF69_REG_RSSI_CONFIG 0x23
+
50 #define RADIOLIB_RF69_REG_RSSI_VALUE 0x24
+
51 #define RADIOLIB_RF69_REG_DIO_MAPPING_1 0x25
+
52 #define RADIOLIB_RF69_REG_DIO_MAPPING_2 0x26
+
53 #define RADIOLIB_RF69_REG_IRQ_FLAGS_1 0x27
+
54 #define RADIOLIB_RF69_REG_IRQ_FLAGS_2 0x28
+
55 #define RADIOLIB_RF69_REG_RSSI_THRESH 0x29
+
56 #define RADIOLIB_RF69_REG_RX_TIMEOUT_1 0x2A
+
57 #define RADIOLIB_RF69_REG_RX_TIMEOUT_2 0x2B
+
58 #define RADIOLIB_RF69_REG_PREAMBLE_MSB 0x2C
+
59 #define RADIOLIB_RF69_REG_PREAMBLE_LSB 0x2D
+
60 #define RADIOLIB_RF69_REG_SYNC_CONFIG 0x2E
+
61 #define RADIOLIB_RF69_REG_SYNC_VALUE_1 0x2F
+
62 #define RADIOLIB_RF69_REG_SYNC_VALUE_2 0x30
+
63 #define RADIOLIB_RF69_REG_SYNC_VALUE_3 0x31
+
64 #define RADIOLIB_RF69_REG_SYNC_VALUE_4 0x32
+
65 #define RADIOLIB_RF69_REG_SYNC_VALUE_5 0x33
+
66 #define RADIOLIB_RF69_REG_SYNC_VALUE_6 0x34
+
67 #define RADIOLIB_RF69_REG_SYNC_VALUE_7 0x35
+
68 #define RADIOLIB_RF69_REG_SYNC_VALUE_8 0x36
+
69 #define RADIOLIB_RF69_REG_PACKET_CONFIG_1 0x37
+
70 #define RADIOLIB_RF69_REG_PAYLOAD_LENGTH 0x38
+
71 #define RADIOLIB_RF69_REG_NODE_ADRS 0x39
+
72 #define RADIOLIB_RF69_REG_BROADCAST_ADRS 0x3A
+
73 #define RADIOLIB_RF69_REG_AUTO_MODES 0x3B
+
74 #define RADIOLIB_RF69_REG_FIFO_THRESH 0x3C
+
75 #define RADIOLIB_RF69_REG_PACKET_CONFIG_2 0x3D
+
76 #define RADIOLIB_RF69_REG_AES_KEY_1 0x3E
+
77 #define RADIOLIB_RF69_REG_AES_KEY_2 0x3F
+
78 #define RADIOLIB_RF69_REG_AES_KEY_3 0x40
+
79 #define RADIOLIB_RF69_REG_AES_KEY_4 0x41
+
80 #define RADIOLIB_RF69_REG_AES_KEY_5 0x42
+
81 #define RADIOLIB_RF69_REG_AES_KEY_6 0x43
+
82 #define RADIOLIB_RF69_REG_AES_KEY_7 0x44
+
83 #define RADIOLIB_RF69_REG_AES_KEY_8 0x45
+
84 #define RADIOLIB_RF69_REG_AES_KEY_9 0x46
+
85 #define RADIOLIB_RF69_REG_AES_KEY_10 0x47
+
86 #define RADIOLIB_RF69_REG_AES_KEY_11 0x48
+
87 #define RADIOLIB_RF69_REG_AES_KEY_12 0x49
+
88 #define RADIOLIB_RF69_REG_AES_KEY_13 0x4A
+
89 #define RADIOLIB_RF69_REG_AES_KEY_14 0x4B
+
90 #define RADIOLIB_RF69_REG_AES_KEY_15 0x4C
+
91 #define RADIOLIB_RF69_REG_AES_KEY_16 0x4D
+
92 #define RADIOLIB_RF69_REG_TEMP_1 0x4E
+
93 #define RADIOLIB_RF69_REG_TEMP_2 0x4F
+
94 #define RADIOLIB_RF69_REG_TEST_LNA 0x58
+
95 #define RADIOLIB_RF69_REG_TEST_PA1 0x5A
+
96 #define RADIOLIB_RF69_REG_TEST_PA2 0x5C
+
97 #define RADIOLIB_RF69_REG_TEST_DAGC 0x6F
98 
99 // RF69 modem settings
-
100 // RF69_REG_OP_MODE MSB LSB DESCRIPTION
-
101 #define RADIOLIB_RF69_SEQUENCER_OFF 0b00000000 // 7 7 disable automatic sequencer
-
102 #define RADIOLIB_RF69_SEQUENCER_ON 0b10000000 // 7 7 enable automatic sequencer
-
103 #define RADIOLIB_RF69_LISTEN_OFF 0b00000000 // 6 6 disable Listen mode
-
104 #define RADIOLIB_RF69_LISTEN_ON 0b01000000 // 6 6 enable Listen mode
-
105 #define RADIOLIB_RF69_LISTEN_ABORT 0b00100000 // 5 5 abort Listen mode (has to be set together with RF69_LISTEN_OFF)
-
106 #define RADIOLIB_RF69_SLEEP 0b00000000 // 4 2 sleep
-
107 #define RADIOLIB_RF69_STANDBY 0b00000100 // 4 2 standby
-
108 #define RADIOLIB_RF69_FS 0b00001000 // 4 2 frequency synthesis
-
109 #define RADIOLIB_RF69_TX 0b00001100 // 4 2 transmit
-
110 #define RADIOLIB_RF69_RX 0b00010000 // 4 2 receive
+
100 // RADIOLIB_RF69_REG_OP_MODE MSB LSB DESCRIPTION
+
101 #define RADIOLIB_RF69_SEQUENCER_OFF 0b00000000 // 7 7 disable automatic sequencer
+
102 #define RADIOLIB_RF69_SEQUENCER_ON 0b10000000 // 7 7 enable automatic sequencer
+
103 #define RADIOLIB_RF69_LISTEN_OFF 0b00000000 // 6 6 disable Listen mode
+
104 #define RADIOLIB_RF69_LISTEN_ON 0b01000000 // 6 6 enable Listen mode
+
105 #define RADIOLIB_RF69_LISTEN_ABORT 0b00100000 // 5 5 abort Listen mode (has to be set together with RF69_LISTEN_OFF)
+
106 #define RADIOLIB_RF69_SLEEP 0b00000000 // 4 2 sleep
+
107 #define RADIOLIB_RF69_STANDBY 0b00000100 // 4 2 standby
+
108 #define RADIOLIB_RF69_FS 0b00001000 // 4 2 frequency synthesis
+
109 #define RADIOLIB_RF69_TX 0b00001100 // 4 2 transmit
+
110 #define RADIOLIB_RF69_RX 0b00010000 // 4 2 receive
111 
-
112 // RF69_REG_DATA_MODUL
-
113 #define RADIOLIB_RF69_PACKET_MODE 0b00000000 // 6 5 packet mode (default)
-
114 #define RADIOLIB_RF69_CONTINUOUS_MODE_WITH_SYNC 0b01000000 // 6 5 continuous mode with bit synchronizer
-
115 #define RADIOLIB_RF69_CONTINUOUS_MODE 0b01100000 // 6 5 continuous mode without bit synchronizer
-
116 #define RADIOLIB_RF69_FSK 0b00000000 // 4 3 modulation: FSK (default)
-
117 #define RADIOLIB_RF69_OOK 0b00001000 // 4 3 OOK
-
118 #define RADIOLIB_RF69_NO_SHAPING 0b00000000 // 1 0 modulation shaping: no shaping (default)
-
119 #define RADIOLIB_RF69_FSK_GAUSSIAN_1_0 0b00000001 // 1 0 FSK modulation Gaussian filter, BT = 1.0
-
120 #define RADIOLIB_RF69_FSK_GAUSSIAN_0_5 0b00000010 // 1 0 FSK modulation Gaussian filter, BT = 0.5
-
121 #define RADIOLIB_RF69_FSK_GAUSSIAN_0_3 0b00000011 // 1 0 FSK modulation Gaussian filter, BT = 0.3
-
122 #define RADIOLIB_RF69_OOK_FILTER_BR 0b00000001 // 1 0 OOK modulation filter, f_cutoff = BR
-
123 #define RADIOLIB_RF69_OOK_FILTER_2BR 0b00000010 // 1 0 OOK modulation filter, f_cutoff = 2*BR
+
112 // RADIOLIB_RF69_REG_DATA_MODUL
+
113 #define RADIOLIB_RF69_PACKET_MODE 0b00000000 // 6 5 packet mode (default)
+
114 #define RADIOLIB_RF69_CONTINUOUS_MODE_WITH_SYNC 0b01000000 // 6 5 continuous mode with bit synchronizer
+
115 #define RADIOLIB_RF69_CONTINUOUS_MODE 0b01100000 // 6 5 continuous mode without bit synchronizer
+
116 #define RADIOLIB_RF69_FSK 0b00000000 // 4 3 modulation: FSK (default)
+
117 #define RADIOLIB_RF69_OOK 0b00001000 // 4 3 OOK
+
118 #define RADIOLIB_RF69_NO_SHAPING 0b00000000 // 1 0 modulation shaping: no shaping (default)
+
119 #define RADIOLIB_RF69_FSK_GAUSSIAN_1_0 0b00000001 // 1 0 FSK modulation Gaussian filter, BT = 1.0
+
120 #define RADIOLIB_RF69_FSK_GAUSSIAN_0_5 0b00000010 // 1 0 FSK modulation Gaussian filter, BT = 0.5
+
121 #define RADIOLIB_RF69_FSK_GAUSSIAN_0_3 0b00000011 // 1 0 FSK modulation Gaussian filter, BT = 0.3
+
122 #define RADIOLIB_RF69_OOK_FILTER_BR 0b00000001 // 1 0 OOK modulation filter, f_cutoff = BR
+
123 #define RADIOLIB_RF69_OOK_FILTER_2BR 0b00000010 // 1 0 OOK modulation filter, f_cutoff = 2*BR
124 
-
125 // RF69_REG_BITRATE_MSB + REG_BITRATE_LSB
-
126 #define RADIOLIB_RF69_BITRATE_MSB 0x1A // 7 0 bit rate setting: rate = F(XOSC) / BITRATE
-
127 #define RADIOLIB_RF69_BITRATE_LSB 0x0B // 7 0 default value: 4.8 kbps 0x40 // 7 0
+
125 // RADIOLIB_RF69_REG_BITRATE_MSB + REG_BITRATE_LSB
+
126 #define RADIOLIB_RF69_BITRATE_MSB 0x1A // 7 0 bit rate setting: rate = F(XOSC) / BITRATE
+
127 #define RADIOLIB_RF69_BITRATE_LSB 0x0B // 7 0 default value: 4.8 kbps 0x40 // 7 0
128 
-
129 // RF69_REG_FDEV_MSB + REG_FDEV_LSB
-
130 #define RADIOLIB_RF69_FDEV_MSB 0x00 // 5 0 frequency deviation: f_dev = f_step * FDEV
-
131 #define RADIOLIB_RF69_FDEV_LSB 0x52 // 7 0 default value: 5 kHz
+
129 // RADIOLIB_RF69_REG_FDEV_MSB + REG_FDEV_LSB
+
130 #define RADIOLIB_RF69_FDEV_MSB 0x00 // 5 0 frequency deviation: f_dev = f_step * FDEV
+
131 #define RADIOLIB_RF69_FDEV_LSB 0x52 // 7 0 default value: 5 kHz
132 
-
133 // RF69_REG_FRF_MSB + REG_FRF_MID + REG_FRF_LSB
-
134 #define RADIOLIB_RF69_FRF_MSB 0xE4 // 7 0 carrier frequency setting: f_RF = (F(XOSC) * FRF)/2^19
-
135 #define RADIOLIB_RF69_FRF_MID 0xC0 // 7 0 where F(XOSC) = 32 MHz
-
136 #define RADIOLIB_RF69_FRF_LSB 0x00 // 7 0 default value: 915 MHz
+
133 // RADIOLIB_RF69_REG_FRF_MSB + REG_FRF_MID + REG_FRF_LSB
+
134 #define RADIOLIB_RF69_FRF_MSB 0xE4 // 7 0 carrier frequency setting: f_RF = (F(XOSC) * FRF)/2^19
+
135 #define RADIOLIB_RF69_FRF_MID 0xC0 // 7 0 where F(XOSC) = 32 MHz
+
136 #define RADIOLIB_RF69_FRF_LSB 0x00 // 7 0 default value: 915 MHz
137 
-
138 // RF69_REG_OSC_1
-
139 #define RADIOLIB_RF69_RC_CAL_START 0b10000000 // 7 7 force RC oscillator calibration
-
140 #define RADIOLIB_RF69_RC_CAL_RUNNING 0b00000000 // 6 6 RC oscillator calibration is still running
-
141 #define RADIOLIB_RF69_RC_CAL_DONE 0b00000000 // 5 5 RC oscillator calibration has finished
+
138 // RADIOLIB_RF69_REG_OSC_1
+
139 #define RADIOLIB_RF69_RC_CAL_START 0b10000000 // 7 7 force RC oscillator calibration
+
140 #define RADIOLIB_RF69_RC_CAL_RUNNING 0b00000000 // 6 6 RC oscillator calibration is still running
+
141 #define RADIOLIB_RF69_RC_CAL_DONE 0b00000000 // 5 5 RC oscillator calibration has finished
142 
-
143 // RF69_REG_AFC_CTRL
-
144 #define RADIOLIB_RF69_AFC_LOW_BETA_OFF 0b00000000 // 5 5 standard AFC routine
-
145 #define RADIOLIB_RF69_AFC_LOW_BETA_ON 0b00100000 // 5 5 improved AFC routine for signals with modulation index less than 2
+
143 // RADIOLIB_RF69_REG_AFC_CTRL
+
144 #define RADIOLIB_RF69_AFC_LOW_BETA_OFF 0b00000000 // 5 5 standard AFC routine
+
145 #define RADIOLIB_RF69_AFC_LOW_BETA_ON 0b00100000 // 5 5 improved AFC routine for signals with modulation index less than 2
146 
-
147 // RF69_REG_LISTEN_1
-
148 #define RADIOLIB_RF69_LISTEN_RES_IDLE_64_US 0b01000000 // 7 6 resolution of Listen mode idle time: 64 us
-
149 #define RADIOLIB_RF69_LISTEN_RES_IDLE_4_1_MS 0b10000000 // 7 6 4.1 ms (default)
-
150 #define RADIOLIB_RF69_LISTEN_RES_IDLE_262_MS 0b11000000 // 7 6 262 ms
-
151 #define RADIOLIB_RF69_LISTEN_RES_RX_64_US 0b00010000 // 5 4 resolution of Listen mode rx time: 64 us (default)
-
152 #define RADIOLIB_RF69_LISTEN_RES_RX_4_1_MS 0b00100000 // 5 4 4.1 ms
-
153 #define RADIOLIB_RF69_LISTEN_RES_RX_262_MS 0b00110000 // 5 4 262 ms
-
154 #define RADIOLIB_RF69_LISTEN_ACCEPT_ABOVE_RSSI_THRESH 0b00000000 // 3 3 packet acceptance criteria: RSSI above threshold
-
155 #define RADIOLIB_RF69_LISTEN_ACCEPT_MATCH_SYNC_ADDRESS 0b00001000 // 3 3 RSSI above threshold AND sync address matched
-
156 #define RADIOLIB_RF69_LISTEN_END_KEEP_RX 0b00000000 // 2 1 action after packet acceptance: stay in Rx mode
-
157 #define RADIOLIB_RF69_LISTEN_END_KEEP_RX_TIMEOUT 0b00000010 // 2 1 stay in Rx mode until timeout (default)
-
158 #define RADIOLIB_RF69_LISTEN_END_KEEP_RX_TIMEOUT_RESUME 0b00000100 // 2 1 stay in Rx mode until timeout, Listen mode will resume
+
147 // RADIOLIB_RF69_REG_LISTEN_1
+
148 #define RADIOLIB_RF69_LISTEN_RES_IDLE_64_US 0b01000000 // 7 6 resolution of Listen mode idle time: 64 us
+
149 #define RADIOLIB_RF69_LISTEN_RES_IDLE_4_1_MS 0b10000000 // 7 6 4.1 ms (default)
+
150 #define RADIOLIB_RF69_LISTEN_RES_IDLE_262_MS 0b11000000 // 7 6 262 ms
+
151 #define RADIOLIB_RF69_LISTEN_RES_RX_64_US 0b00010000 // 5 4 resolution of Listen mode rx time: 64 us (default)
+
152 #define RADIOLIB_RF69_LISTEN_RES_RX_4_1_MS 0b00100000 // 5 4 4.1 ms
+
153 #define RADIOLIB_RF69_LISTEN_RES_RX_262_MS 0b00110000 // 5 4 262 ms
+
154 #define RADIOLIB_RF69_LISTEN_ACCEPT_ABOVE_RSSI_THRESH 0b00000000 // 3 3 packet acceptance criteria: RSSI above threshold
+
155 #define RADIOLIB_RF69_LISTEN_ACCEPT_MATCH_SYNC_ADDRESS 0b00001000 // 3 3 RSSI above threshold AND sync address matched
+
156 #define RADIOLIB_RF69_LISTEN_END_KEEP_RX 0b00000000 // 2 1 action after packet acceptance: stay in Rx mode
+
157 #define RADIOLIB_RF69_LISTEN_END_KEEP_RX_TIMEOUT 0b00000010 // 2 1 stay in Rx mode until timeout (default)
+
158 #define RADIOLIB_RF69_LISTEN_END_KEEP_RX_TIMEOUT_RESUME 0b00000100 // 2 1 stay in Rx mode until timeout, Listen mode will resume
159 
-
160 // RF69_REG_LISTEN_2
-
161 #define RADIOLIB_RF69_LISTEN_COEF_IDLE 0xF5 // 7 0 duration of idle phase in Listen mode
+
160 // RADIOLIB_RF69_REG_LISTEN_2
+
161 #define RADIOLIB_RF69_LISTEN_COEF_IDLE 0xF5 // 7 0 duration of idle phase in Listen mode
162 
-
163 // RF69_REG_LISTEN_3
-
164 #define RADIOLIB_RF69_LISTEN_COEF_RX 0x20 // 7 0 duration of Rx phase in Listen mode
+
163 // RADIOLIB_RF69_REG_LISTEN_3
+
164 #define RADIOLIB_RF69_LISTEN_COEF_RX 0x20 // 7 0 duration of Rx phase in Listen mode
165 
-
166 // RF69_REG_VERSION
-
167 #define RADIOLIB_RF69_CHIP_VERSION 0x24 // 7 0
+
166 // RADIOLIB_RF69_REG_VERSION
+
167 #define RADIOLIB_RF69_CHIP_VERSION 0x24 // 7 0
168 
-
169 // RF69_REG_PA_LEVEL
-
170 #define RADIOLIB_RF69_PA0_OFF 0b00000000 // 7 7 PA0 disabled
-
171 #define RADIOLIB_RF69_PA0_ON 0b10000000 // 7 7 PA0 enabled (default)
-
172 #define RADIOLIB_RF69_PA1_OFF 0b00000000 // 6 6 PA1 disabled (default)
-
173 #define RADIOLIB_RF69_PA1_ON 0b01000000 // 6 6 PA1 enabled
-
174 #define RADIOLIB_RF69_PA2_OFF 0b00000000 // 5 5 PA2 disabled (default)
-
175 #define RADIOLIB_RF69_PA2_ON 0b00100000 // 5 5 PA2 enabled
-
176 #define RADIOLIB_RF69_OUTPUT_POWER 0b00011111 // 4 0 output power: P_out = -18 + OUTPUT_POWER
+
169 // RADIOLIB_RF69_REG_PA_LEVEL
+
170 #define RADIOLIB_RF69_PA0_OFF 0b00000000 // 7 7 PA0 disabled
+
171 #define RADIOLIB_RF69_PA0_ON 0b10000000 // 7 7 PA0 enabled (default)
+
172 #define RADIOLIB_RF69_PA1_OFF 0b00000000 // 6 6 PA1 disabled (default)
+
173 #define RADIOLIB_RF69_PA1_ON 0b01000000 // 6 6 PA1 enabled
+
174 #define RADIOLIB_RF69_PA2_OFF 0b00000000 // 5 5 PA2 disabled (default)
+
175 #define RADIOLIB_RF69_PA2_ON 0b00100000 // 5 5 PA2 enabled
+
176 #define RADIOLIB_RF69_OUTPUT_POWER 0b00011111 // 4 0 output power: P_out = -18 + OUTPUT_POWER
177 
-
178 // RF69_REG_PA_RAMP
-
179 #define RADIOLIB_RF69_PA_RAMP_3_4_MS 0b00000000 // 3 0 PA ramp rise/fall time: 3.4 ms
-
180 #define RADIOLIB_RF69_PA_RAMP_2_MS 0b00000001 // 3 0 2 ms
-
181 #define RADIOLIB_RF69_PA_RAMP_1_MS 0b00000010 // 3 0 1 ms
-
182 #define RADIOLIB_RF69_PA_RAMP_500_US 0b00000011 // 3 0 500 us
-
183 #define RADIOLIB_RF69_PA_RAMP_250_US 0b00000100 // 3 0 250 us
-
184 #define RADIOLIB_RF69_PA_RAMP_125_US 0b00000101 // 3 0 125 us
-
185 #define RADIOLIB_RF69_PA_RAMP_100_US 0b00000110 // 3 0 100 us
-
186 #define RADIOLIB_RF69_PA_RAMP_62_US 0b00000111 // 3 0 62 us
-
187 #define RADIOLIB_RF69_PA_RAMP_50_US 0b00001000 // 3 0 50 us
-
188 #define RADIOLIB_RF69_PA_RAMP_40_US 0b00001001 // 3 0 40 us (default)
-
189 #define RADIOLIB_RF69_PA_RAMP_31_US 0b00001010 // 3 0 31 us
-
190 #define RADIOLIB_RF69_PA_RAMP_25_US 0b00001011 // 3 0 25 us
-
191 #define RADIOLIB_RF69_PA_RAMP_20_US 0b00001100 // 3 0 20 us
-
192 #define RADIOLIB_RF69_PA_RAMP_15_US 0b00001101 // 3 0 15 us
-
193 #define RADIOLIB_RF69_PA_RAMP_12_US 0b00001110 // 3 0 12 us
-
194 #define RADIOLIB_RF69_PA_RAMP_10_US 0b00001111 // 3 0 10 us
+
178 // RADIOLIB_RF69_REG_PA_RAMP
+
179 #define RADIOLIB_RF69_PA_RAMP_3_4_MS 0b00000000 // 3 0 PA ramp rise/fall time: 3.4 ms
+
180 #define RADIOLIB_RF69_PA_RAMP_2_MS 0b00000001 // 3 0 2 ms
+
181 #define RADIOLIB_RF69_PA_RAMP_1_MS 0b00000010 // 3 0 1 ms
+
182 #define RADIOLIB_RF69_PA_RAMP_500_US 0b00000011 // 3 0 500 us
+
183 #define RADIOLIB_RF69_PA_RAMP_250_US 0b00000100 // 3 0 250 us
+
184 #define RADIOLIB_RF69_PA_RAMP_125_US 0b00000101 // 3 0 125 us
+
185 #define RADIOLIB_RF69_PA_RAMP_100_US 0b00000110 // 3 0 100 us
+
186 #define RADIOLIB_RF69_PA_RAMP_62_US 0b00000111 // 3 0 62 us
+
187 #define RADIOLIB_RF69_PA_RAMP_50_US 0b00001000 // 3 0 50 us
+
188 #define RADIOLIB_RF69_PA_RAMP_40_US 0b00001001 // 3 0 40 us (default)
+
189 #define RADIOLIB_RF69_PA_RAMP_31_US 0b00001010 // 3 0 31 us
+
190 #define RADIOLIB_RF69_PA_RAMP_25_US 0b00001011 // 3 0 25 us
+
191 #define RADIOLIB_RF69_PA_RAMP_20_US 0b00001100 // 3 0 20 us
+
192 #define RADIOLIB_RF69_PA_RAMP_15_US 0b00001101 // 3 0 15 us
+
193 #define RADIOLIB_RF69_PA_RAMP_12_US 0b00001110 // 3 0 12 us
+
194 #define RADIOLIB_RF69_PA_RAMP_10_US 0b00001111 // 3 0 10 us
195 
-
196 // RF69_REG_OCP
-
197 #define RADIOLIB_RF69_OCP_OFF 0b00000000 // 4 4 PA overload current protection disabled
-
198 #define RADIOLIB_RF69_OCP_ON 0b00010000 // 4 4 PA overload current protection enabled
-
199 #define RADIOLIB_RF69_OCP_TRIM 0b00001010 // 3 0 OCP current: I_max(OCP_TRIM = 0b1010) = 95 mA
+
196 // RADIOLIB_RF69_REG_OCP
+
197 #define RADIOLIB_RF69_OCP_OFF 0b00000000 // 4 4 PA overload current protection disabled
+
198 #define RADIOLIB_RF69_OCP_ON 0b00010000 // 4 4 PA overload current protection enabled
+
199 #define RADIOLIB_RF69_OCP_TRIM 0b00001010 // 3 0 OCP current: I_max(OCP_TRIM = 0b1010) = 95 mA
200 
-
201 // RF69_REG_LNA
-
202 #define RADIOLIB_RF69_LNA_Z_IN_50_OHM 0b00000000 // 7 7 LNA input impedance: 50 ohm
-
203 #define RADIOLIB_RF69_LNA_Z_IN_200_OHM 0b10000000 // 7 7 200 ohm
-
204 #define RADIOLIB_RF69_LNA_CURRENT_GAIN 0b00001000 // 5 3 manually set LNA current gain
-
205 #define RADIOLIB_RF69_LNA_GAIN_AUTO 0b00000000 // 2 0 LNA gain setting: set automatically by AGC
-
206 #define RADIOLIB_RF69_LNA_GAIN_MAX 0b00000001 // 2 0 max gain
-
207 #define RADIOLIB_RF69_LNA_GAIN_MAX_6_DB 0b00000010 // 2 0 max gain - 6 dB
-
208 #define RADIOLIB_RF69_LNA_GAIN_MAX_12_DB 0b00000011 // 2 0 max gain - 12 dB
-
209 #define RADIOLIB_RF69_LNA_GAIN_MAX_24_DB 0b00000100 // 2 0 max gain - 24 dB
-
210 #define RADIOLIB_RF69_LNA_GAIN_MAX_36_DB 0b00000101 // 2 0 max gain - 36 dB
-
211 #define RADIOLIB_RF69_LNA_GAIN_MAX_48_DB 0b00000110 // 2 0 max gain - 48 dB
+
201 // RADIOLIB_RF69_REG_LNA
+
202 #define RADIOLIB_RF69_LNA_Z_IN_50_OHM 0b00000000 // 7 7 LNA input impedance: 50 ohm
+
203 #define RADIOLIB_RF69_LNA_Z_IN_200_OHM 0b10000000 // 7 7 200 ohm
+
204 #define RADIOLIB_RF69_LNA_CURRENT_GAIN 0b00001000 // 5 3 manually set LNA current gain
+
205 #define RADIOLIB_RF69_LNA_GAIN_AUTO 0b00000000 // 2 0 LNA gain setting: set automatically by AGC
+
206 #define RADIOLIB_RF69_LNA_GAIN_MAX 0b00000001 // 2 0 max gain
+
207 #define RADIOLIB_RF69_LNA_GAIN_MAX_6_DB 0b00000010 // 2 0 max gain - 6 dB
+
208 #define RADIOLIB_RF69_LNA_GAIN_MAX_12_DB 0b00000011 // 2 0 max gain - 12 dB
+
209 #define RADIOLIB_RF69_LNA_GAIN_MAX_24_DB 0b00000100 // 2 0 max gain - 24 dB
+
210 #define RADIOLIB_RF69_LNA_GAIN_MAX_36_DB 0b00000101 // 2 0 max gain - 36 dB
+
211 #define RADIOLIB_RF69_LNA_GAIN_MAX_48_DB 0b00000110 // 2 0 max gain - 48 dB
212 
-
213 // RF69_REG_RX_BW
-
214 #define RADIOLIB_RF69_DCC_FREQ 0b01000000 // 7 5 DC offset canceller cutoff frequency (4% Rx BW by default)
-
215 #define RADIOLIB_RF69_RX_BW_MANT_16 0b00000000 // 4 3 Channel filter bandwidth FSK: RxBw = F(XOSC)/(RxBwMant * 2^(RxBwExp + 2))
-
216 #define RADIOLIB_RF69_RX_BW_MANT_20 0b00001000 // 4 3 OOK: RxBw = F(XOSC)/(RxBwMant * 2^(RxBwExp + 3))
-
217 #define RADIOLIB_RF69_RX_BW_MANT_24 0b00010000 // 4 3
-
218 #define RADIOLIB_RF69_RX_BW_EXP 0b00000101 // 2 0 default RxBwExp value = 5
+
213 // RADIOLIB_RF69_REG_RX_BW
+
214 #define RADIOLIB_RF69_DCC_FREQ 0b01000000 // 7 5 DC offset canceller cutoff frequency (4% Rx BW by default)
+
215 #define RADIOLIB_RF69_RX_BW_MANT_16 0b00000000 // 4 3 Channel filter bandwidth FSK: RxBw = F(XOSC)/(RxBwMant * 2^(RxBwExp + 2))
+
216 #define RADIOLIB_RF69_RX_BW_MANT_20 0b00001000 // 4 3 OOK: RxBw = F(XOSC)/(RxBwMant * 2^(RxBwExp + 3))
+
217 #define RADIOLIB_RF69_RX_BW_MANT_24 0b00010000 // 4 3
+
218 #define RADIOLIB_RF69_RX_BW_EXP 0b00000101 // 2 0 default RxBwExp value = 5
219 
-
220 // RF69_REG_AFC_BW
-
221 #define RADIOLIB_RF69_DCC_FREQ_AFC 0b10000000 // 7 5 default DccFreq parameter for AFC
-
222 #define RADIOLIB_RF69_DCC_RX_BW_MANT_AFC 0b00001000 // 4 3 default RxBwMant parameter for AFC
-
223 #define RADIOLIB_RF69_DCC_RX_BW_EXP_AFC 0b00000011 // 2 0 default RxBwExp parameter for AFC
+
220 // RADIOLIB_RF69_REG_AFC_BW
+
221 #define RADIOLIB_RF69_DCC_FREQ_AFC 0b10000000 // 7 5 default DccFreq parameter for AFC
+
222 #define RADIOLIB_RF69_DCC_RX_BW_MANT_AFC 0b00001000 // 4 3 default RxBwMant parameter for AFC
+
223 #define RADIOLIB_RF69_DCC_RX_BW_EXP_AFC 0b00000011 // 2 0 default RxBwExp parameter for AFC
224 
-
225 // RF69_REG_OOK_PEAK
-
226 #define RADIOLIB_RF69_OOK_THRESH_FIXED 0b00000000 // 7 6 OOK threshold type: fixed
-
227 #define RADIOLIB_RF69_OOK_THRESH_PEAK 0b01000000 // 7 6 peak (default)
-
228 #define RADIOLIB_RF69_OOK_THRESH_AVERAGE 0b10000000 // 7 6 average
-
229 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_0_5_DB 0b00000000 // 5 3 OOK demodulator step size: 0.5 dB (default)
-
230 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_1_0_DB 0b00001000 // 5 3 1.0 dB
-
231 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_1_5_DB 0b00010000 // 5 3 1.5 dB
-
232 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_2_0_DB 0b00011000 // 5 3 2.0 dB
-
233 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_3_0_DB 0b00100000 // 5 3 3.0 dB
-
234 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_4_0_DB 0b00101000 // 5 3 4.0 dB
-
235 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_5_0_DB 0b00110000 // 5 3 5.0 dB
-
236 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_6_0_DB 0b00111000 // 5 3 6.0 dB
-
237 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_1_1_CHIP 0b00000000 // 2 0 OOK demodulator step period: once per chip (default)
-
238 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_1_2_CHIP 0b00000001 // 2 0 once every 2 chips
-
239 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_1_4_CHIP 0b00000010 // 2 0 once every 4 chips
-
240 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_1_8_CHIP 0b00000011 // 2 0 once every 8 chips
-
241 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_2_1_CHIP 0b00000100 // 2 0 2 times per chip
-
242 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_4_1_CHIP 0b00000101 // 2 0 4 times per chip
-
243 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_8_1_CHIP 0b00000110 // 2 0 8 times per chip
-
244 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_16_1_CHIP 0b00000111 // 2 0 16 times per chip
+
225 // RADIOLIB_RF69_REG_OOK_PEAK
+
226 #define RADIOLIB_RF69_OOK_THRESH_FIXED 0b00000000 // 7 6 OOK threshold type: fixed
+
227 #define RADIOLIB_RF69_OOK_THRESH_PEAK 0b01000000 // 7 6 peak (default)
+
228 #define RADIOLIB_RF69_OOK_THRESH_AVERAGE 0b10000000 // 7 6 average
+
229 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_0_5_DB 0b00000000 // 5 3 OOK demodulator step size: 0.5 dB (default)
+
230 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_1_0_DB 0b00001000 // 5 3 1.0 dB
+
231 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_1_5_DB 0b00010000 // 5 3 1.5 dB
+
232 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_2_0_DB 0b00011000 // 5 3 2.0 dB
+
233 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_3_0_DB 0b00100000 // 5 3 3.0 dB
+
234 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_4_0_DB 0b00101000 // 5 3 4.0 dB
+
235 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_5_0_DB 0b00110000 // 5 3 5.0 dB
+
236 #define RADIOLIB_RF69_OOK_PEAK_THRESH_STEP_6_0_DB 0b00111000 // 5 3 6.0 dB
+
237 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_1_1_CHIP 0b00000000 // 2 0 OOK demodulator step period: once per chip (default)
+
238 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_1_2_CHIP 0b00000001 // 2 0 once every 2 chips
+
239 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_1_4_CHIP 0b00000010 // 2 0 once every 4 chips
+
240 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_1_8_CHIP 0b00000011 // 2 0 once every 8 chips
+
241 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_2_1_CHIP 0b00000100 // 2 0 2 times per chip
+
242 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_4_1_CHIP 0b00000101 // 2 0 4 times per chip
+
243 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_8_1_CHIP 0b00000110 // 2 0 8 times per chip
+
244 #define RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_16_1_CHIP 0b00000111 // 2 0 16 times per chip
245 
-
246 // RF69_REG_OOK_AVG
-
247 #define RADIOLIB_RF69_OOK_AVG_THRESH_FILT_32_PI 0b00000000 // 7 6 OOK average filter coefficient: chip rate / 32*pi
-
248 #define RADIOLIB_RF69_OOK_AVG_THRESH_FILT_8_PI 0b01000000 // 7 6 chip rate / 8*pi
-
249 #define RADIOLIB_RF69_OOK_AVG_THRESH_FILT_4_PI 0b10000000 // 7 6 chip rate / 4*pi (default)
-
250 #define RADIOLIB_RF69_OOK_AVG_THRESH_FILT_2_PI 0b11000000 // 7 6 chip rate / 2*pi
+
246 // RADIOLIB_RF69_REG_OOK_AVG
+
247 #define RADIOLIB_RF69_OOK_AVG_THRESH_FILT_32_PI 0b00000000 // 7 6 OOK average filter coefficient: chip rate / 32*pi
+
248 #define RADIOLIB_RF69_OOK_AVG_THRESH_FILT_8_PI 0b01000000 // 7 6 chip rate / 8*pi
+
249 #define RADIOLIB_RF69_OOK_AVG_THRESH_FILT_4_PI 0b10000000 // 7 6 chip rate / 4*pi (default)
+
250 #define RADIOLIB_RF69_OOK_AVG_THRESH_FILT_2_PI 0b11000000 // 7 6 chip rate / 2*pi
251 
-
252 // RF69_REG_OOK_FIX
-
253 #define RADIOLIB_RF69_OOK_FIXED_THRESH 0b00000110 // 7 0 default OOK fixed threshold (6 dB)
+
252 // RADIOLIB_RF69_REG_OOK_FIX
+
253 #define RADIOLIB_RF69_OOK_FIXED_THRESH 0b00000110 // 7 0 default OOK fixed threshold (6 dB)
254 
-
255 // RF69_REG_AFC_FEI
-
256 #define RADIOLIB_RF69_FEI_RUNNING 0b00000000 // 6 6 FEI status: on-going
-
257 #define RADIOLIB_RF69_FEI_DONE 0b01000000 // 6 6 done
-
258 #define RADIOLIB_RF69_FEI_START 0b00100000 // 5 5 force new FEI measurement
-
259 #define RADIOLIB_RF69_AFC_RUNNING 0b00000000 // 4 4 AFC status: on-going
-
260 #define RADIOLIB_RF69_AFC_DONE 0b00010000 // 4 4 done
-
261 #define RADIOLIB_RF69_AFC_AUTOCLEAR_OFF 0b00000000 // 3 3 AFC register autoclear disabled
-
262 #define RADIOLIB_RF69_AFC_AUTOCLEAR_ON 0b00001000 // 3 3 AFC register autoclear enabled
-
263 #define RADIOLIB_RF69_AFC_AUTO_OFF 0b00000000 // 2 2 perform AFC only manually
-
264 #define RADIOLIB_RF69_AFC_AUTO_ON 0b00000100 // 2 2 perform AFC each time Rx mode is started
-
265 #define RADIOLIB_RF69_AFC_CLEAR 0b00000010 // 1 1 clear AFC register
-
266 #define RADIOLIB_RF69_AFC_START 0b00000001 // 0 0 start AFC
+
255 // RADIOLIB_RF69_REG_AFC_FEI
+
256 #define RADIOLIB_RF69_FEI_RUNNING 0b00000000 // 6 6 FEI status: on-going
+
257 #define RADIOLIB_RF69_FEI_DONE 0b01000000 // 6 6 done
+
258 #define RADIOLIB_RF69_FEI_START 0b00100000 // 5 5 force new FEI measurement
+
259 #define RADIOLIB_RF69_AFC_RUNNING 0b00000000 // 4 4 AFC status: on-going
+
260 #define RADIOLIB_RF69_AFC_DONE 0b00010000 // 4 4 done
+
261 #define RADIOLIB_RF69_AFC_AUTOCLEAR_OFF 0b00000000 // 3 3 AFC register autoclear disabled
+
262 #define RADIOLIB_RF69_AFC_AUTOCLEAR_ON 0b00001000 // 3 3 AFC register autoclear enabled
+
263 #define RADIOLIB_RF69_AFC_AUTO_OFF 0b00000000 // 2 2 perform AFC only manually
+
264 #define RADIOLIB_RF69_AFC_AUTO_ON 0b00000100 // 2 2 perform AFC each time Rx mode is started
+
265 #define RADIOLIB_RF69_AFC_CLEAR 0b00000010 // 1 1 clear AFC register
+
266 #define RADIOLIB_RF69_AFC_START 0b00000001 // 0 0 start AFC
267 
-
268 // RF69_REG_RSSI_CONFIG
-
269 #define RADIOLIB_RF69_RSSI_RUNNING 0b00000000 // 1 1 RSSI status: on-going
-
270 #define RADIOLIB_RF69_RSSI_DONE 0b00000010 // 1 1 done
-
271 #define RADIOLIB_RF69_RSSI_START 0b00000001 // 0 0 start RSSI measurement
+
268 // RADIOLIB_RF69_REG_RSSI_CONFIG
+
269 #define RADIOLIB_RF69_RSSI_RUNNING 0b00000000 // 1 1 RSSI status: on-going
+
270 #define RADIOLIB_RF69_RSSI_DONE 0b00000010 // 1 1 done
+
271 #define RADIOLIB_RF69_RSSI_START 0b00000001 // 0 0 start RSSI measurement
272 
-
273 // RF69_REG_DIO_MAPPING_1
-
274 #define RADIOLIB_RF69_DIO0_CONT_MODE_READY 0b11000000 // 7 6
-
275 #define RADIOLIB_RF69_DIO0_CONT_PLL_LOCK 0b00000000 // 7 6
-
276 #define RADIOLIB_RF69_DIO0_CONT_SYNC_ADDRESS 0b00000000 // 7 6
-
277 #define RADIOLIB_RF69_DIO0_CONT_TIMEOUT 0b01000000 // 7 6
-
278 #define RADIOLIB_RF69_DIO0_CONT_RSSI 0b10000000 // 7 6
-
279 #define RADIOLIB_RF69_DIO0_CONT_TX_READY 0b01000000 // 7 6
-
280 #define RADIOLIB_RF69_DIO0_PACK_PLL_LOCK 0b11000000 // 7 6
-
281 #define RADIOLIB_RF69_DIO0_PACK_CRC_OK 0b00000000 // 7 6
-
282 #define RADIOLIB_RF69_DIO0_PACK_PAYLOAD_READY 0b01000000 // 7 6
-
283 #define RADIOLIB_RF69_DIO0_PACK_SYNC_ADDRESS 0b10000000 // 7 6
-
284 #define RADIOLIB_RF69_DIO0_PACK_RSSI 0b11000000 // 7 6
-
285 #define RADIOLIB_RF69_DIO0_PACK_PACKET_SENT 0b00000000 // 7 6
-
286 #define RADIOLIB_RF69_DIO0_PACK_TX_READY 0b01000000 // 7 6
-
287 #define RADIOLIB_RF69_DIO1_CONT_PLL_LOCK 0b00110000 // 5 4
-
288 #define RADIOLIB_RF69_DIO1_CONT_DCLK 0b00000000 // 5 4
-
289 #define RADIOLIB_RF69_DIO1_CONT_RX_READY 0b00010000 // 5 4
-
290 #define RADIOLIB_RF69_DIO1_CONT_SYNC_ADDRESS 0b00110000 // 5 4
-
291 #define RADIOLIB_RF69_DIO1_CONT_TX_READY 0b00010000 // 5 4
-
292 #define RADIOLIB_RF69_DIO1_PACK_FIFO_LEVEL 0b00000000 // 5 4
-
293 #define RADIOLIB_RF69_DIO1_PACK_FIFO_FULL 0b00010000 // 5 4
-
294 #define RADIOLIB_RF69_DIO1_PACK_FIFO_NOT_EMPTY 0b00100000 // 5 4
-
295 #define RADIOLIB_RF69_DIO1_PACK_PLL_LOCK 0b00110000 // 5 4
-
296 #define RADIOLIB_RF69_DIO1_PACK_TIMEOUT 0b00110000 // 5 4
-
297 #define RADIOLIB_RF69_DIO2_CONT_DATA 0b00000000 // 3 2
-
298 #define RADIOLIB_RF69_DIO2_PACK_FIFO_NOT_EMPTY 0b00000000 // 3 2
-
299 #define RADIOLIB_RF69_DIO2_PACK_AUTO_MODE 0b00001100 // 3 2
-
300 #define RADIOLIB_RF69_DIO2_PACK_DATA 0b00000100 // 3 2
-
301 #define RADIOLIB_RF69_DIO3_CONT_AUTO_MODE 0b00000010 // 0 1
-
302 #define RADIOLIB_RF69_DIO3_CONT_RSSI 0b00000000 // 0 1
-
303 #define RADIOLIB_RF69_DIO3_CONT_RX_READY 0b00000001 // 0 1
-
304 #define RADIOLIB_RF69_DIO3_CONT_TIMEOUT 0b00000011 // 0 1
-
305 #define RADIOLIB_RF69_DIO3_CONT_TX_READY 0b00000001 // 0 1
-
306 #define RADIOLIB_RF69_DIO3_PACK_FIFO_FULL 0b00000000 // 0 1
-
307 #define RADIOLIB_RF69_DIO3_PACK_PLL_LOCK 0b00000011 // 0 1
-
308 #define RADIOLIB_RF69_DIO3_PACK_RSSI 0b00000001 // 0 1
-
309 #define RADIOLIB_RF69_DIO3_PACK_SYNC_ADDRESSS 0b00000010 // 0 1
-
310 #define RADIOLIB_RF69_DIO3_PACK_TX_READY 0b00000001 // 0 1
+
273 // RADIOLIB_RF69_REG_DIO_MAPPING_1
+
274 #define RADIOLIB_RF69_DIO0_CONT_MODE_READY 0b11000000 // 7 6
+
275 #define RADIOLIB_RF69_DIO0_CONT_PLL_LOCK 0b00000000 // 7 6
+
276 #define RADIOLIB_RF69_DIO0_CONT_SYNC_ADDRESS 0b00000000 // 7 6
+
277 #define RADIOLIB_RF69_DIO0_CONT_TIMEOUT 0b01000000 // 7 6
+
278 #define RADIOLIB_RF69_DIO0_CONT_RSSI 0b10000000 // 7 6
+
279 #define RADIOLIB_RF69_DIO0_CONT_TX_READY 0b01000000 // 7 6
+
280 #define RADIOLIB_RF69_DIO0_PACK_PLL_LOCK 0b11000000 // 7 6
+
281 #define RADIOLIB_RF69_DIO0_PACK_CRC_OK 0b00000000 // 7 6
+
282 #define RADIOLIB_RF69_DIO0_PACK_PAYLOAD_READY 0b01000000 // 7 6
+
283 #define RADIOLIB_RF69_DIO0_PACK_SYNC_ADDRESS 0b10000000 // 7 6
+
284 #define RADIOLIB_RF69_DIO0_PACK_RSSI 0b11000000 // 7 6
+
285 #define RADIOLIB_RF69_DIO0_PACK_PACKET_SENT 0b00000000 // 7 6
+
286 #define RADIOLIB_RF69_DIO0_PACK_TX_READY 0b01000000 // 7 6
+
287 #define RADIOLIB_RF69_DIO1_CONT_PLL_LOCK 0b00110000 // 5 4
+
288 #define RADIOLIB_RF69_DIO1_CONT_DCLK 0b00000000 // 5 4
+
289 #define RADIOLIB_RF69_DIO1_CONT_RX_READY 0b00010000 // 5 4
+
290 #define RADIOLIB_RF69_DIO1_CONT_SYNC_ADDRESS 0b00110000 // 5 4
+
291 #define RADIOLIB_RF69_DIO1_CONT_TX_READY 0b00010000 // 5 4
+
292 #define RADIOLIB_RF69_DIO1_PACK_FIFO_LEVEL 0b00000000 // 5 4
+
293 #define RADIOLIB_RF69_DIO1_PACK_FIFO_FULL 0b00010000 // 5 4
+
294 #define RADIOLIB_RF69_DIO1_PACK_FIFO_NOT_EMPTY 0b00100000 // 5 4
+
295 #define RADIOLIB_RF69_DIO1_PACK_PLL_LOCK 0b00110000 // 5 4
+
296 #define RADIOLIB_RF69_DIO1_PACK_TIMEOUT 0b00110000 // 5 4
+
297 #define RADIOLIB_RF69_DIO2_CONT_DATA 0b00000000 // 3 2
+
298 #define RADIOLIB_RF69_DIO2_PACK_FIFO_NOT_EMPTY 0b00000000 // 3 2
+
299 #define RADIOLIB_RF69_DIO2_PACK_AUTO_MODE 0b00001100 // 3 2
+
300 #define RADIOLIB_RF69_DIO2_PACK_DATA 0b00000100 // 3 2
+
301 #define RADIOLIB_RF69_DIO3_CONT_AUTO_MODE 0b00000010 // 0 1
+
302 #define RADIOLIB_RF69_DIO3_CONT_RSSI 0b00000000 // 0 1
+
303 #define RADIOLIB_RF69_DIO3_CONT_RX_READY 0b00000001 // 0 1
+
304 #define RADIOLIB_RF69_DIO3_CONT_TIMEOUT 0b00000011 // 0 1
+
305 #define RADIOLIB_RF69_DIO3_CONT_TX_READY 0b00000001 // 0 1
+
306 #define RADIOLIB_RF69_DIO3_PACK_FIFO_FULL 0b00000000 // 0 1
+
307 #define RADIOLIB_RF69_DIO3_PACK_PLL_LOCK 0b00000011 // 0 1
+
308 #define RADIOLIB_RF69_DIO3_PACK_RSSI 0b00000001 // 0 1
+
309 #define RADIOLIB_RF69_DIO3_PACK_SYNC_ADDRESSS 0b00000010 // 0 1
+
310 #define RADIOLIB_RF69_DIO3_PACK_TX_READY 0b00000001 // 0 1
311 
-
312 // RF69_REG_DIO_MAPPING_2
-
313 #define RADIOLIB_RF69_DIO4_CONT_PLL_LOCK 0b11000000 // 7 6
-
314 #define RADIOLIB_RF69_DIO4_CONT_TIMEOUT 0b00000000 // 7 6
-
315 #define RADIOLIB_RF69_DIO4_CONT_RX_READY 0b01000000 // 7 6
-
316 #define RADIOLIB_RF69_DIO4_CONT_SYNC_ADDRESS 0b10000000 // 7 6
-
317 #define RADIOLIB_RF69_DIO4_CONT_TX_READY 0b01000000 // 7 6
-
318 #define RADIOLIB_RF69_DIO4_PACK_PLL_LOCK 0b11000000 // 7 6
-
319 #define RADIOLIB_RF69_DIO4_PACK_TIMEOUT 0b00000000 // 7 6
-
320 #define RADIOLIB_RF69_DIO4_PACK_RSSI 0b01000000 // 7 6
-
321 #define RADIOLIB_RF69_DIO4_PACK_RX_READY 0b10000000 // 7 6
-
322 #define RADIOLIB_RF69_DIO4_PACK_MODE_READY 0b00000000 // 7 6
-
323 #define RADIOLIB_RF69_DIO4_PACK_TX_READY 0b01000000 // 7 6
-
324 #define RADIOLIB_RF69_DIO5_CONT_MODE_READY 0b00110000 // 5 4
-
325 #define RADIOLIB_RF69_DIO5_CONT_CLK_OUT 0b00000000 // 5 4
-
326 #define RADIOLIB_RF69_DIO5_CONT_RSSI 0b00010000 // 5 4
-
327 #define RADIOLIB_RF69_DIO5_PACK_MODE_READY 0b00110000 // 5 4
-
328 #define RADIOLIB_RF69_DIO5_PACK_CLK_OUT 0b00000000 // 5 4
-
329 #define RADIOLIB_RF69_DIO5_PACK_DATA 0b00010000 // 5 4
-
330 #define RADIOLIB_RF69_CLK_OUT_FXOSC 0b00000000 // 2 0 ClkOut frequency: F(XOSC)
-
331 #define RADIOLIB_RF69_CLK_OUT_FXOSC_2 0b00000001 // 2 0 F(XOSC) / 2
-
332 #define RADIOLIB_RF69_CLK_OUT_FXOSC_4 0b00000010 // 2 0 F(XOSC) / 4
-
333 #define RADIOLIB_RF69_CLK_OUT_FXOSC_8 0b00000011 // 2 0 F(XOSC) / 8
-
334 #define RADIOLIB_RF69_CLK_OUT_FXOSC_16 0b00000100 // 2 0 F(XOSC) / 16
-
335 #define RADIOLIB_RF69_CLK_OUT_FXOSC_32 0b00000101 // 2 0 F(XOSC) / 31
-
336 #define RADIOLIB_RF69_CLK_OUT_RC 0b00000110 // 2 0 RC
-
337 #define RADIOLIB_RF69_CLK_OUT_OFF 0b00000111 // 2 0 disabled (default)
+
312 // RADIOLIB_RF69_REG_DIO_MAPPING_2
+
313 #define RADIOLIB_RF69_DIO4_CONT_PLL_LOCK 0b11000000 // 7 6
+
314 #define RADIOLIB_RF69_DIO4_CONT_TIMEOUT 0b00000000 // 7 6
+
315 #define RADIOLIB_RF69_DIO4_CONT_RX_READY 0b01000000 // 7 6
+
316 #define RADIOLIB_RF69_DIO4_CONT_SYNC_ADDRESS 0b10000000 // 7 6
+
317 #define RADIOLIB_RF69_DIO4_CONT_TX_READY 0b01000000 // 7 6
+
318 #define RADIOLIB_RF69_DIO4_PACK_PLL_LOCK 0b11000000 // 7 6
+
319 #define RADIOLIB_RF69_DIO4_PACK_TIMEOUT 0b00000000 // 7 6
+
320 #define RADIOLIB_RF69_DIO4_PACK_RSSI 0b01000000 // 7 6
+
321 #define RADIOLIB_RF69_DIO4_PACK_RX_READY 0b10000000 // 7 6
+
322 #define RADIOLIB_RF69_DIO4_PACK_MODE_READY 0b00000000 // 7 6
+
323 #define RADIOLIB_RF69_DIO4_PACK_TX_READY 0b01000000 // 7 6
+
324 #define RADIOLIB_RF69_DIO5_CONT_MODE_READY 0b00110000 // 5 4
+
325 #define RADIOLIB_RF69_DIO5_CONT_CLK_OUT 0b00000000 // 5 4
+
326 #define RADIOLIB_RF69_DIO5_CONT_RSSI 0b00010000 // 5 4
+
327 #define RADIOLIB_RF69_DIO5_PACK_MODE_READY 0b00110000 // 5 4
+
328 #define RADIOLIB_RF69_DIO5_PACK_CLK_OUT 0b00000000 // 5 4
+
329 #define RADIOLIB_RF69_DIO5_PACK_DATA 0b00010000 // 5 4
+
330 #define RADIOLIB_RF69_CLK_OUT_FXOSC 0b00000000 // 2 0 ClkOut frequency: F(XOSC)
+
331 #define RADIOLIB_RF69_CLK_OUT_FXOSC_2 0b00000001 // 2 0 F(XOSC) / 2
+
332 #define RADIOLIB_RF69_CLK_OUT_FXOSC_4 0b00000010 // 2 0 F(XOSC) / 4
+
333 #define RADIOLIB_RF69_CLK_OUT_FXOSC_8 0b00000011 // 2 0 F(XOSC) / 8
+
334 #define RADIOLIB_RF69_CLK_OUT_FXOSC_16 0b00000100 // 2 0 F(XOSC) / 16
+
335 #define RADIOLIB_RF69_CLK_OUT_FXOSC_32 0b00000101 // 2 0 F(XOSC) / 31
+
336 #define RADIOLIB_RF69_CLK_OUT_RC 0b00000110 // 2 0 RC
+
337 #define RADIOLIB_RF69_CLK_OUT_OFF 0b00000111 // 2 0 disabled (default)
338 
-
339 // RF69_REG_IRQ_FLAGS_1
-
340 #define RADIOLIB_RF69_IRQ_MODE_READY 0b10000000 // 7 7 requested mode was set
-
341 #define RADIOLIB_RF69_IRQ_RX_READY 0b01000000 // 6 6 Rx mode ready
-
342 #define RADIOLIB_RF69_IRQ_TX_READY 0b00100000 // 5 5 Tx mode ready
-
343 #define RADIOLIB_RF69_IRQ_PLL_LOCK 0b00010000 // 4 4 PLL is locked
-
344 #define RADIOLIB_RF69_IRQ_RSSI 0b00001000 // 3 3 RSSI value exceeded RssiThreshold
-
345 #define RADIOLIB_RF69_IRQ_TIMEOUT 0b00000100 // 2 2 timeout occurred
-
346 #define RADIOLIB_RF69_IRQ_AUTO_MODE 0b00000010 // 1 1 entered intermediate mode
-
347 #define RADIOLIB_RF69_SYNC_ADDRESS_MATCH 0b00000001 // 0 0 sync address detected
+
339 // RADIOLIB_RF69_REG_IRQ_FLAGS_1
+
340 #define RADIOLIB_RF69_IRQ_MODE_READY 0b10000000 // 7 7 requested mode was set
+
341 #define RADIOLIB_RF69_IRQ_RX_READY 0b01000000 // 6 6 Rx mode ready
+
342 #define RADIOLIB_RF69_IRQ_TX_READY 0b00100000 // 5 5 Tx mode ready
+
343 #define RADIOLIB_RF69_IRQ_PLL_LOCK 0b00010000 // 4 4 PLL is locked
+
344 #define RADIOLIB_RF69_IRQ_RSSI 0b00001000 // 3 3 RSSI value exceeded RssiThreshold
+
345 #define RADIOLIB_RF69_IRQ_TIMEOUT 0b00000100 // 2 2 timeout occurred
+
346 #define RADIOLIB_RF69_IRQ_AUTO_MODE 0b00000010 // 1 1 entered intermediate mode
+
347 #define RADIOLIB_RF69_SYNC_ADDRESS_MATCH 0b00000001 // 0 0 sync address detected
348 
-
349 // RF69_REG_IRQ_FLAGS_2
-
350 #define RADIOLIB_RF69_IRQ_FIFO_FULL 0b10000000 // 7 7 FIFO is full
-
351 #define RADIOLIB_RF69_IRQ_FIFO_NOT_EMPTY 0b01000000 // 6 6 FIFO contains at least 1 byte
-
352 #define RADIOLIB_RF69_IRQ_FIFO_LEVEL 0b00100000 // 5 5 FIFO contains more than FifoThreshold bytes
-
353 #define RADIOLIB_RF69_IRQ_FIFO_OVERRUN 0b00010000 // 4 4 FIFO overrun occurred
-
354 #define RADIOLIB_RF69_IRQ_PACKET_SENT 0b00001000 // 3 3 packet was sent
-
355 #define RADIOLIB_RF69_IRQ_PAYLOAD_READY 0b00000100 // 2 2 last payload byte received and CRC check passed
-
356 #define RADIOLIB_RF69_IRQ_CRC_OK 0b00000010 // 1 1 CRC check passed
+
349 // RADIOLIB_RF69_REG_IRQ_FLAGS_2
+
350 #define RADIOLIB_RF69_IRQ_FIFO_FULL 0b10000000 // 7 7 FIFO is full
+
351 #define RADIOLIB_RF69_IRQ_FIFO_NOT_EMPTY 0b01000000 // 6 6 FIFO contains at least 1 byte
+
352 #define RADIOLIB_RF69_IRQ_FIFO_LEVEL 0b00100000 // 5 5 FIFO contains more than FifoThreshold bytes
+
353 #define RADIOLIB_RF69_IRQ_FIFO_OVERRUN 0b00010000 // 4 4 FIFO overrun occurred
+
354 #define RADIOLIB_RF69_IRQ_PACKET_SENT 0b00001000 // 3 3 packet was sent
+
355 #define RADIOLIB_RF69_IRQ_PAYLOAD_READY 0b00000100 // 2 2 last payload byte received and CRC check passed
+
356 #define RADIOLIB_RF69_IRQ_CRC_OK 0b00000010 // 1 1 CRC check passed
357 
-
358 // RF69_REG_RSSI_THRESH
-
359 #define RADIOLIB_RF69_RSSI_THRESHOLD 0xE4 // 7 0 RSSI threshold level (2 dB by default)
+
358 // RADIOLIB_RF69_REG_RSSI_THRESH
+
359 #define RADIOLIB_RF69_RSSI_THRESHOLD 0xE4 // 7 0 RSSI threshold level (2 dB by default)
360 
-
361 // RF69_REG_RX_TIMEOUT_1
-
362 #define RADIOLIB_RF69_TIMEOUT_RX_START_OFF 0x00 // 7 0 RSSI interrupt timeout disabled (default)
-
363 #define RADIOLIB_RF69_TIMEOUT_RX_START 0xFF // 7 0 timeout will occur if RSSI interrupt is not received
+
361 // RADIOLIB_RF69_REG_RX_TIMEOUT_1
+
362 #define RADIOLIB_RF69_TIMEOUT_RX_START_OFF 0x00 // 7 0 RSSI interrupt timeout disabled (default)
+
363 #define RADIOLIB_RF69_TIMEOUT_RX_START 0xFF // 7 0 timeout will occur if RSSI interrupt is not received
364 
-
365 // RF69_REG_RX_TIMEOUT_2
-
366 #define RADIOLIB_RF69_TIMEOUT_RSSI_THRESH_OFF 0x00 // 7 0 PayloadReady interrupt timeout disabled (default)
-
367 #define RADIOLIB_RF69_TIMEOUT_RSSI_THRESH 0xFF // 7 0 timeout will occur if PayloadReady interrupt is not received
+
365 // RADIOLIB_RF69_REG_RX_TIMEOUT_2
+
366 #define RADIOLIB_RF69_TIMEOUT_RSSI_THRESH_OFF 0x00 // 7 0 PayloadReady interrupt timeout disabled (default)
+
367 #define RADIOLIB_RF69_TIMEOUT_RSSI_THRESH 0xFF // 7 0 timeout will occur if PayloadReady interrupt is not received
368 
-
369 // RF69_REG_PREAMBLE_MSB + REG_PREAMBLE_MSB
-
370 #define RADIOLIB_RF69_PREAMBLE_MSB 0x00 // 7 0 2-byte preamble size value
-
371 #define RADIOLIB_RF69_PREAMBLE_LSB 0x03 // 7 0
+
369 // RADIOLIB_RF69_REG_PREAMBLE_MSB + REG_PREAMBLE_MSB
+
370 #define RADIOLIB_RF69_PREAMBLE_MSB 0x00 // 7 0 2-byte preamble size value
+
371 #define RADIOLIB_RF69_PREAMBLE_LSB 0x03 // 7 0
372 
-
373 // RF69_REG_SYNC_CONFIG
-
374 #define RADIOLIB_RF69_SYNC_OFF 0b00000000 // 7 7 sync word detection off
-
375 #define RADIOLIB_RF69_SYNC_ON 0b10000000 // 7 7 sync word detection on (default)
-
376 #define RADIOLIB_RF69_FIFO_FILL_CONDITION_SYNC 0b00000000 // 6 6 FIFO fill condition: on SyncAddress interrupt (default)
-
377 #define RADIOLIB_RF69_FIFO_FILL_CONDITION 0b01000000 // 6 6 as long as the bit is set
-
378 #define RADIOLIB_RF69_SYNC_SIZE 0b00001000 // 5 3 size of sync word: SyncSize + 1 bytes
-
379 #define RADIOLIB_RF69_SYNC_TOL 0b00000000 // 2 0 number of tolerated errors in sync word
+
373 // RADIOLIB_RF69_REG_SYNC_CONFIG
+
374 #define RADIOLIB_RF69_SYNC_OFF 0b00000000 // 7 7 sync word detection off
+
375 #define RADIOLIB_RF69_SYNC_ON 0b10000000 // 7 7 sync word detection on (default)
+
376 #define RADIOLIB_RF69_FIFO_FILL_CONDITION_SYNC 0b00000000 // 6 6 FIFO fill condition: on SyncAddress interrupt (default)
+
377 #define RADIOLIB_RF69_FIFO_FILL_CONDITION 0b01000000 // 6 6 as long as the bit is set
+
378 #define RADIOLIB_RF69_SYNC_SIZE 0b00001000 // 5 3 size of sync word: SyncSize + 1 bytes
+
379 #define RADIOLIB_RF69_SYNC_TOL 0b00000000 // 2 0 number of tolerated errors in sync word
380 
-
381 // RF69_REG_SYNC_VALUE_1 - SYNC_VALUE_8
-
382 #define RADIOLIB_RF69_SYNC_BYTE_1 0x01 // 7 0 sync word: 1st byte (MSB)
-
383 #define RADIOLIB_RF69_SYNC_BYTE_2 0x01 // 7 0 2nd byte
-
384 #define RADIOLIB_RF69_SYNC_BYTE_3 0x01 // 7 0 3rd byte
-
385 #define RADIOLIB_RF69_SYNC_BYTE_4 0x01 // 7 0 4th byte
-
386 #define RADIOLIB_RF69_SYNC_BYTE_5 0x01 // 7 0 5th byte
-
387 #define RADIOLIB_RF69_SYNC_BYTE_6 0x01 // 7 0 6th byte
-
388 #define RADIOLIB_RF69_SYNC_BYTE_7 0x01 // 7 0 7th byte
-
389 #define RADIOLIB_RF69_SYNC_BYTE_8 0x01 // 7 0 8th byte (LSB)
+
381 // RADIOLIB_RF69_REG_SYNC_VALUE_1 - SYNC_VALUE_8
+
382 #define RADIOLIB_RF69_SYNC_BYTE_1 0x01 // 7 0 sync word: 1st byte (MSB)
+
383 #define RADIOLIB_RF69_SYNC_BYTE_2 0x01 // 7 0 2nd byte
+
384 #define RADIOLIB_RF69_SYNC_BYTE_3 0x01 // 7 0 3rd byte
+
385 #define RADIOLIB_RF69_SYNC_BYTE_4 0x01 // 7 0 4th byte
+
386 #define RADIOLIB_RF69_SYNC_BYTE_5 0x01 // 7 0 5th byte
+
387 #define RADIOLIB_RF69_SYNC_BYTE_6 0x01 // 7 0 6th byte
+
388 #define RADIOLIB_RF69_SYNC_BYTE_7 0x01 // 7 0 7th byte
+
389 #define RADIOLIB_RF69_SYNC_BYTE_8 0x01 // 7 0 8th byte (LSB)
390 
-
391 // RF69_REG_PACKET_CONFIG_1
-
392 #define RADIOLIB_RF69_PACKET_FORMAT_FIXED 0b00000000 // 7 7 fixed packet length (default)
-
393 #define RADIOLIB_RF69_PACKET_FORMAT_VARIABLE 0b10000000 // 7 7 variable packet length
-
394 #define RADIOLIB_RF69_DC_FREE_NONE 0b00000000 // 6 5 DC-free encoding: none (default)
-
395 #define RADIOLIB_RF69_DC_FREE_MANCHESTER 0b00100000 // 6 5 Manchester
-
396 #define RADIOLIB_RF69_DC_FREE_WHITENING 0b01000000 // 6 5 Whitening
-
397 #define RADIOLIB_RF69_CRC_OFF 0b00000000 // 4 4 CRC disabled
-
398 #define RADIOLIB_RF69_CRC_ON 0b00010000 // 4 4 CRC enabled (default)
-
399 #define RADIOLIB_RF69_CRC_AUTOCLEAR_ON 0b00000000 // 3 3 discard packet when CRC check fails (default)
-
400 #define RADIOLIB_RF69_CRC_AUTOCLEAR_OFF 0b00001000 // 3 3 keep packet when CRC check fails
-
401 #define RADIOLIB_RF69_ADDRESS_FILTERING_OFF 0b00000000 // 2 1 address filtering: none (default)
-
402 #define RADIOLIB_RF69_ADDRESS_FILTERING_NODE 0b00000010 // 2 1 node
-
403 #define RADIOLIB_RF69_ADDRESS_FILTERING_NODE_BROADCAST 0b00000100 // 2 1 node or broadcast
+
391 // RADIOLIB_RF69_REG_PACKET_CONFIG_1
+
392 #define RADIOLIB_RF69_PACKET_FORMAT_FIXED 0b00000000 // 7 7 fixed packet length (default)
+
393 #define RADIOLIB_RF69_PACKET_FORMAT_VARIABLE 0b10000000 // 7 7 variable packet length
+
394 #define RADIOLIB_RF69_DC_FREE_NONE 0b00000000 // 6 5 DC-free encoding: none (default)
+
395 #define RADIOLIB_RF69_DC_FREE_MANCHESTER 0b00100000 // 6 5 Manchester
+
396 #define RADIOLIB_RF69_DC_FREE_WHITENING 0b01000000 // 6 5 Whitening
+
397 #define RADIOLIB_RF69_CRC_OFF 0b00000000 // 4 4 CRC disabled
+
398 #define RADIOLIB_RF69_CRC_ON 0b00010000 // 4 4 CRC enabled (default)
+
399 #define RADIOLIB_RF69_CRC_AUTOCLEAR_ON 0b00000000 // 3 3 discard packet when CRC check fails (default)
+
400 #define RADIOLIB_RF69_CRC_AUTOCLEAR_OFF 0b00001000 // 3 3 keep packet when CRC check fails
+
401 #define RADIOLIB_RF69_ADDRESS_FILTERING_OFF 0b00000000 // 2 1 address filtering: none (default)
+
402 #define RADIOLIB_RF69_ADDRESS_FILTERING_NODE 0b00000010 // 2 1 node
+
403 #define RADIOLIB_RF69_ADDRESS_FILTERING_NODE_BROADCAST 0b00000100 // 2 1 node or broadcast
404 
-
405 // RF69_REG_PAYLOAD_LENGTH
-
406 #define RADIOLIB_RF69_PAYLOAD_LENGTH 0xFF // 7 0 payload length
+
405 // RADIOLIB_RF69_REG_PAYLOAD_LENGTH
+
406 #define RADIOLIB_RF69_PAYLOAD_LENGTH 0xFF // 7 0 payload length
407 
-
408 // RF69_REG_AUTO_MODES
-
409 #define RADIOLIB_RF69_ENTER_COND_NONE 0b00000000 // 7 5 condition for entering intermediate mode: none, AutoModes disabled (default)
-
410 #define RADIOLIB_RF69_ENTER_COND_FIFO_NOT_EMPTY 0b00100000 // 7 5 FifoNotEmpty rising edge
-
411 #define RADIOLIB_RF69_ENTER_COND_FIFO_LEVEL 0b01000000 // 7 5 FifoLevel rising edge
-
412 #define RADIOLIB_RF69_ENTER_COND_CRC_OK 0b01100000 // 7 5 CrcOk rising edge
-
413 #define RADIOLIB_RF69_ENTER_COND_PAYLOAD_READY 0b10000000 // 7 5 PayloadReady rising edge
-
414 #define RADIOLIB_RF69_ENTER_COND_SYNC_ADDRESS 0b10100000 // 7 5 SyncAddress rising edge
-
415 #define RADIOLIB_RF69_ENTER_COND_PACKET_SENT 0b11000000 // 7 5 PacketSent rising edge
-
416 #define RADIOLIB_RF69_ENTER_COND_FIFO_EMPTY 0b11100000 // 7 5 FifoNotEmpty falling edge
-
417 #define RADIOLIB_RF69_EXIT_COND_NONE 0b00000000 // 4 2 condition for exiting intermediate mode: none, AutoModes disabled (default)
-
418 #define RADIOLIB_RF69_EXIT_COND_FIFO_EMPTY 0b00100000 // 4 2 FifoNotEmpty falling edge
-
419 #define RADIOLIB_RF69_EXIT_COND_FIFO_LEVEL 0b01000000 // 4 2 FifoLevel rising edge
-
420 #define RADIOLIB_RF69_EXIT_COND_CRC_OK 0b01100000 // 4 2 CrcOk rising edge
-
421 #define RADIOLIB_RF69_EXIT_COND_PAYLOAD_READY 0b10000000 // 4 2 PayloadReady rising edge
-
422 #define RADIOLIB_RF69_EXIT_COND_SYNC_ADDRESS 0b10100000 // 4 2 SyncAddress rising edge
-
423 #define RADIOLIB_RF69_EXIT_COND_PACKET_SENT 0b11000000 // 4 2 PacketSent rising edge
-
424 #define RADIOLIB_RF69_EXIT_COND_TIMEOUT 0b11100000 // 4 2 timeout rising edge
-
425 #define RADIOLIB_RF69_INTER_MODE_SLEEP 0b00000000 // 1 0 intermediate mode: sleep (default)
-
426 #define RADIOLIB_RF69_INTER_MODE_STANDBY 0b00000001 // 1 0 standby
-
427 #define RADIOLIB_RF69_INTER_MODE_RX 0b00000010 // 1 0 Rx
-
428 #define RADIOLIB_RF69_INTER_MODE_TX 0b00000011 // 1 0 Tx
+
408 // RADIOLIB_RF69_REG_AUTO_MODES
+
409 #define RADIOLIB_RF69_ENTER_COND_NONE 0b00000000 // 7 5 condition for entering intermediate mode: none, AutoModes disabled (default)
+
410 #define RADIOLIB_RF69_ENTER_COND_FIFO_NOT_EMPTY 0b00100000 // 7 5 FifoNotEmpty rising edge
+
411 #define RADIOLIB_RF69_ENTER_COND_FIFO_LEVEL 0b01000000 // 7 5 FifoLevel rising edge
+
412 #define RADIOLIB_RF69_ENTER_COND_CRC_OK 0b01100000 // 7 5 CrcOk rising edge
+
413 #define RADIOLIB_RF69_ENTER_COND_PAYLOAD_READY 0b10000000 // 7 5 PayloadReady rising edge
+
414 #define RADIOLIB_RF69_ENTER_COND_SYNC_ADDRESS 0b10100000 // 7 5 SyncAddress rising edge
+
415 #define RADIOLIB_RF69_ENTER_COND_PACKET_SENT 0b11000000 // 7 5 PacketSent rising edge
+
416 #define RADIOLIB_RF69_ENTER_COND_FIFO_EMPTY 0b11100000 // 7 5 FifoNotEmpty falling edge
+
417 #define RADIOLIB_RF69_EXIT_COND_NONE 0b00000000 // 4 2 condition for exiting intermediate mode: none, AutoModes disabled (default)
+
418 #define RADIOLIB_RF69_EXIT_COND_FIFO_EMPTY 0b00100000 // 4 2 FifoNotEmpty falling edge
+
419 #define RADIOLIB_RF69_EXIT_COND_FIFO_LEVEL 0b01000000 // 4 2 FifoLevel rising edge
+
420 #define RADIOLIB_RF69_EXIT_COND_CRC_OK 0b01100000 // 4 2 CrcOk rising edge
+
421 #define RADIOLIB_RF69_EXIT_COND_PAYLOAD_READY 0b10000000 // 4 2 PayloadReady rising edge
+
422 #define RADIOLIB_RF69_EXIT_COND_SYNC_ADDRESS 0b10100000 // 4 2 SyncAddress rising edge
+
423 #define RADIOLIB_RF69_EXIT_COND_PACKET_SENT 0b11000000 // 4 2 PacketSent rising edge
+
424 #define RADIOLIB_RF69_EXIT_COND_TIMEOUT 0b11100000 // 4 2 timeout rising edge
+
425 #define RADIOLIB_RF69_INTER_MODE_SLEEP 0b00000000 // 1 0 intermediate mode: sleep (default)
+
426 #define RADIOLIB_RF69_INTER_MODE_STANDBY 0b00000001 // 1 0 standby
+
427 #define RADIOLIB_RF69_INTER_MODE_RX 0b00000010 // 1 0 Rx
+
428 #define RADIOLIB_RF69_INTER_MODE_TX 0b00000011 // 1 0 Tx
429 
-
430 // RF69_REG_FIFO_THRESH
-
431 #define RADIOLIB_RF69_TX_START_CONDITION_FIFO_LEVEL 0b00000000 // 7 7 packet transmission start condition: FifoLevel
-
432 #define RADIOLIB_RF69_TX_START_CONDITION_FIFO_NOT_EMPTY 0b10000000 // 7 7 FifoNotEmpty (default)
-
433 #define RADIOLIB_RF69_FIFO_THRESH 0x1F // 6 0 default threshold to trigger FifoLevel interrupt
+
430 // RADIOLIB_RF69_REG_FIFO_THRESH
+
431 #define RADIOLIB_RF69_TX_START_CONDITION_FIFO_LEVEL 0b00000000 // 7 7 packet transmission start condition: FifoLevel
+
432 #define RADIOLIB_RF69_TX_START_CONDITION_FIFO_NOT_EMPTY 0b10000000 // 7 7 FifoNotEmpty (default)
+
433 #define RADIOLIB_RF69_FIFO_THRESH 0x1F // 6 0 default threshold to trigger FifoLevel interrupt
434 
-
435 // RF69_REG_PACKET_CONFIG_2
-
436 #define RADIOLIB_RF69_INTER_PACKET_RX_DELAY 0b00000000 // 7 4 delay between FIFO empty and start of new RSSI phase
-
437 #define RADIOLIB_RF69_RESTART_RX 0b00000100 // 2 2 force receiver into wait mode
-
438 #define RADIOLIB_RF69_AUTO_RX_RESTART_OFF 0b00000000 // 1 1 auto Rx restart disabled
-
439 #define RADIOLIB_RF69_AUTO_RX_RESTART_ON 0b00000010 // 1 1 auto Rx restart enabled (default)
-
440 #define RADIOLIB_RF69_AES_OFF 0b00000000 // 0 0 AES encryption disabled (default)
-
441 #define RADIOLIB_RF69_AES_ON 0b00000001 // 0 0 AES encryption enabled, payload size limited to 66 bytes
+
435 // RADIOLIB_RF69_REG_PACKET_CONFIG_2
+
436 #define RADIOLIB_RF69_INTER_PACKET_RX_DELAY 0b00000000 // 7 4 delay between FIFO empty and start of new RSSI phase
+
437 #define RADIOLIB_RF69_RESTART_RX 0b00000100 // 2 2 force receiver into wait mode
+
438 #define RADIOLIB_RF69_AUTO_RX_RESTART_OFF 0b00000000 // 1 1 auto Rx restart disabled
+
439 #define RADIOLIB_RF69_AUTO_RX_RESTART_ON 0b00000010 // 1 1 auto Rx restart enabled (default)
+
440 #define RADIOLIB_RF69_AES_OFF 0b00000000 // 0 0 AES encryption disabled (default)
+
441 #define RADIOLIB_RF69_AES_ON 0b00000001 // 0 0 AES encryption enabled, payload size limited to 66 bytes
442 
-
443 // RF69_REG_TEST_LNA
-
444 #define RADIOLIB_RF69_TEST_LNA_BOOST_NORMAL 0x1B // 7 0
-
445 #define RADIOLIB_RF69_TEST_LNA_BOOST_HIGH 0x2D // 7 0
+
443 // RADIOLIB_RF69_REG_TEST_LNA
+
444 #define RADIOLIB_RF69_TEST_LNA_BOOST_NORMAL 0x1B // 7 0
+
445 #define RADIOLIB_RF69_TEST_LNA_BOOST_HIGH 0x2D // 7 0
446 
-
447 // RF69_REG_TEMP_1
-
448 #define RADIOLIB_RF69_TEMP_MEAS_START 0b00001000 // 3 3 trigger temperature measurement
-
449 #define RADIOLIB_RF69_TEMP_MEAS_RUNNING 0b00000100 // 2 2 temperature measurement status: on-going
-
450 #define RADIOLIB_RF69_TEMP_MEAS_DONE 0b00000000 // 2 2 done
+
447 // RADIOLIB_RF69_REG_TEMP_1
+
448 #define RADIOLIB_RF69_TEMP_MEAS_START 0b00001000 // 3 3 trigger temperature measurement
+
449 #define RADIOLIB_RF69_TEMP_MEAS_RUNNING 0b00000100 // 2 2 temperature measurement status: on-going
+
450 #define RADIOLIB_RF69_TEMP_MEAS_DONE 0b00000000 // 2 2 done
451 
-
452 // RF69_REG_TEST_DAGC
-
453 #define RADIOLIB_RF69_CONTINUOUS_DAGC_NORMAL 0x00 // 7 0 fading margin improvement: normal mode
-
454 #define RADIOLIB_RF69_CONTINUOUS_DAGC_LOW_BETA_ON 0x20 // 7 0 improved mode for AfcLowBetaOn
-
455 #define RADIOLIB_RF69_CONTINUOUS_DAGC_LOW_BETA_OFF 0x30 // 7 0 improved mode for AfcLowBetaOff (default)
+
452 // RADIOLIB_RF69_REG_TEST_DAGC
+
453 #define RADIOLIB_RF69_CONTINUOUS_DAGC_NORMAL 0x00 // 7 0 fading margin improvement: normal mode
+
454 #define RADIOLIB_RF69_CONTINUOUS_DAGC_LOW_BETA_ON 0x20 // 7 0 improved mode for AfcLowBetaOn
+
455 #define RADIOLIB_RF69_CONTINUOUS_DAGC_LOW_BETA_OFF 0x30 // 7 0 improved mode for AfcLowBetaOff (default)
456 
-
457 // RF69_REG_TEST_PA1
-
458 #define RADIOLIB_RF69_PA1_NORMAL 0x55 // 7 0 PA_BOOST: none
-
459 #define RADIOLIB_RF69_PA1_20_DBM 0x5D // 7 0 +20 dBm
+
457 // RADIOLIB_RF69_REG_TEST_PA1
+
458 #define RADIOLIB_RF69_PA1_NORMAL 0x55 // 7 0 PA_BOOST: none
+
459 #define RADIOLIB_RF69_PA1_20_DBM 0x5D // 7 0 +20 dBm
460 
-
461 // RF69_REG_TEST_PA2
-
462 #define RADIOLIB_RF69_PA2_NORMAL 0x70 // 7 0 PA_BOOST: none
-
463 #define RADIOLIB_RF69_PA2_20_DBM 0x7C // 7 0 +20 dBm
+
461 // RADIOLIB_RF69_REG_TEST_PA2
+
462 #define RADIOLIB_RF69_PA2_NORMAL 0x70 // 7 0 PA_BOOST: none
+
463 #define RADIOLIB_RF69_PA2_20_DBM 0x7C // 7 0 +20 dBm
464 
-
465 // Defaults
-
466 #define RADIOLIB_RF69_DEFAULT_FREQ 434.0
-
467 #define RADIOLIB_RF69_DEFAULT_BR 4.8
-
468 #define RADIOLIB_RF69_DEFAULT_FREQDEV 5.0
-
469 #define RADIOLIB_RF69_DEFAULT_RXBW 125.0
-
470 #define RADIOLIB_RF69_DEFAULT_POWER 10
-
471 #define RADIOLIB_RF69_DEFAULT_PREAMBLELEN 16
-
472 #define RADIOLIB_RF69_DEFAULT_SW {0x12, 0xAD}
-
473 #define RADIOLIB_RF69_DEFAULT_SW_LEN 2
+
465 // RadioLib defaults
+
466 #define RADIOLIB_RF69_DEFAULT_FREQ 434.0
+
467 #define RADIOLIB_RF69_DEFAULT_BR 4.8
+
468 #define RADIOLIB_RF69_DEFAULT_FREQDEV 5.0
+
469 #define RADIOLIB_RF69_DEFAULT_RXBW 125.0
+
470 #define RADIOLIB_RF69_DEFAULT_POWER 10
+
471 #define RADIOLIB_RF69_DEFAULT_PREAMBLELEN 16
+
472 #define RADIOLIB_RF69_DEFAULT_SW {0x12, 0xAD}
+
473 #define RADIOLIB_RF69_DEFAULT_SW_LEN 2
+
474 
479 class RF69: public PhysicalLayer {
480  public:
481  // introduce PhysicalLayer overloads
@@ -567,203 +568,203 @@ $(document).ready(function(){initNavTree('_r_f69_8h_source.html',''); initResiza
484  using PhysicalLayer::startTransmit;
485  using PhysicalLayer::readData;
486 
-
492  RF69(Module* module);
-
493 
-
494  Module* getMod();
-
495 
-
496  // basic methods
-
497 
-
515  int16_t begin(
-
516  float freq = RADIOLIB_RF69_DEFAULT_FREQ,
-
517  float br = RADIOLIB_RF69_DEFAULT_BR,
-
518  float freqDev = RADIOLIB_RF69_DEFAULT_FREQDEV,
-
519  float rxBw = RADIOLIB_RF69_DEFAULT_RXBW,
-
520  int8_t power = RADIOLIB_RF69_DEFAULT_POWER,
-
521  uint8_t preambleLen = RADIOLIB_RF69_DEFAULT_PREAMBLELEN);
-
522 
-
526  void reset();
-
527 
-
540  int16_t transmit(uint8_t* data, size_t len, uint8_t addr = 0) override;
-
541 
-
552  int16_t receive(uint8_t* data, size_t len) override;
-
553 
-
559  int16_t sleep();
-
560 
-
566  int16_t standby() override;
-
567 
-
575  int16_t standby(uint8_t mode) override;
-
576 
-
584  int16_t transmitDirect(uint32_t frf = 0) override;
-
585 
-
591  int16_t receiveDirect() override;
-
592 
-
596  int16_t packetMode();
+
491  RF69(Module* module);
+
492 
+
493  Module* getMod();
+
494 
+
495  // basic methods
+
496 
+
507  int16_t begin(
+
508  float freq = RADIOLIB_RF69_DEFAULT_FREQ,
+
509  float br = RADIOLIB_RF69_DEFAULT_BR,
+
510  float freqDev = RADIOLIB_RF69_DEFAULT_FREQDEV,
+
511  float rxBw = RADIOLIB_RF69_DEFAULT_RXBW,
+
512  int8_t power = RADIOLIB_RF69_DEFAULT_POWER,
+
513  uint8_t preambleLen = RADIOLIB_RF69_DEFAULT_PREAMBLELEN);
+
514 
+
518  void reset();
+
519 
+
528  int16_t transmit(uint8_t* data, size_t len, uint8_t addr = 0) override;
+
529 
+
537  int16_t receive(uint8_t* data, size_t len) override;
+
538 
+
543  int16_t sleep();
+
544 
+
549  int16_t standby() override;
+
550 
+
556  int16_t standby(uint8_t mode) override;
+
557 
+
563  int16_t transmitDirect(uint32_t frf = 0) override;
+
564 
+
569  int16_t receiveDirect() override;
+
570 
+
574  int16_t packetMode();
+
575 
+
576  // hardware AES support
+
577 
+
582  void setAESKey(uint8_t* key);
+
583 
+
588  int16_t enableAES();
+
589 
+
594  int16_t disableAES();
+
595 
+
596  // interrupt methods
597 
-
598  // hardware AES support
-
599 
-
605  void setAESKey(uint8_t* key);
-
606 
-
612  int16_t enableAES();
-
613 
-
619  int16_t disableAES();
-
620 
-
621  // interrupt methods
-
622 
-
628  void setDio0Action(void (*func)(void));
-
629 
-
633  void clearDio0Action();
-
634 
-
640  void setDio1Action(void (*func)(void));
+
602  void setDio0Action(void (*func)(void));
+
603 
+
607  void clearDio0Action();
+
608 
+
613  void setDio1Action(void (*func)(void));
+
614 
+
618  void clearDio1Action();
+
619 
+
624  void setFifoEmptyAction(void (*func)(void));
+
625 
+
629  void clearFifoEmptyAction();
+
630 
+
635  void setFifoFullAction(void (*func)(void));
+
636 
+
640  void clearFifoFullAction();
641 
-
645  void clearDio1Action();
-
646 
-
652  void setFifoEmptyAction(void (*func)(void));
-
653 
-
657  void clearFifoEmptyAction();
-
658 
-
664  void setFifoFullAction(void (*func)(void));
-
665 
-
669  void clearFifoFullAction();
-
670 
-
682  bool fifoAdd(uint8_t* data, int totalLen, int* remLen);
-
683 
-
695  bool fifoGet(volatile uint8_t* data, int totalLen, volatile int* rcvLen);
-
696 
-
709  int16_t startTransmit(uint8_t* data, size_t len, uint8_t addr = 0) override;
+
649  bool fifoAdd(uint8_t* data, int totalLen, int* remLen);
+
650 
+
658  bool fifoGet(volatile uint8_t* data, int totalLen, volatile int* rcvLen);
+
659 
+
668  int16_t startTransmit(uint8_t* data, size_t len, uint8_t addr = 0) override;
+
669 
+
674  int16_t finishTransmit() override;
+
675 
+
680  int16_t startReceive();
+
681 
+
690  int16_t startReceive(uint32_t timeout, uint16_t irqFlags, uint16_t irqMask, size_t len);
+
691 
+
699  int16_t readData(uint8_t* data, size_t len) override;
+
700 
+
701  // configuration methods
+
702 
+
709  int16_t setFrequency(float freq);
710 
-
716  int16_t finishTransmit() override;
+
716  int16_t getFrequency(float *freq);
717 
-
723  int16_t startReceive();
+
723  int16_t setBitRate(float br);
724 
-
738  int16_t startReceive(uint32_t timeout, uint16_t irqFlags, uint16_t irqMask, size_t len);
+
731  int16_t setRxBandwidth(float rxBw);
+
732 
+
738  int16_t setFrequencyDeviation(float freqDev) override;
739 
-
750  int16_t readData(uint8_t* data, size_t len) override;
-
751 
-
752  // configuration methods
-
753 
-
761  int16_t setFrequency(float freq);
-
762 
-
770  int16_t getFrequency(float *freq);
+
745  int16_t getFrequencyDeviation(float *freqDev);
+
746 
+
755  int16_t setOutputPower(int8_t pwr, bool highPower = false);
+
756 
+
763  int16_t setSyncWord(uint8_t* syncWord, size_t len, uint8_t maxErrBits = 0);
+
764 
+
770  int16_t setPreambleLength(uint8_t preambleLen);
771 
-
779  int16_t setBitRate(float br);
-
780 
-
788  int16_t setRxBandwidth(float rxBw);
-
789 
-
797  int16_t setFrequencyDeviation(float freqDev) override;
-
798 
-
806  int16_t getFrequencyDeviation(float *freqDev);
-
807 
-
817  int16_t setOutputPower(int8_t power, bool highPower = false);
-
818 
-
828  int16_t setSyncWord(uint8_t* syncWord, size_t len, uint8_t maxErrBits = 0);
-
829 
-
837  int16_t setPreambleLength(uint8_t preambleLen);
-
838 
-
846  int16_t setNodeAddress(uint8_t nodeAddr);
-
847 
-
855  int16_t setBroadcastAddress(uint8_t broadAddr);
-
856 
-
862  int16_t disableAddressFiltering();
-
863 
-
864  // measurement methods
+
777  int16_t setNodeAddress(uint8_t nodeAddr);
+
778 
+
784  int16_t setBroadcastAddress(uint8_t broadAddr);
+
785 
+
790  int16_t disableAddressFiltering();
+
791 
+
792  // measurement methods
+
793 
+
798  void setAmbientTemperature(int16_t tempAmbient);
+
799 
+
804  int16_t getTemperature();
+
805 
+
811  size_t getPacketLength(bool update = true) override;
+
812 
+
819  int16_t setOOK(bool enable);
+
820 
+
827  int16_t setOokThresholdType(uint8_t type);
+
828 
+
836  int16_t setOokFixedThreshold(uint8_t value);
+
837 
+
843  int16_t setOokPeakThresholdDecrement(uint8_t value);
+
844 
+
850  int16_t fixedPacketLengthMode(uint8_t len = RADIOLIB_RF69_MAX_PACKET_LENGTH);
+
851 
+
857  int16_t variablePacketLengthMode(uint8_t maxLen = RADIOLIB_RF69_MAX_PACKET_LENGTH);
+
858 
+
864  int16_t enableSyncWordFiltering(uint8_t maxErrBits = 0);
865 
-
871  void setAmbientTemperature(int16_t tempAmbient);
-
872 
-
878  int16_t getTemperature();
-
879 
-
887  size_t getPacketLength(bool update = true) override;
-
888 
-
897  int16_t setOOK(bool enableOOK);
-
898 
-
906  int16_t setOokThresholdType(uint8_t type);
-
907 
-
915  int16_t setOokFixedThreshold(uint8_t value);
-
916 
-
924  int16_t setOokPeakThresholdDecrement(uint8_t value);
-
925 
-
933  int16_t fixedPacketLengthMode(uint8_t len = RADIOLIB_RF69_MAX_PACKET_LENGTH);
+
870  int16_t disableSyncWordFiltering();
+
871 
+
876  int16_t enableContinuousModeBitSync();
+
877 
+
882  int16_t disableContinuousModeBitSync();
+
883 
+
889  int16_t setCrcFiltering(bool crcOn = true);
+
890 
+
896  int16_t setPromiscuousMode(bool enable = true);
+
897 
+
905  int16_t setDataShaping(uint8_t sh) override;
+
906 
+
913  int16_t setEncoding(uint8_t encoding) override;
+
914 
+
920  int16_t setLnaTestBoost(bool value);
+
921 
+
926  float getRSSI();
+
927 
+
933  int16_t setRSSIThreshold(float dbm);
934 
-
942  int16_t variablePacketLengthMode(uint8_t maxLen = RADIOLIB_RF69_MAX_PACKET_LENGTH);
-
943 
-
951  int16_t enableSyncWordFiltering(uint8_t maxErrBits = 0);
+
936  void setRfSwitchPins(uint32_t rxEn, uint32_t txEn);
+
937 
+
939  void setRfSwitchTable(const uint32_t (&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[]);
+
940 
+
945  uint8_t randomByte();
+
946 
+
951  int16_t getChipVersion();
952 
-
958  int16_t disableSyncWordFiltering();
+
953  #if !defined(RADIOLIB_EXCLUDE_DIRECT_RECEIVE)
+
958  void setDirectAction(void (*func)(void));
959 
-
965  int16_t enableContinuousModeBitSync();
+
964  void readBit(uint32_t pin);
+
965  #endif
966 
-
972  int16_t disableContinuousModeBitSync();
-
973 
-
981  int16_t setCrcFiltering(bool crcOn = true);
-
982 
-
990  int16_t setPromiscuousMode(bool promiscuous = true);
-
991 
-
1000  int16_t setDataShaping(uint8_t sh) override;
-
1001 
-
1010  int16_t setEncoding(uint8_t encoding) override;
-
1011 
-
1019  int16_t setLnaTestBoost(bool value);
-
1020 
-
1026  float getRSSI();
-
1027 
-
1035  int16_t setRSSIThreshold(float dbm);
-
1036 
-
1038  void setRfSwitchPins(uint32_t rxEn, uint32_t txEn);
-
1039 
-
1041  void setRfSwitchTable(const uint32_t (&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[]);
-
1042 
-
1048  uint8_t randomByte();
-
1049 
-
1055  int16_t getChipVersion();
-
1056 
-
1057  #if !defined(RADIOLIB_EXCLUDE_DIRECT_RECEIVE)
-
1063  void setDirectAction(void (*func)(void));
-
1064 
-
1070  void readBit(uint32_t pin);
-
1071  #endif
-
1072 
-
1082  int16_t setDIOMapping(uint32_t pin, uint32_t value);
-
1083 
-
1084 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
-
1085  protected:
-
1086 #endif
-
1087  Module* _mod;
-
1088 
-
1089 #if !defined(RADIOLIB_GODMODE)
-
1090  protected:
-
1091 #endif
-
1092 
-
1093  float _freq = RADIOLIB_RF69_DEFAULT_FREQ;
-
1094  float _br = RADIOLIB_RF69_DEFAULT_BR;
-
1095  float _rxBw = RADIOLIB_RF69_DEFAULT_RXBW;
-
1096  bool _ook = false;
-
1097  int16_t _tempOffset = 0;
-
1098  int8_t _power = RADIOLIB_RF69_DEFAULT_POWER;
-
1099 
-
1100  size_t _packetLength = 0;
-
1101  bool _packetLengthQueried = false;
-
1102  uint8_t _packetLengthConfig = RADIOLIB_RF69_PACKET_FORMAT_VARIABLE;
-
1103 
-
1104  bool _promiscuous = false;
-
1105 
-
1106  uint8_t _syncWordLength = RADIOLIB_RF69_DEFAULT_SW_LEN;
-
1107 
-
1108  bool _bitSync = true;
-
1109 
-
1110  int16_t config();
-
1111  int16_t directMode();
-
1112  int16_t setPacketMode(uint8_t mode, uint8_t len);
-
1113 
-
1114 #if !defined(RADIOLIB_GODMODE)
-
1115  private:
-
1116 #endif
-
1117  int16_t setMode(uint8_t mode);
-
1118  void clearIRQFlags();
-
1119  void clearFIFO(size_t count);
-
1120 };
-
1121 
-
1122 #endif
-
1123 
-
1124 #endif
+
973  int16_t setDIOMapping(uint32_t pin, uint32_t value);
+
974 
+
975 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
+
976  protected:
+
977 #endif
+
978  Module* mod;
+
979 
+
980 #if !defined(RADIOLIB_GODMODE)
+
981  protected:
+
982 #endif
+
983 
+
984  float frequency = RADIOLIB_RF69_DEFAULT_FREQ;
+
985  float bitRate = RADIOLIB_RF69_DEFAULT_BR;
+
986  float rxBandwidth = RADIOLIB_RF69_DEFAULT_RXBW;
+
987  bool ookEnabled = false;
+
988  int16_t tempOffset = 0;
+
989  int8_t power = RADIOLIB_RF69_DEFAULT_POWER;
+
990 
+
991  size_t packetLength = 0;
+
992  bool packetLengthQueried = false;
+
993  uint8_t packetLengthConfig = RADIOLIB_RF69_PACKET_FORMAT_VARIABLE;
+
994 
+
995  bool promiscuous = false;
+
996 
+
997  uint8_t syncWordLength = RADIOLIB_RF69_DEFAULT_SW_LEN;
+
998 
+
999  bool bitSync = true;
+
1000 
+
1001  int16_t config();
+
1002  int16_t directMode();
+
1003  int16_t setPacketMode(uint8_t mode, uint8_t len);
+
1004 
+
1005 #if !defined(RADIOLIB_GODMODE)
+
1006  private:
+
1007 #endif
+
1008  int16_t setMode(uint8_t mode);
+
1009  void clearIRQFlags();
+
1010  void clearFIFO(size_t count);
+
1011 };
+
1012 
+
1013 #endif
+
1014 
+
1015 #endif
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:28
static const size_t RFSWITCH_MAX_PINS
The maximum number of pins supported by the RF switch code.
Definition: Module.h:39
Provides common interface for protocols that run on LoRa/FSK modules, such as RTTY or LoRaWAN....
Definition: PhysicalLayer.h:15
@@ -794,13 +795,14 @@ $(document).ready(function(){initNavTree('_r_f69_8h_source.html',''); initResiza
int16_t disableSyncWordFiltering()
Disable preamble and sync word filtering and generation.
Definition: RF69.cpp:795
int16_t setDataShaping(uint8_t sh) override
Sets Gaussian filter bandwidth-time product that will be used for data shaping. Allowed values are RA...
Definition: RF69.cpp:864
int16_t setOokPeakThresholdDecrement(uint8_t value)
Period of decrement of the RSSI threshold in the OOK demodulator.
Definition: RF69.cpp:504
+
int16_t setOOK(bool enable)
Enables/disables OOK modulation instead of FSK. Note: This function calls setRxBandwidth again,...
Definition: RF69.cpp:474
int16_t sleep()
Sets the module to sleep mode.
Definition: RF69.cpp:151
int16_t transmit(const char *str, uint8_t addr=0)
C-string transmit method.
Definition: PhysicalLayer.cpp:52
int16_t disableAddressFiltering()
Disables address filtering. Calling this method will also erase previously set addresses.
Definition: RF69.cpp:735
int16_t enableSyncWordFiltering(uint8_t maxErrBits=0)
Enable sync word filtering and generation.
Definition: RF69.cpp:790
int16_t begin(float freq=RADIOLIB_RF69_DEFAULT_FREQ, float br=RADIOLIB_RF69_DEFAULT_BR, float freqDev=RADIOLIB_RF69_DEFAULT_FREQDEV, float rxBw=RADIOLIB_RF69_DEFAULT_RXBW, int8_t power=RADIOLIB_RF69_DEFAULT_POWER, uint8_t preambleLen=RADIOLIB_RF69_DEFAULT_PREAMBLELEN)
Initialization method.
Definition: RF69.cpp:13
int16_t packetMode()
Stops direct mode. It is required to call this method to switch from direct transmissions to packet-b...
Definition: RF69.cpp:222
-
int16_t setPromiscuousMode(bool promiscuous=true)
Set modem in "sniff" mode: no packet filtering (e.g., no preamble, sync word, address,...
Definition: RF69.cpp:826
+
int16_t setOutputPower(int8_t pwr, bool highPower=false)
Sets output power. Allowed values range from -18 to 13 dBm for low power modules (RF69C/CW) or -2 to ...
Definition: RF69.cpp:641
int16_t setRxBandwidth(float rxBw)
Sets receiver bandwidth. Allowed values are 2.6, 3.1, 3.9, 5.2, 6.3, 7.8, 10.4, 12....
Definition: RF69.cpp:566
void setFifoEmptyAction(void(*func)(void))
Set interrupt service routine function to call when FIFO is empty.
Definition: RF69.cpp:297
int16_t setPreambleLength(uint8_t preambleLen)
Sets preamble length.
Definition: RF69.cpp:705
@@ -810,8 +812,6 @@ $(document).ready(function(){initNavTree('_r_f69_8h_source.html',''); initResiza
int16_t startTransmit(const char *str, uint8_t addr=0)
Interrupt-driven Arduino String transmit method. Unlike the standard transmit method,...
Definition: PhysicalLayer.cpp:145
void clearDio0Action()
Clears interrupt service routine to call when DIO0 activates.
Definition: RF69.cpp:278
int16_t disableContinuousModeBitSync()
Disable Bit synchronization in continuous mode.
Definition: RF69.cpp:809
-
int16_t setOutputPower(int8_t power, bool highPower=false)
Sets output power. Allowed values range from -18 to 13 dBm for low power modules (RF69C/CW) or -2 to ...
Definition: RF69.cpp:641
-
int16_t setOOK(bool enableOOK)
Enables/disables OOK modulation instead of FSK. Note: This function calls setRxBandwidth again,...
Definition: RF69.cpp:474
void setDio0Action(void(*func)(void))
Sets interrupt service routine to call when DIO0 activates.
Definition: RF69.cpp:274
int16_t setLnaTestBoost(bool value)
Enable/disable LNA Boost mode (disabled by default).
Definition: RF69.cpp:902
bool fifoGet(volatile uint8_t *data, int totalLen, volatile int *rcvLen)
Set interrupt service routine function to call when FIFO is sufficently full to read.
Definition: RF69.cpp:349
@@ -831,6 +831,7 @@ $(document).ready(function(){initNavTree('_r_f69_8h_source.html',''); initResiza
int16_t setBitRate(float br)
Sets bit rate. Allowed values range from 0.5 to 300.0 kbps.
Definition: RF69.cpp:544
int16_t setFrequencyDeviation(float freqDev) override
Sets frequency deviation.
Definition: RF69.cpp:594
void clearDio1Action()
Clears interrupt service routine to call when DIO1 activates.
Definition: RF69.cpp:290
+
int16_t setPromiscuousMode(bool enable=true)
Set modem in "sniff" mode: no packet filtering (e.g., no preamble, sync word, address,...
Definition: RF69.cpp:826
void clearFifoFullAction()
Clears interrupt service routine to call when FIFO is full.
Definition: RF69.cpp:321
int16_t variablePacketLengthMode(uint8_t maxLen=RADIOLIB_RF69_MAX_PACKET_LENGTH)
Set modem in variable packet length mode.
Definition: RF69.cpp:786
void reset()
Reset method. Will reset the chip to the default state using RST pin.
Definition: RF69.cpp:97
diff --git a/class_r_f69-members.html b/class_r_f69-members.html index 369cc07c..d9093bff 100644 --- a/class_r_f69-members.html +++ b/class_r_f69-members.html @@ -148,13 +148,13 @@ $(document).ready(function(){initNavTree('class_r_f69.html',''); initResizable() setFrequencyDeviation(float freqDev) overrideRF69virtual setLnaTestBoost(bool value)RF69 setNodeAddress(uint8_t nodeAddr)RF69 - setOOK(bool enableOOK)RF69 + setOOK(bool enable)RF69 setOokFixedThreshold(uint8_t value)RF69 setOokPeakThresholdDecrement(uint8_t value)RF69 setOokThresholdType(uint8_t type)RF69 - setOutputPower(int8_t power, bool highPower=false)RF69 + setOutputPower(int8_t pwr, bool highPower=false)RF69 setPreambleLength(uint8_t preambleLen)RF69 - setPromiscuousMode(bool promiscuous=true)RF69 + setPromiscuousMode(bool enable=true)RF69 setRfSwitchPins(uint32_t rxEn, uint32_t txEn)RF69 setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])RF69 setRSSIThreshold(float dbm)RF69 diff --git a/class_r_f69.html b/class_r_f69.html index 7493fdd6..c670abb8 100644 --- a/class_r_f69.html +++ b/class_r_f69.html @@ -221,9 +221,9 @@ void int16_t getFrequencyDeviation (float *freqDev)  Gets frequency deviation. More...
  -int16_t setOutputPower (int8_t power, bool highPower=false) - Sets output power. Allowed values range from -18 to 13 dBm for low power modules (RF69C/CW) or -2 to 20 dBm (RF69H/HC/HCW). More...
-  +int16_t setOutputPower (int8_t pwr, bool highPower=false) + Sets output power. Allowed values range from -18 to 13 dBm for low power modules (RF69C/CW) or -2 to 20 dBm (RF69H/HC/HCW). More...
+  int16_t setSyncWord (uint8_t *syncWord, size_t len, uint8_t maxErrBits=0)  Sets sync word. Up to 8 bytes can be set as sync word. More...
  @@ -248,9 +248,9 @@ void size_t getPacketLength (bool update=true) override  Query modem for the packet length of received payload. More...
  -int16_t setOOK (bool enableOOK) - Enables/disables OOK modulation instead of FSK. Note: This function calls setRxBandwidth again, since register values differ based on OOK mode being enabled/disabled. More...
-  +int16_t setOOK (bool enable) + Enables/disables OOK modulation instead of FSK. Note: This function calls setRxBandwidth again, since register values differ based on OOK mode being enabled/disabled. More...
+  int16_t setOokThresholdType (uint8_t type)  Selects the type of threshold in the OOK data slicer. More...
  @@ -281,9 +281,9 @@ void int16_t setCrcFiltering (bool crcOn=true)  Enable CRC filtering and generation. More...
  -int16_t setPromiscuousMode (bool promiscuous=true) - Set modem in "sniff" mode: no packet filtering (e.g., no preamble, sync word, address, CRC). More...
-  +int16_t setPromiscuousMode (bool enable=true) + Set modem in "sniff" mode: no packet filtering (e.g., no preamble, sync word, address, CRC). More...
+  int16_t setDataShaping (uint8_t sh) override  Sets Gaussian filter bandwidth-time product that will be used for data shaping. Allowed values are RADIOLIB_SHAPING_0_3, RADIOLIB_SHAPING_0_5 or RADIOLIB_SHAPING_1_0. Set to RADIOLIB_SHAPING_NONE to disable data shaping. More...
  @@ -460,12 +460,12 @@ void 
Parameters
- - - - - - + + + + + +
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
brBit rate to be used in kbps. Defaults to 4.8 kbps.
freqDevFrequency deviation from carrier frequency in kHz Defaults to 5.0 kHz.
rxBwReceiver bandwidth in kHz. Defaults to 125.0 kHz.
powerOutput power in dBm. Defaults to 10 dBm.
preambleLenPreamble Length in bits. Defaults to 16 bits.
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
brBit rate to be used in kbps. Defaults to 4.8 kbps.
freqDevFrequency deviation from carrier frequency in kHz Defaults to 5.0 kHz.
rxBwReceiver bandwidth in kHz. Defaults to 125.0 kHz.
powerOutput power in dBm. Defaults to 10 dBm.
preambleLenPreamble Length in bits. Defaults to 16 bits.
@@ -612,7 +612,7 @@ void 
Parameters
- +
numBitsSync word length in bits.
numBitsSync word length in bits.
@@ -655,9 +655,9 @@ void 
Parameters
- - - + + +
dataPointer to the transmission buffer.
totalLenTotal number of bytes to transmit.
remLenPointer to a counter holding the number of bytes that have been transmitted so far.
dataPointer to the transmission buffer.
totalLenTotal number of bytes to transmit.
remLenPointer to a counter holding the number of bytes that have been transmitted so far.
@@ -700,9 +700,9 @@ void 
Parameters
- - - + + +
dataPointer to a buffer that stores the receive data.
totalLenTotal number of bytes to receive.
rcvLenPointer to a counter holding the number of bytes that have been received so far.
dataPointer to a buffer that stores the receive data.
totalLenTotal number of bytes to receive.
rcvLenPointer to a counter holding the number of bytes that have been received so far.
@@ -759,7 +759,7 @@ void 
Parameters
- +
lenPacket length.
lenPacket length.
@@ -806,7 +806,7 @@ void 
Parameters
- +
[out]freqVariable to write carrier frequency currently set, in MHz.
[out]freqVariable to write carrier frequency currently set, in MHz.
@@ -833,7 +833,7 @@ void 
Parameters
- +
[out]freqDevWhere to write the frequency deviation currently set, in kHz.
[out]freqDevWhere to write the frequency deviation currently set, in kHz.
@@ -868,7 +868,7 @@ void 
Parameters
- +
updateUpdate received packet length. Will return cached value when set to false.
updateUpdate received packet length. Will return cached value when set to false.
@@ -1055,8 +1055,8 @@ void 
Parameters
- - + +
dataPointer to array to save the received binary data.
lenNumber of bytes that will be read. When set to 0, the packet length will be retreived automatically. When more bytes than received are requested, only the number of bytes requested will be returned.
dataPointer to array to save the received binary data.
lenNumber of bytes that will be read. When set to 0, the packet length will be retreived automatically. When more bytes than received are requested, only the number of bytes requested will be returned.
@@ -1127,8 +1127,8 @@ void 
PhysicalLayer.

Parameters
- - + +
dataBinary data to be sent.
lenNumber of bytes to send.
dataBinary data to be sent.
lenNumber of bytes to send.
@@ -1247,7 +1247,7 @@ void 
Parameters
- +
brBit rate to be set in kbps.
brBit rate to be set in kbps.
@@ -1276,7 +1276,7 @@ void 
Parameters
- +
broadAddrNode address to be set.
broadAddrNode address to be set.
@@ -1303,7 +1303,7 @@ void 
Parameters
- +
crcOnSet or unset CRC filtering.
crcOnSet or unset CRC filtering.
@@ -1338,7 +1338,7 @@ void 
Parameters
- +
shGaussian shaping bandwidth-time product that will be used for data shaping
shGaussian shaping bandwidth-time product that will be used for data shaping
@@ -1447,8 +1447,8 @@ void 
Parameters
- - + +
pinPin number onto which a signal is to be placed.
valueThe value that indicates which function to place on that pin. See chip datasheet for details.
pinPin number onto which a signal is to be placed.
valueThe value that indicates which function to place on that pin. See chip datasheet for details.
@@ -1521,7 +1521,7 @@ void 
Parameters
- +
encodingEncoding to be used.
encodingEncoding to be used.
@@ -1610,7 +1610,7 @@ void 
Parameters
- +
freqCarrier frequency to be set in MHz.
freqCarrier frequency to be set in MHz.
@@ -1647,7 +1647,7 @@ void 
Parameters
- +
freqDevFrequency deviation to be set in kHz.
freqDevFrequency deviation to be set in kHz.
@@ -1676,7 +1676,7 @@ void 
Parameters
- +
valueTrue to enable, false to disable.
valueTrue to enable, false to disable.
@@ -1703,7 +1703,7 @@ void 
Parameters
- +
nodeAddrNode address to be set.
nodeAddrNode address to be set.
@@ -1711,8 +1711,8 @@ void 
-

◆ setOOK()

+ +

◆ setOOK()

@@ -1721,7 +1721,7 @@ void int16_t RF69::setOOK ( bool  - enableOOK) + enable) @@ -1730,7 +1730,7 @@ void 
Parameters
- +
enableOOKEnable (true) or disable (false) OOK.
enableEnable (true) or disable (false) OOK.
@@ -1757,7 +1757,7 @@ void 
Parameters
- +
valueFixed threshold value (in dB) in the OOK demodulator. Used when OokThresType = RADIOLIB_RF69_OOK_THRESH_FIXED.
valueFixed threshold value (in dB) in the OOK demodulator. Used when OokThresType = RADIOLIB_RF69_OOK_THRESH_FIXED.
@@ -1784,7 +1784,7 @@ void 
Parameters
- +
valueUse defines RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_X_X_CHIP
valueUse defines RADIOLIB_RF69_OOK_PEAK_THRESH_DEC_X_X_CHIP
@@ -1811,7 +1811,7 @@ void 
Parameters
- +
typeThreshold type: RADIOLIB_RF69_OOK_THRESH_PEAK(default), RADIOLIB_RF69_OOK_THRESH_FIXED or RADIOLIB_RF69_OOK_THRESH_AVERAGE
typeThreshold type: RADIOLIB_RF69_OOK_THRESH_PEAK(default), RADIOLIB_RF69_OOK_THRESH_FIXED or RADIOLIB_RF69_OOK_THRESH_AVERAGE
@@ -1819,8 +1819,8 @@ void 
-

◆ setOutputPower()

+ +

◆ setOutputPower()

@@ -1829,7 +1829,7 @@ void int16_t RF69::setOutputPower ( int8_t  - power, + pwr, @@ -1848,8 +1848,8 @@ void 
Parameters
- - + +
powerOutput power to be set in dBm.
highPowerSet to true when using modules high power port (RF69H/HC/HCW). Defaults to false (models without high power port - RF69C/CW).
pwrOutput power to be set in dBm.
highPowerSet to true when using modules high power port (RF69H/HC/HCW). Defaults to false (models without high power port - RF69C/CW).
@@ -1876,7 +1876,7 @@ void 
Parameters
- +
preambleLenPreamble length to be set (in bits), allowed values: 16, 24, 32, 48, 64, 96, 128 and 192.
preambleLenPreamble length to be set (in bits), allowed values: 16, 24, 32, 48, 64, 96, 128 and 192.
@@ -1884,8 +1884,8 @@ void 
-

◆ setPromiscuousMode()

+ +

◆ setPromiscuousMode()

@@ -1894,7 +1894,7 @@ void int16_t RF69::setPromiscuousMode ( bool  - promiscuous = true) + enable = true) @@ -1903,7 +1903,7 @@ void 
Parameters
- +
promiscuousSet or unset promiscuous mode.
enableSet or unset promiscuous mode.
@@ -2033,7 +2033,7 @@ void 
Parameters
- +
dbmA dBm value between -127.5 and 0 inclusive
dbmA dBm value between -127.5 and 0 inclusive
@@ -2060,7 +2060,7 @@ void 
Parameters
- +
rxBwReceiver bandwidth to be set in kHz.
rxBwReceiver bandwidth to be set in kHz.
@@ -2103,8 +2103,8 @@ void 
Parameters
- - + +
syncWordPointer to the array of sync word bytes.
lenSync word length in bytes.
syncWordPointer to the array of sync word bytes.
lenSync word length in bytes.
maxErrBitsMaximum allowed number of bit errors in received sync word. Defaults to 0.
@@ -2199,7 +2199,7 @@ void 
Parameters
- +
modeStandby mode to be used. No effect, implemented only for PhysicalLayer compatibility.
modeStandby mode to be used. No effect, implemented only for PhysicalLayer compatibility.
@@ -2278,10 +2278,10 @@ void 
PhysicalLayer.

Parameters
- - - - + + + +
timeoutIgnored.
irqFlagsIgnored.
irqMaskIgnored.
lenIgnored.
timeoutIgnored.
irqFlagsIgnored.
irqMaskIgnored.
lenIgnored.
@@ -2383,9 +2383,9 @@ void PhysicalLayer.

Parameters
- - - + + +
dataBinary data to be sent.
lenNumber of bytes to send.
addrAddress to send the data to. Will only be added if address filtering was enabled.
dataBinary data to be sent.
lenNumber of bytes to send.
addrAddress to send the data to. Will only be added if address filtering was enabled.
@@ -2487,9 +2487,9 @@ void PhysicalLayer.

Parameters
- - - + + +
dataBinary data to be sent.
lenNumber of bytes to send.
addrAddress to send the data to. Will only be added if address filtering was enabled.
dataBinary data to be sent.
lenNumber of bytes to send.
addrAddress to send the data to. Will only be added if address filtering was enabled.
@@ -2526,7 +2526,7 @@ void 
Parameters
- +
frfRaw RF frequency value. Defaults to 0, required for quick frequency shifts in RTTY.
frfRaw RF frequency value. Defaults to 0, required for quick frequency shifts in RTTY.
@@ -2555,7 +2555,7 @@ void 
Parameters
- +
lenMaximum packet length.
lenMaximum packet length.
diff --git a/class_r_f69.js b/class_r_f69.js index 107453dc..e8ddac18 100644 --- a/class_r_f69.js +++ b/class_r_f69.js @@ -50,13 +50,13 @@ var class_r_f69 = [ "setFrequencyDeviation", "class_r_f69.html#adb9fbfedf95f34ac537815870b98a9be", null ], [ "setLnaTestBoost", "class_r_f69.html#aa14dbfd82cd75b9759d4d78bdb05c194", null ], [ "setNodeAddress", "class_r_f69.html#ab9c217d5ece259950780a05c6e41f75c", null ], - [ "setOOK", "class_r_f69.html#a9c2f94a1c3c8a4f3fd2c5785217bee0a", null ], + [ "setOOK", "class_r_f69.html#a465df5a2e1f924f6d3ba4eae765847b7", null ], [ "setOokFixedThreshold", "class_r_f69.html#a2f5852cf0757e38b56b6208760d9a459", null ], [ "setOokPeakThresholdDecrement", "class_r_f69.html#a434420f2def6c383608223105469fda1", null ], [ "setOokThresholdType", "class_r_f69.html#a219a046c10ddcc0a787ad19346ecad6a", null ], - [ "setOutputPower", "class_r_f69.html#a998ddd21fc152d835c6f1b8d31b02fcc", null ], + [ "setOutputPower", "class_r_f69.html#a721094611fa375e73bd0332ab2d7d113", null ], [ "setPreambleLength", "class_r_f69.html#a7c84b3f881cad6e05b0f4f68c24496d9", null ], - [ "setPromiscuousMode", "class_r_f69.html#a6d90ad1d455de045c53c5758babd876c", null ], + [ "setPromiscuousMode", "class_r_f69.html#ae004326d663a9d6a9c30e792aa368b49", null ], [ "setRfSwitchPins", "class_r_f69.html#ac341945538a84430c61f80f610a94411", null ], [ "setRfSwitchTable", "class_r_f69.html#afff64ceef5f496ce035ff6d12d6bcc3c", null ], [ "setRSSIThreshold", "class_r_f69.html#afcb723ae58d6519e5b95d017d2beb78a", null ], diff --git a/class_s_x1231-members.html b/class_s_x1231-members.html index 2068a531..4c1efbef 100644 --- a/class_s_x1231-members.html +++ b/class_s_x1231-members.html @@ -148,13 +148,13 @@ $(document).ready(function(){initNavTree('class_s_x1231.html',''); initResizable
setFrequencyDeviation(float freqDev) overrideRF69virtual setLnaTestBoost(bool value)RF69 setNodeAddress(uint8_t nodeAddr)RF69 - setOOK(bool enableOOK)RF69 + setOOK(bool enable)RF69 setOokFixedThreshold(uint8_t value)RF69 setOokPeakThresholdDecrement(uint8_t value)RF69 setOokThresholdType(uint8_t type)RF69 - setOutputPower(int8_t power, bool highPower=false)RF69 + setOutputPower(int8_t pwr, bool highPower=false)RF69 setPreambleLength(uint8_t preambleLen)RF69 - setPromiscuousMode(bool promiscuous=true)RF69 + setPromiscuousMode(bool enable=true)RF69 setRfSwitchPins(uint32_t rxEn, uint32_t txEn)RF69 setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])RF69 setRSSIThreshold(float dbm)RF69 diff --git a/class_s_x1231.html b/class_s_x1231.html index 7ed2ed6f..2a8248fe 100644 --- a/class_s_x1231.html +++ b/class_s_x1231.html @@ -228,9 +228,9 @@ void int16_t getFrequencyDeviation (float *freqDev)  Gets frequency deviation. More...
  -int16_t setOutputPower (int8_t power, bool highPower=false) - Sets output power. Allowed values range from -18 to 13 dBm for low power modules (RF69C/CW) or -2 to 20 dBm (RF69H/HC/HCW). More...
-  +int16_t setOutputPower (int8_t pwr, bool highPower=false) + Sets output power. Allowed values range from -18 to 13 dBm for low power modules (RF69C/CW) or -2 to 20 dBm (RF69H/HC/HCW). More...
+  int16_t setSyncWord (uint8_t *syncWord, size_t len, uint8_t maxErrBits=0)  Sets sync word. Up to 8 bytes can be set as sync word. More...
  @@ -255,9 +255,9 @@ void size_t getPacketLength (bool update=true) override  Query modem for the packet length of received payload. More...
  -int16_t setOOK (bool enableOOK) - Enables/disables OOK modulation instead of FSK. Note: This function calls setRxBandwidth again, since register values differ based on OOK mode being enabled/disabled. More...
-  +int16_t setOOK (bool enable) + Enables/disables OOK modulation instead of FSK. Note: This function calls setRxBandwidth again, since register values differ based on OOK mode being enabled/disabled. More...
+  int16_t setOokThresholdType (uint8_t type)  Selects the type of threshold in the OOK data slicer. More...
  @@ -288,9 +288,9 @@ void int16_t setCrcFiltering (bool crcOn=true)  Enable CRC filtering and generation. More...
  -int16_t setPromiscuousMode (bool promiscuous=true) - Set modem in "sniff" mode: no packet filtering (e.g., no preamble, sync word, address, CRC). More...
-  +int16_t setPromiscuousMode (bool enable=true) + Set modem in "sniff" mode: no packet filtering (e.g., no preamble, sync word, address, CRC). More...
+  int16_t setDataShaping (uint8_t sh) override  Sets Gaussian filter bandwidth-time product that will be used for data shaping. Allowed values are RADIOLIB_SHAPING_0_3, RADIOLIB_SHAPING_0_5 or RADIOLIB_SHAPING_1_0. Set to RADIOLIB_SHAPING_NONE to disable data shaping. More...
  diff --git a/functions_func_s.html b/functions_func_s.html index 3677daa9..9a56ecfc 100644 --- a/functions_func_s.html +++ b/functions_func_s.html @@ -317,7 +317,7 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
  • setOOK() : CC1101 -, RF69 +, RF69 , SX127x
  • setOokFixedOrFloorThreshold() @@ -340,7 +340,7 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
  • setOutputPower() : CC1101 , nRF24 -, RF69 +, RF69 , Si4430 , Si4431 , Si4432 @@ -362,7 +362,7 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
  • setPromiscuousMode() : CC1101 -, RF69 +, RF69
  • setReceivePipe() : nRF24 diff --git a/functions_s.html b/functions_s.html index 0357d3d9..db157c61 100644 --- a/functions_s.html +++ b/functions_s.html @@ -323,7 +323,7 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
  • setOOK() : CC1101 -, RF69 +, RF69 , SX127x
  • setOokFixedOrFloorThreshold() @@ -346,7 +346,7 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
  • setOutputPower() : CC1101 , nRF24 -, RF69 +, RF69 , Si4430 , Si4431 , Si4432 @@ -368,7 +368,7 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
  • setPromiscuousMode() : CC1101 -, RF69 +, RF69
  • setReceivePipe() : nRF24 diff --git a/navtreeindex1.js b/navtreeindex1.js index fced7fd4..8e6fc38a 100644 --- a/navtreeindex1.js +++ b/navtreeindex1.js @@ -108,14 +108,15 @@ var NAVTREEINDEX1 = "class_r_f69.html#a400bb57d2353b57c29cf41a6d9497c80":[3,0,17,9], "class_r_f69.html#a42b99e437454e92c6932c3b7acc1fc4a":[3,0,17,38], "class_r_f69.html#a434420f2def6c383608223105469fda1":[3,0,17,52], +"class_r_f69.html#a465df5a2e1f924f6d3ba4eae765847b7":[3,0,17,50], "class_r_f69.html#a472a04041551cb38d2223fb34f71d8eb":[3,0,17,62], "class_r_f69.html#a492b2d057dd803c3884fa1adc8e22534":[3,0,17,70], "class_r_f69.html#a5996fc1751e7542baafa0d6c0a6c78ee":[3,0,17,6], "class_r_f69.html#a643a711bcb4b7771a7ab1f457e61a417":[3,0,17,12], "class_r_f69.html#a693faf6ab777d5612392b43152e744cb":[3,0,17,1], "class_r_f69.html#a6a67dd698b3cc6afcaf18c3710ad5f0f":[3,0,17,24], -"class_r_f69.html#a6d90ad1d455de045c53c5758babd876c":[3,0,17,56], "class_r_f69.html#a6e3002ab0c58e2087a7d101eda7afa82":[3,0,17,64], +"class_r_f69.html#a721094611fa375e73bd0332ab2d7d113":[3,0,17,54], "class_r_f69.html#a735d8f22095a7e69471d73ca021b9d1a":[3,0,17,60], "class_r_f69.html#a788023a0de9d6b43cb4079d12ca90b8d":[3,0,17,44], "class_r_f69.html#a7c84b3f881cad6e05b0f4f68c24496d9":[3,0,17,55], @@ -126,8 +127,6 @@ var NAVTREEINDEX1 = "class_r_f69.html#a923654706eff5118ef6e84214e837f27":[3,0,17,67], "class_r_f69.html#a9721d2a3ed9fa8dd878575d71d5a4942":[3,0,17,2], "class_r_f69.html#a97d3570f4f898dde47e3daf8043e7bad":[3,0,17,8], -"class_r_f69.html#a998ddd21fc152d835c6f1b8d31b02fcc":[3,0,17,54], -"class_r_f69.html#a9c2f94a1c3c8a4f3fd2c5785217bee0a":[3,0,17,50], "class_r_f69.html#a9e50a1183d13ff9984f8438a7e9e4a77":[3,0,17,39], "class_r_f69.html#aa14dbfd82cd75b9759d4d78bdb05c194":[3,0,17,48], "class_r_f69.html#aa6886410230c654400c76ec7710d623c":[3,0,17,14], @@ -148,6 +147,7 @@ var NAVTREEINDEX1 = "class_r_f69.html#ad7f8132912a5dbf38c5cf676ac167d13":[3,0,17,35], "class_r_f69.html#adb9fbfedf95f34ac537815870b98a9be":[3,0,17,47], "class_r_f69.html#ade1f9a7a603d712c480ed5e9a8d1bf51":[3,0,17,3], +"class_r_f69.html#ae004326d663a9d6a9c30e792aa368b49":[3,0,17,56], "class_r_f69.html#ae36e8e6042245621a182b29526fe2245":[3,0,17,30], "class_r_f69.html#ae8b6f87d4b798dc8fcda07bfa5af5a66":[3,0,17,66], "class_r_f69.html#ae9accbe3e66f24d5158891a96fb582f3":[3,0,17,5], diff --git a/search/all_f.js b/search/all_f.js index 3c62a3ff..c6059e95 100644 --- a/search/all_f.js +++ b/search/all_f.js @@ -49,15 +49,15 @@ var searchData= ['setirqaction_282',['setIrqAction',['../classn_r_f24.html#abf9323748b1a850e6ddc6f6d48f4cfb3',1,'nRF24::setIrqAction()'],['../class_si443x.html#a801b51059e61f93d4e01ae6ba8eb0726',1,'Si443x::setIrqAction()']]], ['setlnatestboost_283',['setLnaTestBoost',['../class_r_f69.html#aa14dbfd82cd75b9759d4d78bdb05c194',1,'RF69']]], ['setnodeaddress_284',['setNodeAddress',['../class_c_c1101.html#a6e62914790f132816134fc68c2bb5eb8',1,'CC1101::setNodeAddress()'],['../class_r_f69.html#ab9c217d5ece259950780a05c6e41f75c',1,'RF69::setNodeAddress()'],['../class_s_x126x.html#a514cabe74bbe3434d7e4f244c4077752',1,'SX126x::setNodeAddress()'],['../class_s_x127x.html#ab99630d50672b43fc7162ba8f3293f95',1,'SX127x::setNodeAddress(uint8_t nodeAddr)']]], - ['setook_285',['setOOK',['../class_s_x127x.html#a24ef0af19a6b8954f956a3c3ad4286ee',1,'SX127x::setOOK()'],['../class_r_f69.html#a9c2f94a1c3c8a4f3fd2c5785217bee0a',1,'RF69::setOOK()'],['../class_c_c1101.html#afa64d1ad4789d3146b38d14437234756',1,'CC1101::setOOK()']]], + ['setook_285',['setOOK',['../class_s_x127x.html#a24ef0af19a6b8954f956a3c3ad4286ee',1,'SX127x::setOOK()'],['../class_r_f69.html#a465df5a2e1f924f6d3ba4eae765847b7',1,'RF69::setOOK()'],['../class_c_c1101.html#afa64d1ad4789d3146b38d14437234756',1,'CC1101::setOOK()']]], ['setookfixedorfloorthreshold_286',['setOokFixedOrFloorThreshold',['../class_s_x127x.html#a17ff4e4e0afaebed727648e1400be538',1,'SX127x']]], ['setookfixedthreshold_287',['setOokFixedThreshold',['../class_r_f69.html#a2f5852cf0757e38b56b6208760d9a459',1,'RF69']]], ['setookpeakthresholddecrement_288',['setOokPeakThresholdDecrement',['../class_r_f69.html#a434420f2def6c383608223105469fda1',1,'RF69::setOokPeakThresholdDecrement()'],['../class_s_x127x.html#aac2f43d70b5f94e49e09b4c9f082f46d',1,'SX127x::setOokPeakThresholdDecrement(uint8_t value)']]], ['setookpeakthresholdstep_289',['setOokPeakThresholdStep',['../class_s_x127x.html#a48ca43e6aad02815fa1507f0f0831c54',1,'SX127x']]], ['setookthresholdtype_290',['setOokThresholdType',['../class_r_f69.html#a219a046c10ddcc0a787ad19346ecad6a',1,'RF69::setOokThresholdType()'],['../class_s_x127x.html#a8b93142202167270db109d18b743c744',1,'SX127x::setOokThresholdType()']]], - ['setoutputpower_291',['setOutputPower',['../class_c_c1101.html#ac3ff8051af5ca50c349e02257f1a3bda',1,'CC1101::setOutputPower()'],['../classn_r_f24.html#a824453d547c0b42ac1988acb42032ca4',1,'nRF24::setOutputPower()'],['../class_r_f69.html#a998ddd21fc152d835c6f1b8d31b02fcc',1,'RF69::setOutputPower()'],['../class_si4430.html#af8d615431bf66e06b45487f3fff73d16',1,'Si4430::setOutputPower()'],['../class_si4431.html#a4da296b35056e076ff69a288bd801d19',1,'Si4431::setOutputPower()'],['../class_s_t_m32_w_lx.html#a9afbde1c466907598974cc3923784c5b',1,'STM32WLx::setOutputPower()'],['../class_s_x1261.html#aa541f927995a1756c651b93fd24edc65',1,'SX1261::setOutputPower()'],['../class_s_x1262.html#aa149463283dc9cddfec836ec6620d4dc',1,'SX1262::setOutputPower()'],['../class_s_x1268.html#a5b0744aa46fbb4f8c738b010dfcc9b45',1,'SX1268::setOutputPower()'],['../class_s_x1272.html#a6677a04aa0c2f3bbde2509786b6a66de',1,'SX1272::setOutputPower()'],['../class_s_x1278.html#a7fe05d0751714577f70da4290b7ced88',1,'SX1278::setOutputPower()'],['../class_s_x128x.html#ad6e2b46c317a8d8512cf0380025147a9',1,'SX128x::setOutputPower()'],['../class_si4432.html#a8b26e2c86a9e5e8f6405f0a57b65caca',1,'Si4432::setOutputPower()']]], + ['setoutputpower_291',['setOutputPower',['../class_c_c1101.html#ac3ff8051af5ca50c349e02257f1a3bda',1,'CC1101::setOutputPower()'],['../classn_r_f24.html#a824453d547c0b42ac1988acb42032ca4',1,'nRF24::setOutputPower()'],['../class_r_f69.html#a721094611fa375e73bd0332ab2d7d113',1,'RF69::setOutputPower()'],['../class_si4430.html#af8d615431bf66e06b45487f3fff73d16',1,'Si4430::setOutputPower()'],['../class_si4431.html#a4da296b35056e076ff69a288bd801d19',1,'Si4431::setOutputPower()'],['../class_s_t_m32_w_lx.html#a9afbde1c466907598974cc3923784c5b',1,'STM32WLx::setOutputPower()'],['../class_s_x1261.html#aa541f927995a1756c651b93fd24edc65',1,'SX1261::setOutputPower()'],['../class_s_x1262.html#aa149463283dc9cddfec836ec6620d4dc',1,'SX1262::setOutputPower()'],['../class_s_x1268.html#a5b0744aa46fbb4f8c738b010dfcc9b45',1,'SX1268::setOutputPower()'],['../class_s_x1272.html#a6677a04aa0c2f3bbde2509786b6a66de',1,'SX1272::setOutputPower()'],['../class_s_x1278.html#a7fe05d0751714577f70da4290b7ced88',1,'SX1278::setOutputPower()'],['../class_s_x128x.html#ad6e2b46c317a8d8512cf0380025147a9',1,'SX128x::setOutputPower()'],['../class_si4432.html#a8b26e2c86a9e5e8f6405f0a57b65caca',1,'Si4432::setOutputPower()']]], ['setpreamblelength_292',['setPreambleLength',['../class_s_x127x.html#ab608c45e0dcc44280df29580dc0a31ed',1,'SX127x::setPreambleLength()'],['../class_s_x128x.html#a1984a405262f155f16a4759c5f6b0133',1,'SX128x::setPreambleLength()'],['../class_s_x126x.html#ab00f765bbfbfaa8c693532ea3a90c29b',1,'SX126x::setPreambleLength()'],['../class_si443x.html#a4821a6141caf16141074615c976ecd91',1,'Si443x::setPreambleLength()'],['../class_r_f69.html#a7c84b3f881cad6e05b0f4f68c24496d9',1,'RF69::setPreambleLength()'],['../class_c_c1101.html#ae77c828c9c7cc12012fe011e8c4d3570',1,'CC1101::setPreambleLength(uint8_t preambleLength, uint8_t qualityThreshold)']]], - ['setpromiscuousmode_293',['setPromiscuousMode',['../class_c_c1101.html#a047be5159af73374521a26e8f880fe12',1,'CC1101::setPromiscuousMode()'],['../class_r_f69.html#a6d90ad1d455de045c53c5758babd876c',1,'RF69::setPromiscuousMode()']]], + ['setpromiscuousmode_293',['setPromiscuousMode',['../class_c_c1101.html#a047be5159af73374521a26e8f880fe12',1,'CC1101::setPromiscuousMode()'],['../class_r_f69.html#ae004326d663a9d6a9c30e792aa368b49',1,'RF69::setPromiscuousMode()']]], ['setreceivepipe_294',['setReceivePipe',['../classn_r_f24.html#a31bcc5a8c3747bf08a273dbdadc5481a',1,'nRF24::setReceivePipe(uint8_t pipeNum, uint8_t *addr)'],['../classn_r_f24.html#ab5bc08aef88d8cf41c38369044005da8',1,'nRF24::setReceivePipe(uint8_t pipeNum, uint8_t addrByte)']]], ['setrecvsequence_295',['setRecvSequence',['../class_a_x25_frame.html#a4696a8eede8bac85f0ee6de6fee79ea8',1,'AX25Frame']]], ['setregulatordcdc_296',['setRegulatorDCDC',['../class_s_x126x.html#a5ae69309ca0cf5f13c60f2d162916ff8',1,'SX126x']]], @@ -104,8 +104,8 @@ var searchData= ['spistatuscommand_337',['SPIstatusCommand',['../class_module.html#a06d8d4257c584b57a529fcc405d87c79',1,'Module']]], ['spistreamerror_338',['SPIstreamError',['../class_module.html#a66b06e69d57b97116bed1c6f185381f1',1,'Module']]], ['spistreamtype_339',['SPIstreamType',['../class_module.html#a34927454be3a34df8a5a586c46c428af',1,'Module']]], - ['spitransfer_340',['SPItransfer',['../class_module.html#a78dd39aa71d97e2220a880df8162fdde',1,'Module']]], - ['spitransfer_341',['spiTransfer',['../class_radio_lib_hal.html#a12facb08577402e50c91c75ca7dd560f',1,'RadioLibHal']]], + ['spitransfer_340',['spiTransfer',['../class_radio_lib_hal.html#a12facb08577402e50c91c75ca7dd560f',1,'RadioLibHal']]], + ['spitransfer_341',['SPItransfer',['../class_module.html#a78dd39aa71d97e2220a880df8162fdde',1,'Module']]], ['spitransferstream_342',['SPItransferStream',['../class_module.html#ac3586c8d4013cbdd22cf34032632c181',1,'Module']]], ['spiwritecommand_343',['SPIwriteCommand',['../class_module.html#ae89764d15e8df5694a6aec0e18f72d3f',1,'Module']]], ['spiwriteregister_344',['SPIwriteRegister',['../class_module.html#a4437af6552e258e95ed8ed452afa6dd4',1,'Module']]], diff --git a/search/functions_f.js b/search/functions_f.js index b1d6abbe..61eea4bb 100644 --- a/search/functions_f.js +++ b/search/functions_f.js @@ -47,15 +47,15 @@ var searchData= ['setirqaction_615',['setIrqAction',['../classn_r_f24.html#abf9323748b1a850e6ddc6f6d48f4cfb3',1,'nRF24::setIrqAction()'],['../class_si443x.html#a801b51059e61f93d4e01ae6ba8eb0726',1,'Si443x::setIrqAction()']]], ['setlnatestboost_616',['setLnaTestBoost',['../class_r_f69.html#aa14dbfd82cd75b9759d4d78bdb05c194',1,'RF69']]], ['setnodeaddress_617',['setNodeAddress',['../class_c_c1101.html#a6e62914790f132816134fc68c2bb5eb8',1,'CC1101::setNodeAddress()'],['../class_r_f69.html#ab9c217d5ece259950780a05c6e41f75c',1,'RF69::setNodeAddress()'],['../class_s_x126x.html#a514cabe74bbe3434d7e4f244c4077752',1,'SX126x::setNodeAddress()'],['../class_s_x127x.html#ab99630d50672b43fc7162ba8f3293f95',1,'SX127x::setNodeAddress()']]], - ['setook_618',['setOOK',['../class_c_c1101.html#afa64d1ad4789d3146b38d14437234756',1,'CC1101::setOOK()'],['../class_s_x127x.html#a24ef0af19a6b8954f956a3c3ad4286ee',1,'SX127x::setOOK()'],['../class_r_f69.html#a9c2f94a1c3c8a4f3fd2c5785217bee0a',1,'RF69::setOOK()']]], + ['setook_618',['setOOK',['../class_c_c1101.html#afa64d1ad4789d3146b38d14437234756',1,'CC1101::setOOK()'],['../class_s_x127x.html#a24ef0af19a6b8954f956a3c3ad4286ee',1,'SX127x::setOOK()'],['../class_r_f69.html#a465df5a2e1f924f6d3ba4eae765847b7',1,'RF69::setOOK()']]], ['setookfixedorfloorthreshold_619',['setOokFixedOrFloorThreshold',['../class_s_x127x.html#a17ff4e4e0afaebed727648e1400be538',1,'SX127x']]], ['setookfixedthreshold_620',['setOokFixedThreshold',['../class_r_f69.html#a2f5852cf0757e38b56b6208760d9a459',1,'RF69']]], ['setookpeakthresholddecrement_621',['setOokPeakThresholdDecrement',['../class_r_f69.html#a434420f2def6c383608223105469fda1',1,'RF69::setOokPeakThresholdDecrement()'],['../class_s_x127x.html#aac2f43d70b5f94e49e09b4c9f082f46d',1,'SX127x::setOokPeakThresholdDecrement(uint8_t value)']]], ['setookpeakthresholdstep_622',['setOokPeakThresholdStep',['../class_s_x127x.html#a48ca43e6aad02815fa1507f0f0831c54',1,'SX127x']]], ['setookthresholdtype_623',['setOokThresholdType',['../class_s_x127x.html#a8b93142202167270db109d18b743c744',1,'SX127x::setOokThresholdType()'],['../class_r_f69.html#a219a046c10ddcc0a787ad19346ecad6a',1,'RF69::setOokThresholdType()']]], - ['setoutputpower_624',['setOutputPower',['../class_c_c1101.html#ac3ff8051af5ca50c349e02257f1a3bda',1,'CC1101::setOutputPower()'],['../class_s_x128x.html#ad6e2b46c317a8d8512cf0380025147a9',1,'SX128x::setOutputPower()'],['../class_s_x1278.html#a7fe05d0751714577f70da4290b7ced88',1,'SX1278::setOutputPower()'],['../class_s_x1272.html#a6677a04aa0c2f3bbde2509786b6a66de',1,'SX1272::setOutputPower()'],['../class_s_x1268.html#a5b0744aa46fbb4f8c738b010dfcc9b45',1,'SX1268::setOutputPower()'],['../class_s_x1262.html#aa149463283dc9cddfec836ec6620d4dc',1,'SX1262::setOutputPower()'],['../class_s_x1261.html#aa541f927995a1756c651b93fd24edc65',1,'SX1261::setOutputPower()'],['../class_s_t_m32_w_lx.html#a9afbde1c466907598974cc3923784c5b',1,'STM32WLx::setOutputPower()'],['../class_si4432.html#a8b26e2c86a9e5e8f6405f0a57b65caca',1,'Si4432::setOutputPower()'],['../class_si4431.html#a4da296b35056e076ff69a288bd801d19',1,'Si4431::setOutputPower()'],['../class_si4430.html#af8d615431bf66e06b45487f3fff73d16',1,'Si4430::setOutputPower()'],['../class_r_f69.html#a998ddd21fc152d835c6f1b8d31b02fcc',1,'RF69::setOutputPower()'],['../classn_r_f24.html#a824453d547c0b42ac1988acb42032ca4',1,'nRF24::setOutputPower()']]], + ['setoutputpower_624',['setOutputPower',['../class_c_c1101.html#ac3ff8051af5ca50c349e02257f1a3bda',1,'CC1101::setOutputPower()'],['../class_s_x128x.html#ad6e2b46c317a8d8512cf0380025147a9',1,'SX128x::setOutputPower()'],['../class_s_x1278.html#a7fe05d0751714577f70da4290b7ced88',1,'SX1278::setOutputPower()'],['../class_s_x1272.html#a6677a04aa0c2f3bbde2509786b6a66de',1,'SX1272::setOutputPower()'],['../class_s_x1268.html#a5b0744aa46fbb4f8c738b010dfcc9b45',1,'SX1268::setOutputPower()'],['../class_s_x1262.html#aa149463283dc9cddfec836ec6620d4dc',1,'SX1262::setOutputPower()'],['../class_s_x1261.html#aa541f927995a1756c651b93fd24edc65',1,'SX1261::setOutputPower()'],['../class_s_t_m32_w_lx.html#a9afbde1c466907598974cc3923784c5b',1,'STM32WLx::setOutputPower()'],['../class_si4432.html#a8b26e2c86a9e5e8f6405f0a57b65caca',1,'Si4432::setOutputPower()'],['../class_si4431.html#a4da296b35056e076ff69a288bd801d19',1,'Si4431::setOutputPower()'],['../class_si4430.html#af8d615431bf66e06b45487f3fff73d16',1,'Si4430::setOutputPower()'],['../class_r_f69.html#a721094611fa375e73bd0332ab2d7d113',1,'RF69::setOutputPower()'],['../classn_r_f24.html#a824453d547c0b42ac1988acb42032ca4',1,'nRF24::setOutputPower()']]], ['setpreamblelength_625',['setPreambleLength',['../class_c_c1101.html#ae77c828c9c7cc12012fe011e8c4d3570',1,'CC1101::setPreambleLength()'],['../class_r_f69.html#a7c84b3f881cad6e05b0f4f68c24496d9',1,'RF69::setPreambleLength()'],['../class_si443x.html#a4821a6141caf16141074615c976ecd91',1,'Si443x::setPreambleLength()'],['../class_s_x126x.html#ab00f765bbfbfaa8c693532ea3a90c29b',1,'SX126x::setPreambleLength()'],['../class_s_x127x.html#ab608c45e0dcc44280df29580dc0a31ed',1,'SX127x::setPreambleLength()'],['../class_s_x128x.html#a1984a405262f155f16a4759c5f6b0133',1,'SX128x::setPreambleLength()']]], - ['setpromiscuousmode_626',['setPromiscuousMode',['../class_r_f69.html#a6d90ad1d455de045c53c5758babd876c',1,'RF69::setPromiscuousMode()'],['../class_c_c1101.html#a047be5159af73374521a26e8f880fe12',1,'CC1101::setPromiscuousMode()']]], + ['setpromiscuousmode_626',['setPromiscuousMode',['../class_r_f69.html#ae004326d663a9d6a9c30e792aa368b49',1,'RF69::setPromiscuousMode()'],['../class_c_c1101.html#a047be5159af73374521a26e8f880fe12',1,'CC1101::setPromiscuousMode()']]], ['setreceivepipe_627',['setReceivePipe',['../classn_r_f24.html#a31bcc5a8c3747bf08a273dbdadc5481a',1,'nRF24::setReceivePipe(uint8_t pipeNum, uint8_t *addr)'],['../classn_r_f24.html#ab5bc08aef88d8cf41c38369044005da8',1,'nRF24::setReceivePipe(uint8_t pipeNum, uint8_t addrByte)']]], ['setrecvsequence_628',['setRecvSequence',['../class_a_x25_frame.html#a4696a8eede8bac85f0ee6de6fee79ea8',1,'AX25Frame']]], ['setregulatordcdc_629',['setRegulatorDCDC',['../class_s_x126x.html#a5ae69309ca0cf5f13c60f2d162916ff8',1,'SX126x']]], @@ -94,8 +94,8 @@ var searchData= ['spireadregisterburst_662',['SPIreadRegisterBurst',['../class_module.html#a874e030f1931e606e380930d37dd83ee',1,'Module']]], ['spireadstream_663',['SPIreadStream',['../class_module.html#ab9fc874adc8dbe7c3f1fd3c267c27708',1,'Module::SPIreadStream(uint8_t cmd, uint8_t *data, size_t numBytes, bool waitForGpio=true, bool verify=true)'],['../class_module.html#a085415b49ff72238f118b937ad896cbd',1,'Module::SPIreadStream(uint8_t *cmd, uint8_t cmdLen, uint8_t *data, size_t numBytes, bool waitForGpio=true, bool verify=true)']]], ['spisetregvalue_664',['SPIsetRegValue',['../class_module.html#a081191402ad5c49e6c21982fc4587b77',1,'Module']]], - ['spitransfer_665',['spiTransfer',['../class_radio_lib_hal.html#a12facb08577402e50c91c75ca7dd560f',1,'RadioLibHal']]], - ['spitransfer_666',['SPItransfer',['../class_module.html#a78dd39aa71d97e2220a880df8162fdde',1,'Module']]], + ['spitransfer_665',['SPItransfer',['../class_module.html#a78dd39aa71d97e2220a880df8162fdde',1,'Module']]], + ['spitransfer_666',['spiTransfer',['../class_radio_lib_hal.html#a12facb08577402e50c91c75ca7dd560f',1,'RadioLibHal']]], ['spitransferstream_667',['SPItransferStream',['../class_module.html#ac3586c8d4013cbdd22cf34032632c181',1,'Module']]], ['spiwriteregister_668',['SPIwriteRegister',['../class_module.html#a4437af6552e258e95ed8ed452afa6dd4',1,'Module']]], ['spiwriteregisterburst_669',['SPIwriteRegisterBurst',['../class_module.html#af474f82d00fffc1ee0fc8def2c7f220c',1,'Module']]],