mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-11-22 13:10:55 +01:00
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:
parent
708afebbbf
commit
d3aa435448
2 changed files with 0 additions and 16 deletions
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue