diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-07-18 15:38:36 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-07-18 15:38:36 +0200 |
commit | bc3745b67fb92baffa3d02a7678638be21137c4a (patch) | |
tree | 917e0b2fee0ab9527303134669fdd3b9c0ad8b54 /include/driver | |
parent | b47295e3b04413cc5d278df2ea8fe2c168beefd2 (diff) |
nrf24: Add observe tx accessor
Diffstat (limited to 'include/driver')
-rw-r--r-- | include/driver/nrf24l01.h | 7 |
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: |