From aadfd0c48c6eda7c6958440307bacdc95f14e743 Mon Sep 17 00:00:00 2001 From: jgromes Date: Tue, 10 Sep 2024 19:19:22 +0200 Subject: [PATCH] [PHY] Added LR-FHSS DataRate_t --- src/protocols/PhysicalLayer/PhysicalLayer.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/protocols/PhysicalLayer/PhysicalLayer.h b/src/protocols/PhysicalLayer/PhysicalLayer.h index aa8fc710..b4218b5e 100644 --- a/src/protocols/PhysicalLayer/PhysicalLayer.h +++ b/src/protocols/PhysicalLayer/PhysicalLayer.h @@ -52,6 +52,18 @@ struct FSKRate_t { float freqDev; }; +/*! + \struct LrFhssRate_t + \brief Data rate structure interpretation in case LR-FHSS is used +*/ +struct LrFhssRate_t { + /*! \brief Bandwidth */ + uint8_t bw; + + /*! \brief Coding rate */ + uint8_t cr; +}; + /*! \union DataRate_t \brief Common data rate structure