Revert "breaking change to interrupt RX method declaration : len required"

This reverts commit aee59b5bdd.
This commit is contained in:
Callan Bryant 2020-01-09 16:04:46 +00:00
parent aee59b5bdd
commit 54f058de02
No known key found for this signature in database
GPG key ID: C31FA9DF3ACBFFAA

View file

@ -514,7 +514,7 @@ class SX126x: public PhysicalLayer {
\returns \ref status_codes \returns \ref status_codes
*/ */
int16_t startReceive(size_t len, uint32_t timeout = SX126X_RX_TIMEOUT_INF); int16_t startReceive(uint32_t timeout = SX126X_RX_TIMEOUT_INF);
/*! /*!
\brief Interrupt-driven receive method where the device mostly sleeps and periodically wakes to listen. \brief Interrupt-driven receive method where the device mostly sleeps and periodically wakes to listen.
@ -526,7 +526,7 @@ class SX126x: public PhysicalLayer {
\returns \ref status_codes \returns \ref status_codes
*/ */
int16_t startReceiveDutyCycle(size_t len, uint32_t rxPeriod, uint32_t sleepPeriod); int16_t startReceiveDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod);
/*! /*!
\brief Calls \ref startReceiveDutyCycle with rxPeriod and sleepPeriod set so the unit shouldn't miss any messages. \brief Calls \ref startReceiveDutyCycle with rxPeriod and sleepPeriod set so the unit shouldn't miss any messages.
@ -539,7 +539,7 @@ class SX126x: public PhysicalLayer {
\returns \ref status_codes \returns \ref status_codes
*/ */
int16_t startReceiveDutyCycleAuto(size_t len, uint16_t senderPreambleLength = 0, uint16_t minSymbols = 8); int16_t startReceiveDutyCycleAuto(uint16_t senderPreambleLength = 0, uint16_t minSymbols = 8);
/*! /*!
\brief Reads data received after calling startReceive method. \brief Reads data received after calling startReceive method.