From b5e5e079c89b4bd7efc6d1724de527a39a5d7887 Mon Sep 17 00:00:00 2001 From: Nathan Seidle Date: Tue, 25 Jan 2022 12:17:01 -0700 Subject: [PATCH 1/3] Correct typos in explicit/implicitHeader functions. Add a few missing keywords. --- keywords.txt | 3 +++ src/modules/SX126x/SX126x.h | 6 +++--- src/modules/SX127x/SX1272.h | 6 +++--- src/modules/SX127x/SX1278.h | 6 +++--- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/keywords.txt b/keywords.txt index 31db163d..a0b8ea6c 100644 --- a/keywords.txt +++ b/keywords.txt @@ -146,6 +146,9 @@ setFHSSHoppingPeriod KEYWORD2 getFHSSHoppingPeriod KEYWORD2 getFHSSChannel KEYWORD2 clearFHSSInt KEYWORD2 +randomByte KEYWORD2 +getPacketLength + # RF69-specific setAESKey KEYWORD2 diff --git a/src/modules/SX126x/SX126x.h b/src/modules/SX126x/SX126x.h index 8c9b34a3..73d31b43 100644 --- a/src/modules/SX126x/SX126x.h +++ b/src/modules/SX126x/SX126x.h @@ -827,7 +827,9 @@ class SX126x: public PhysicalLayer { float getRSSIInst(); /*! - \brief Set implicit header mode for future reception/transmission. + \brief Set implicit header mode for future reception/transmission. Required for spreading factor 6. + + \param len Payload length in bytes. \returns \ref status_codes */ @@ -836,8 +838,6 @@ class SX126x: public PhysicalLayer { /*! \brief Set explicit header mode for future reception/transmission. - \param len Payload length in bytes. - \returns \ref status_codes */ int16_t explicitHeader(); diff --git a/src/modules/SX127x/SX1272.h b/src/modules/SX127x/SX1272.h index 7491ef2a..e4343b66 100644 --- a/src/modules/SX127x/SX1272.h +++ b/src/modules/SX127x/SX1272.h @@ -278,7 +278,9 @@ class SX1272: public SX127x { int16_t autoLDRO(); /*! - \brief Set implicit header mode for future reception/transmission. + \brief Set implicit header mode for future reception/transmission. Required for spreading factor 6. + + \param len Payload length in bytes. \returns \ref status_codes */ @@ -287,8 +289,6 @@ class SX1272: public SX127x { /*! \brief Set explicit header mode for future reception/transmission. - \param len Payload length in bytes. - \returns \ref status_codes */ int16_t explicitHeader(); diff --git a/src/modules/SX127x/SX1278.h b/src/modules/SX127x/SX1278.h index 150b97c3..cffedc81 100644 --- a/src/modules/SX127x/SX1278.h +++ b/src/modules/SX127x/SX1278.h @@ -287,7 +287,9 @@ class SX1278: public SX127x { int16_t autoLDRO(); /*! - \brief Set implicit header mode for future reception/transmission. + \brief Set implicit header mode for future reception/transmission. Required for spreading factor 6. + + \param len Payload length in bytes. \returns \ref status_codes */ @@ -296,8 +298,6 @@ class SX1278: public SX127x { /*! \brief Set explicit header mode for future reception/transmission. - \param len Payload length in bytes. - \returns \ref status_codes */ int16_t explicitHeader(); From 1e564730a4df65b57b3ca895ab2e4508e86febdd Mon Sep 17 00:00:00 2001 From: Nathan Seidle Date: Tue, 25 Jan 2022 12:19:17 -0700 Subject: [PATCH 2/3] Update keywords.txt --- keywords.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keywords.txt b/keywords.txt index a0b8ea6c..a2a656bc 100644 --- a/keywords.txt +++ b/keywords.txt @@ -147,7 +147,7 @@ getFHSSHoppingPeriod KEYWORD2 getFHSSChannel KEYWORD2 clearFHSSInt KEYWORD2 randomByte KEYWORD2 -getPacketLength +getPacketLength KEYWORD2 # RF69-specific From bad3029f4f2a778f1faf10590ebd68859c3224b4 Mon Sep 17 00:00:00 2001 From: Nathan Seidle Date: Fri, 28 Jan 2022 15:54:44 -0700 Subject: [PATCH 3/3] Update SX126x.h --- src/modules/SX126x/SX126x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/SX126x/SX126x.h b/src/modules/SX126x/SX126x.h index 73d31b43..507fb127 100644 --- a/src/modules/SX126x/SX126x.h +++ b/src/modules/SX126x/SX126x.h @@ -827,7 +827,7 @@ class SX126x: public PhysicalLayer { float getRSSIInst(); /*! - \brief Set implicit header mode for future reception/transmission. Required for spreading factor 6. + \brief Set implicit header mode for future reception/transmission. \param len Payload length in bytes.