summaryrefslogtreecommitdiff
path: root/include/driver/nrf24l01.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/driver/nrf24l01.h')
-rw-r--r--include/driver/nrf24l01.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/driver/nrf24l01.h b/include/driver/nrf24l01.h
index ecf4bc2..3a1f145 100644
--- a/include/driver/nrf24l01.h
+++ b/include/driver/nrf24l01.h
@@ -193,6 +193,13 @@ public:
*/
uint8_t flushRx(void);
+ /**
+ * Get observe value.
+ *
+ * @return Current Observe TX value. 7:4 counts lost packets since last channel change, 3:0 gives retransmission count of latest packet.
+ */
+ uint8_t getObserveTx(void);
+
void setup();
/**
* Set Power Amplifier (PA) level to one of four levels: