From bc3745b67fb92baffa3d02a7678638be21137c4a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 18 Jul 2019 15:38:36 +0200 Subject: nrf24: Add observe tx accessor --- include/driver/nrf24l01.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/driver/nrf24l01.h') 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: -- cgit v1.2.3