From b5e5e079c89b4bd7efc6d1724de527a39a5d7887 Mon Sep 17 00:00:00 2001 From: Nathan Seidle Date: Tue, 25 Jan 2022 12:17:01 -0700 Subject: [PATCH] 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();