From e5edc9d59e479014a61cba98f265b6083501df52 Mon Sep 17 00:00:00 2001 From: h2zero Date: Mon, 2 Aug 2021 19:51:04 -0600 Subject: [PATCH] Add missing return documentation in NimBLEAdvertising. --- src/NimBLEAdvertising.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NimBLEAdvertising.cpp b/src/NimBLEAdvertising.cpp index e68d319..3112eff 100644 --- a/src/NimBLEAdvertising.cpp +++ b/src/NimBLEAdvertising.cpp @@ -383,6 +383,7 @@ void NimBLEAdvertising::setScanResponseData(NimBLEAdvertisementData& advertiseme * @brief Start advertising. * @param [in] duration The duration, in seconds, to advertise, 0 == advertise forever. * @param [in] advCompleteCB A pointer to a callback to be invoked when advertising ends. + * @return True if advertising started successfully. */ bool NimBLEAdvertising::start(uint32_t duration, void (*advCompleteCB)(NimBLEAdvertising *pAdv)) { NIMBLE_LOGD(LOG_TAG, ">> Advertising start: customAdvData: %d, customScanResponseData: %d",