From 07cc802f9b0bc223450cc376b5d0d313a93d9230 Mon Sep 17 00:00:00 2001 From: Kihun Song Date: Thu, 4 Feb 2021 17:02:52 +0900 Subject: [PATCH] Convert arbitrary unit to dBm --- src/modules/SX126x/SX126x.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/SX126x/SX126x.h b/src/modules/SX126x/SX126x.h index 16a955a5..ee99a27f 100644 --- a/src/modules/SX126x/SX126x.h +++ b/src/modules/SX126x/SX126x.h @@ -809,9 +809,9 @@ class SX126x: public PhysicalLayer { /*! \brief Get instantaneous RSSI value during recption of the packet. Should switch to FSK receive mode for LBT implementation. - \returns Instantaneous RSSI value in (-2)*dBm. + \returns Instantaneous RSSI value in dBm, in steps of 0.5dBm */ - uint8_t getRSSIInst(); + float getRSSIInst(); /*! \brief Set implicit header mode for future reception/transmission.