<divclass="line"><aid="l00005"name="l00005"></a><spanclass="lineno"> 5</span><spanclass="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span></div>
<divclass="line"><aid="l00006"name="l00006"></a><spanclass="lineno"> 6</span><spanclass="comment"> * you may not use this file except in compliance with the License.</span></div>
<divclass="line"><aid="l00007"name="l00007"></a><spanclass="lineno"> 7</span><spanclass="comment"> * You may obtain a copy of the License at</span></div>
<divclass="line"><aid="l00011"name="l00011"></a><spanclass="lineno"> 11</span><spanclass="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
<divclass="line"><aid="l00012"name="l00012"></a><spanclass="lineno"> 12</span><spanclass="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div>
<divclass="line"><aid="l00013"name="l00013"></a><spanclass="lineno"> 13</span><spanclass="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<divclass="line"><aid="l00014"name="l00014"></a><spanclass="lineno"> 14</span><spanclass="comment"> * See the License for the specific language governing permissions and</span></div>
<divclass="line"><aid="l00015"name="l00015"></a><spanclass="lineno"> 15</span><spanclass="comment"> * limitations under the License.</span></div>
<divclass="line"><aid="l00024"name="l00024"></a><spanclass="lineno"> 24</span><spanclass="preprocessor"># if defined(CONFIG_NIMBLE_CPP_IDF)</span></div>
<divclass="line"><aid="l00025"name="l00025"></a><spanclass="lineno"> 25</span><spanclass="preprocessor"># include "host/ble_gap.h"</span></div>
<divclass="line"><aid="l00027"name="l00027"></a><spanclass="lineno"> 27</span><spanclass="preprocessor"># include "nimble/nimble/host/include/host/ble_gap.h"</span></div>
<divclass="line"><aid="l00035"name="l00035"></a><spanclass="lineno"> 35</span><spanclass="preprocessor"># include "NimBLEAddress.h"</span></div>
<divclass="ttc"id="aclass_nim_b_l_e_address_html"><divclass="ttname"><ahref="class_nim_b_l_e_address.html">NimBLEAddress</a></div><divclass="ttdoc">A BLE device address.</div><divclass="ttdef"><b>Definition</b> NimBLEAddress.h:41</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html"><divclass="ttname"><ahref="class_nim_b_l_e_device.html">NimBLEDevice</a></div><divclass="ttdoc">A model of a BLE Device from which all the BLE roles are created.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.h:109</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a02fe1652f994e5bf76dc03381e47b39e"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a02fe1652f994e5bf76dc03381e47b39e">NimBLEExtAdvertisement::setAddress</a></div><divclass="ttdeci">void setAddress(const NimBLEAddress &addr)</div><divclass="ttdoc">Set the address to use for this advertisement.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:404</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a048872d3793e7e0884f958b7c0719b9f"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a048872d3793e7e0884f958b7c0719b9f">NimBLEExtAdvertisement::setAppearance</a></div><divclass="ttdeci">bool setAppearance(uint16_t appearance)</div><divclass="ttdoc">Set the appearance.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:578</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a0707d6393d91e1e8912cff65e3d030ca"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a0707d6393d91e1e8912cff65e3d030ca">NimBLEExtAdvertisement::setFlags</a></div><divclass="ttdeci">bool setFlags(uint8_t flag)</div><divclass="ttdoc">Set the advertisement flags.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:600</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a0e7a8731b021ba8813a3a9024171e926"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a0e7a8731b021ba8813a3a9024171e926">NimBLEExtAdvertisement::addServiceUUID</a></div><divclass="ttdeci">bool addServiceUUID(const NimBLEUUID &serviceUUID)</div><divclass="ttdoc">Add a service uuid to exposed list of services.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:690</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a1391be9ee1b2ba1dc0548f2431b1d3af"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a1391be9ee1b2ba1dc0548f2431b1d3af">NimBLEExtAdvertisement::clearData</a></div><divclass="ttdeci">void clearData()</div><divclass="ttdoc">Clears the data stored in this instance, does not change settings.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:523</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a1b1c9d52252b651163826b0c6c098439"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a1b1c9d52252b651163826b0c6c098439">NimBLEExtAdvertisement::setAnonymous</a></div><divclass="ttdeci">void setAnonymous(bool enable)</div><divclass="ttdoc">Sets whether the advertisement should be anonymous.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:507</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a1ef0dd63c99b5cab049a61c75c8e1ac2"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a1ef0dd63c99b5cab049a61c75c8e1ac2">NimBLEExtAdvertisement::setPartialServices32</a></div><divclass="ttdeci">bool setPartialServices32(const std::vector< NimBLEUUID >&uuids)</div><divclass="ttdoc">Set the partial list of services to advertise.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:854</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a1f449f67deca3d7ef66c07d61c12d28e"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a1f449f67deca3d7ef66c07d61c12d28e">NimBLEExtAdvertisement::addData</a></div><divclass="ttdeci">bool addData(const uint8_t *data, size_t length)</div><divclass="ttdoc">Add data to the payload to be advertised.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:549</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a1fd2471e3ffd6dca56133eeb195a7662"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a1fd2471e3ffd6dca56133eeb195a7662">NimBLEExtAdvertisement::setCompleteServices16</a></div><divclass="ttdeci">bool setCompleteServices16(const std::vector< NimBLEUUID >&uuids)</div><divclass="ttdoc">Set the complete list of 16 bit services to advertise.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:818</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a24034d49c9ebadd947db1ef839c8b138"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a24034d49c9ebadd947db1ef839c8b138">NimBLEExtAdvertisement::setScanFilter</a></div><divclass="ttdeci">void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)</div><divclass="ttdoc">Set the filtering for the scan filter.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:427</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a28a6b771e81c043d471d87a6aa5a7622"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a28a6b771e81c043d471d87a6aa5a7622">NimBLEExtAdvertisement::removeData</a></div><divclass="ttdeci">bool removeData(uint8_t type)</div><divclass="ttdoc">Remove data from the advertisement data.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:1037</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a2bcfe468c00347e93c0f4ac2b46654be"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a2bcfe468c00347e93c0f4ac2b46654be">NimBLEExtAdvertisement::setServiceData</a></div><divclass="ttdeci">bool setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)</div><divclass="ttdoc">Set the service data advertised for the UUID.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:915</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a2d95f2975f229386023348749305df43"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a2d95f2975f229386023348749305df43">NimBLEExtAdvertisement::setPreferredParams</a></div><divclass="ttdeci">bool setPreferredParams(uint16_t min, uint16_t max)</div><divclass="ttdoc">Set the preferred min and max connection intervals to advertise.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:992</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a3a597fa81719aa3bbea590ee7b8c10fe"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a3a597fa81719aa3bbea590ee7b8c10fe">NimBLEExtAdvertisement::setLegacyAdvertising</a></div><divclass="ttdeci">void setLegacyAdvertising(bool enable)</div><divclass="ttdoc">Sets wether the advertisement should use legacy (BLE 4.0, 31 bytes max) advertising.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:369</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a45a7838bb2ca27edac22b02d77072e3c"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a45a7838bb2ca27edac22b02d77072e3c">NimBLEExtAdvertisement::setPartialServices</a></div><divclass="ttdeci">bool setPartialServices(const NimBLEUUID &uuid)</div><divclass="ttdoc">Set a single service to advertise as a partial list of services.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:836</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a4c339022b5523d20cc7fa956c5dbe1be"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a4c339022b5523d20cc7fa956c5dbe1be">NimBLEExtAdvertisement::setMaxInterval</a></div><divclass="ttdeci">void setMaxInterval(uint32_t maxinterval)</div><divclass="ttdoc">Set the maximum advertising interval.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:476</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a4d994e568031faf320eb988b9a2a372e"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a4d994e568031faf320eb988b9a2a372e">NimBLEExtAdvertisement::setManufacturerData</a></div><divclass="ttdeci">bool setManufacturerData(const uint8_t *data, size_t length)</div><divclass="ttdoc">Set manufacturer specific data.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:619</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a4f8da0cb7cf2b3e18543e78b15b46918"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a4f8da0cb7cf2b3e18543e78b15b46918">NimBLEExtAdvertisement::setShortName</a></div><divclass="ttdeci">bool setShortName(const std::string &name)</div><divclass="ttdoc">Set the short name.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:981</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a52ee2ff1ccd011ed3410d52c0518728e"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a52ee2ff1ccd011ed3410d52c0518728e">NimBLEExtAdvertisement::setDirectedPeer</a></div><divclass="ttdeci">void setDirectedPeer(const NimBLEAddress &addr)</div><divclass="ttdoc">Sets the peer to directly advertise to.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:450</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a54d2bb1e314a975643bcd7d038f1c164"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a54d2bb1e314a975643bcd7d038f1c164">NimBLEExtAdvertisement::toString</a></div><divclass="ttdeci">std::string toString() const</div><divclass="ttdoc">Get the string representation of the advertisement data.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:1061</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a5ddd5bc3a96406518580bc33aab62a84"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a5ddd5bc3a96406518580bc33aab62a84">NimBLEExtAdvertisement::removeServiceUUID</a></div><divclass="ttdeci">bool removeServiceUUID(const NimBLEUUID &serviceUUID)</div><divclass="ttdoc">Remove a service UUID from the advertisement.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:745</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a63c2f5900752edad428304c5342b8458"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a63c2f5900752edad428304c5342b8458">NimBLEExtAdvertisement::setTxPower</a></div><divclass="ttdeci">void setTxPower(int8_t dbm)</div><divclass="ttdoc">Sets the transmission power level for this advertisement.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:386</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a691335b073c8385b3e2e75c6962fbe3f"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a691335b073c8385b3e2e75c6962fbe3f">NimBLEExtAdvertisement::setURI</a></div><divclass="ttdeci">bool setURI(const std::string &uri)</div><divclass="ttdoc">Set the URI to advertise.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:655</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a7cf145aa6be376efaddadc507f5018d0"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a7cf145aa6be376efaddadc507f5018d0">NimBLEExtAdvertisement::getDataLocation</a></div><divclass="ttdeci">int getDataLocation(uint8_t type) const</div><divclass="ttdoc">Get the location of the data in the payload.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:1021</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a8388496cf91818138b10e898c7fc2bfc"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a8388496cf91818138b10e898c7fc2bfc">NimBLEExtAdvertisement::setName</a></div><divclass="ttdeci">bool setName(const std::string &name, bool isComplete=true)</div><divclass="ttdoc">Set the complete name of this device.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:673</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_aaa47ca630ab01d75bdea8d252d10b506"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#aaa47ca630ab01d75bdea8d252d10b506">NimBLEExtAdvertisement::setSecondaryPhy</a></div><divclass="ttdeci">void setSecondaryPhy(uint8_t phy)</div><divclass="ttdoc">Set the secondary advertising PHY to use.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:497</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_aaaebae05827e8264f2ca6d4f23828bdf"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#aaaebae05827e8264f2ca6d4f23828bdf">NimBLEExtAdvertisement::setCompleteServices32</a></div><divclass="ttdeci">bool setCompleteServices32(const std::vector< NimBLEUUID >&uuids)</div><divclass="ttdoc">Set the complete list of 32 bit services to advertise.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:827</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_aaf6c44bc23f03a72bc02c3d45a9adf1d"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#aaf6c44bc23f03a72bc02c3d45a9adf1d">NimBLEExtAdvertisement::enableScanRequestCallback</a></div><divclass="ttdeci">void enableScanRequestCallback(bool enable)</div><divclass="ttdoc">Sets whether the scan response request callback should be called.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:515</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_ab6103c5e86949d0e334101353b109775"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#ab6103c5e86949d0e334101353b109775">NimBLEExtAdvertisement::setPrimaryChannels</a></div><divclass="ttdeci">void setPrimaryChannels(bool ch37, bool ch38, bool ch39)</div><divclass="ttdoc">Sets The primary channels to advertise on.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:418</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_ab71e5616a011eae51c58b4edfbd3bc71"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#ab71e5616a011eae51c58b4edfbd3bc71">NimBLEExtAdvertisement::removeServices</a></div><divclass="ttdeci">bool removeServices()</div><divclass="ttdoc">Remove all service UUIDs from the advertisement.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:800</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_abd02fa34228263fef2d2b875e6576316"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#abd02fa34228263fef2d2b875e6576316">NimBLEExtAdvertisement::setConnectable</a></div><divclass="ttdeci">void setConnectable(bool enable)</div><divclass="ttdoc">Sets wether this advertisement should advertise as a connectable device.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:394</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_ac9f82eb0112544b977eb1947ed308525"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#ac9f82eb0112544b977eb1947ed308525">NimBLEExtAdvertisement::addTxPower</a></div><divclass="ttdeci">void addTxPower()</div><divclass="ttdoc">Adds Tx power level to the advertisement data.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:1012</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_ad8522542b90067e3a53076823d2087c3"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#ad8522542b90067e3a53076823d2087c3">NimBLEExtAdvertisement::setPrimaryPhy</a></div><divclass="ttdeci">void setPrimaryPhy(uint8_t phy)</div><divclass="ttdoc">Set the primary advertising PHY to use.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:486</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_ad968d1999c50acd24170be9d8d3ba095"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#ad968d1999c50acd24170be9d8d3ba095">NimBLEExtAdvertisement::setPartialServices16</a></div><divclass="ttdeci">bool setPartialServices16(const std::vector< NimBLEUUID >&uuids)</div><divclass="ttdoc">Set the partial list of services to advertise.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:845</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_adc868da6e3e33c3e21f78ac386e9eb50"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#adc868da6e3e33c3e21f78ac386e9eb50">NimBLEExtAdvertisement::setScannable</a></div><divclass="ttdeci">void setScannable(bool enable)</div><divclass="ttdoc">Sets wether the advertisement has scan response data available.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:377</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_ae3f915131471deba63c1275fc8557aa2"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#ae3f915131471deba63c1275fc8557aa2">NimBLEExtAdvertisement::getDataSize</a></div><divclass="ttdeci">size_t getDataSize() const</div><divclass="ttdoc">Get the size of the current data.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:1053</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_ae9777a0c544be6c674f4e39d56e930b8"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#ae9777a0c544be6c674f4e39d56e930b8">NimBLEExtAdvertisement::setMinInterval</a></div><divclass="ttdeci">void setMinInterval(uint32_t mininterval)</div><divclass="ttdoc">Set the minimum advertising interval.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:468</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_af254895a52b1ee65f47ace003039514a"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#af254895a52b1ee65f47ace003039514a">NimBLEExtAdvertisement::setCompleteServices</a></div><divclass="ttdeci">bool setCompleteServices(const NimBLEUUID &uuid)</div><divclass="ttdoc">Set a single service to advertise as a complete list of services.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:809</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_af7a99ce4a6fab8034435e6719e27e934"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#af7a99ce4a6fab8034435e6719e27e934">NimBLEExtAdvertisement::setDirected</a></div><divclass="ttdeci">void setDirected(bool enable, bool high_duty=true)</div><divclass="ttdoc">Enable or disable direct advertisements to the peer set with NimBLEExtAdvertisement::setDirectedPeer</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:459</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_afbc963aac74110423c22537f905ca259"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#afbc963aac74110423c22537f905ca259">NimBLEExtAdvertisement::setData</a></div><divclass="ttdeci">bool setData(const uint8_t *data, size_t length)</div><divclass="ttdoc">Set the advertisement data.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:534</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_callbacks_html"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising_callbacks.html">NimBLEExtAdvertisingCallbacks</a></div><divclass="ttdoc">Callbacks associated with NimBLEExtAdvertising class.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.h:141</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_callbacks_html_add0646acf63c19e96c499b737144d8fe"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising_callbacks.html#add0646acf63c19e96c499b737144d8fe">NimBLEExtAdvertisingCallbacks::onStopped</a></div><divclass="ttdeci">virtual void onStopped(NimBLEExtAdvertising *pAdv, int reason, uint8_t instId)</div><divclass="ttdoc">Handle an advertising stop event.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:336</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_callbacks_html_aeec59f9c28ef5e257e4e8fd306d92ccd"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising_callbacks.html#aeec59f9c28ef5e257e4e8fd306d92ccd">NimBLEExtAdvertisingCallbacks::onScanRequest</a></div><divclass="ttdeci">virtual void onScanRequest(NimBLEExtAdvertising *pAdv, uint8_t instId, NimBLEAddress addr)</div><divclass="ttdoc">Handle a scan response request. This is called when a scanning device requests a scan response.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:340</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_a3ea2e93f8c3ce4498d30e4dac7b29109"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#a3ea2e93f8c3ce4498d30e4dac7b29109">NimBLEExtAdvertising::stop</a></div><divclass="ttdeci">bool stop()</div><divclass="ttdoc">Stop all advertisements.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:230</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_a477c57db99ce3b5e987d6838b661808f"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#a477c57db99ce3b5e987d6838b661808f">NimBLEExtAdvertising::~NimBLEExtAdvertising</a></div><divclass="ttdeci">~NimBLEExtAdvertising()</div><divclass="ttdoc">Destructor: deletes callback instances if requested.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:47</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_a50ecfdca2fee14c6bcfffa110cc5e25a"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#a50ecfdca2fee14c6bcfffa110cc5e25a">NimBLEExtAdvertising::start</a></div><divclass="ttdeci">bool start(uint8_t instId, int duration=0, int maxEvents=0)</div><divclass="ttdoc">Start extended advertising.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:158</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_a6fd8c8fff9fcb8be80c76774be031104"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#a6fd8c8fff9fcb8be80c76774be031104">NimBLEExtAdvertising::isActive</a></div><divclass="ttdeci">bool isActive(uint8_t instId)</div><divclass="ttdoc">Check if currently advertising.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:263</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_a8c4df0be35301c90a39491b9e98d3e24"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#a8c4df0be35301c90a39491b9e98d3e24">NimBLEExtAdvertising::removeAll</a></div><divclass="ttdeci">bool removeAll()</div><divclass="ttdoc">Stop and remove all advertising instance data.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:197</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_abd7d35653a6831e75700eb5ac9ab5789"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#abd7d35653a6831e75700eb5ac9ab5789">NimBLEExtAdvertising::isAdvertising</a></div><divclass="ttdeci">bool isAdvertising()</div><divclass="ttdoc">Check if any instances are currently advertising.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:271</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_ac669489f8d7d67fe8dfc48ef15c7985f"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#ac669489f8d7d67fe8dfc48ef15c7985f">NimBLEExtAdvertising::setScanResponseData</a></div><divclass="ttdeci">bool setScanResponseData(uint8_t instId, NimBLEExtAdvertisement &data)</div><divclass="ttdoc">Set the scan response data for a legacy advertisement.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:134</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_acace5e9e195b65b61041f7007f9359ab"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#acace5e9e195b65b61041f7007f9359ab">NimBLEExtAdvertising::removeInstance</a></div><divclass="ttdeci">bool removeInstance(uint8_t instId)</div><divclass="ttdoc">Stop and remove this instance data from the advertisement set.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:180</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_add623162d46c952d692e26888c9f8826"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#add623162d46c952d692e26888c9f8826">NimBLEExtAdvertising::setCallbacks</a></div><divclass="ttdeci">void setCallbacks(NimBLEExtAdvertisingCallbacks *callbacks, bool deleteCallbacks=true)</div><divclass="ttdoc">Set a callback to call when the advertisement stops.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:248</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_afbb3b7ea90d4a5b84bdc796c5844203e"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#afbb3b7ea90d4a5b84bdc796c5844203e">NimBLEExtAdvertising::setInstanceData</a></div><divclass="ttdeci">bool setInstanceData(uint8_t instId, NimBLEExtAdvertisement &adv)</div><divclass="ttdoc">Register the extended advertisement data.</div><divclass="ttdef"><b>Definition</b> NimBLEExtAdvertising.cpp:59</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_server_html"><divclass="ttname"><ahref="class_nim_b_l_e_server.html">NimBLEServer</a></div><divclass="ttdoc">The model of a BLE server.</div><divclass="ttdef"><b>Definition</b> NimBLEServer.h:60</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_u_u_i_d_html"><divclass="ttname"><ahref="class_nim_b_l_e_u_u_i_d.html">NimBLEUUID</a></div><divclass="ttdoc">A model of a BLE UUID.</div><divclass="ttdef"><b>Definition</b> NimBLEUUID.h:41</div></div>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.9.8 </li>