Skip to content

Commit

Permalink
Updated history, added parameter activeScan to begin()
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Apr 26, 2024
1 parent ba1ad59 commit 7bad929
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/ATC_MiThermometer.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
// History:
//
// 20221123 Created
// 20240403 Added reedSwitchState, gpioTrgOutput, controlParameters,
// tempTriggerEvent &humiTriggerEvent
// 20240425 Added device name
// 20240426 Added parameter activeScan to begin()
//
// ToDo:
// -
Expand Down Expand Up @@ -92,9 +96,13 @@ class ATC_MiThermometer {
};

/*!
\brief Initialization.
*/
void begin(void);
* \brief Initialization.
*
* \param activeScan Set to true for achtive scan, which uses more power,
* but get results faster. As a side effect, the device name
* is received (most of the times).
*/
void begin(bool activeScan = true);

/*!
\brief Delete results from BLEScan buffer to release memory.
Expand Down

0 comments on commit 7bad929

Please sign in to comment.