NimBLEAdvertising: Remove setMin/maxPreferred methods.

* These methods were noop's and are now removed due to lack of usefulness and advertisment space consumed if used.
Applications can still manually set these values if desired using NimBLEAdvertisementData::addData.
This commit is contained in:
h2zero 2020-08-21 20:22:13 -06:00
parent 708afebbbf
commit d3aa435448
2 changed files with 0 additions and 16 deletions

View file

@ -136,20 +136,6 @@ void NimBLEAdvertising::setMaxInterval(uint16_t maxinterval) {
} // setMaxInterval
/**
* @brief NOP - Not yet implemented, dummy function for backward compatibility.
*/
void NimBLEAdvertising::setMinPreferred(uint16_t mininterval) {
} // setMinPreferred
/**
* @brief NOP - Not yet implemented, dummy function for backward compatibility.
*/
void NimBLEAdvertising::setMaxPreferred(uint16_t maxinterval) {
} // setMaxPreferred
/**
* @brief Set if scan response is available.
* @param [in] set true = scan response available.

View file

@ -86,8 +86,6 @@ public:
void setAdvertisementData(NimBLEAdvertisementData& advertisementData);
void setScanFilter(bool scanRequertWhitelistOnly, bool connectWhitelistOnly);
void setScanResponseData(NimBLEAdvertisementData& advertisementData);
void setMinPreferred(uint16_t);
void setMaxPreferred(uint16_t);
void setScanResponse(bool);
private: