mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-11-23 21:50:55 +01:00
doc: mention 0 is forever for NimBLESCan::start
Document that setting `duration` to zero means to scan forever.
This commit is contained in:
parent
ed2c59d5de
commit
a7ff1beacd
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ bool NimBLEScan::isScanning() {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Start scanning.
|
* @brief Start scanning.
|
||||||
* @param [in] duration The duration in milliseconds for which to scan.
|
* @param [in] duration The duration in milliseconds for which to scan. 0 == scan forever.
|
||||||
* @param [in] is_continue Set to true to save previous scan results, false to clear them.
|
* @param [in] is_continue Set to true to save previous scan results, false to clear them.
|
||||||
* @return True if scan started or false if there was an error.
|
* @return True if scan started or false if there was an error.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue