<divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="preprocessor"># include "nimble/nimble/host/include/host/ble_gap.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:39</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:96</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a01f8e18204071c11eb47ab243893fc53"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a01f8e18204071c11eb47ab243893fc53">NimBLEExtAdvertisement::setCompleteServices</a></div><divclass="ttdeci">void 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:694</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:446</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a07b1589ad58a9e09b6ba7269fec87df0"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a07b1589ad58a9e09b6ba7269fec87df0">NimBLEExtAdvertisement::setScannable</a></div><divclass="ttdeci">void setScannable(bool val)</div><divclass="ttdoc">Sets wether the advertisement has scan response data available.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:414</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a08a31a938ccd10fad61e1115c1db6274"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a08a31a938ccd10fad61e1115c1db6274">NimBLEExtAdvertisement::setData</a></div><divclass="ttdeci">void setData(const uint8_t *data, size_t length)</div><divclass="ttdoc">Set the advertisement data.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:599</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a0a1f0c1facf52f3688b53158e95153b6"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a0a1f0c1facf52f3688b53158e95153b6">NimBLEExtAdvertisement::setCompleteServices16</a></div><divclass="ttdeci">void setCompleteServices16(const std::vector< NimBLEUUID >&v_uuid)</div><divclass="ttdoc">Set the complete list of 16 bit services to advertise.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:703</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:579</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a1a4fd6883b11c339e397fc52f75c9ebb"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a1a4fd6883b11c339e397fc52f75c9ebb">NimBLEExtAdvertisement::setServiceData</a></div><divclass="ttdeci">void setServiceData(const NimBLEUUID &uuid, const std::string &data)</div><divclass="ttdoc">Set the service data (UUID + data)</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:801</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:471</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a2b29a03b9a8b3a30245ff5468f239887"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a2b29a03b9a8b3a30245ff5468f239887">NimBLEExtAdvertisement::setDirected</a></div><divclass="ttdeci">void setDirected(bool val, 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:508</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a31ef2860f84d44a110f2a6d2d8eda3fc"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a31ef2860f84d44a110f2a6d2d8eda3fc">NimBLEExtAdvertisement::setCompleteServices32</a></div><divclass="ttdeci">void setCompleteServices32(const std::vector< NimBLEUUID >&v_uuid)</div><divclass="ttdoc">Set the complete list of 32 bit services to advertise.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:712</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a3700ef4fd9078cf6dfd8c1eea4c520ba"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a3700ef4fd9078cf6dfd8c1eea4c520ba">NimBLEExtAdvertisement::setAnonymous</a></div><divclass="ttdeci">void setAnonymous(bool val)</div><divclass="ttdoc">Sets whether the advertisement should be anonymous.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:561</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:527</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:495</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a5536d30615b87b68ec0c0f01292f5df9"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a5536d30615b87b68ec0c0f01292f5df9">NimBLEExtAdvertisement::setFlags</a></div><divclass="ttdeci">void setFlags(uint8_t flag)</div><divclass="ttdoc">Set the advertisement flags.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:645</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a5e90a75173354fe9c6959004eb43b20a"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a5e90a75173354fe9c6959004eb43b20a">NimBLEExtAdvertisement::setManufacturerData</a></div><divclass="ttdeci">void setManufacturerData(const std::string &data)</div><divclass="ttdoc">Set manufacturer specific data.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:658</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a6162f7b7692b5ddabf7e015893b0ffa2"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a6162f7b7692b5ddabf7e015893b0ffa2">NimBLEExtAdvertisement::setConnectable</a></div><divclass="ttdeci">void setConnectable(bool val)</div><divclass="ttdoc">Sets wether this advertisement should advertise as a connectable device.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:435</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a6220b378a1f2361c6dc76ba125936c51"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a6220b378a1f2361c6dc76ba125936c51">NimBLEExtAdvertisement::setShortName</a></div><divclass="ttdeci">void setShortName(const std::string &name)</div><divclass="ttdoc">Set the short name.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:838</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:426</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a6a0bcbde65ccb9e49aa93d31514c8225"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a6a0bcbde65ccb9e49aa93d31514c8225">NimBLEExtAdvertisement::setLegacyAdvertising</a></div><divclass="ttdeci">void setLegacyAdvertising(bool val)</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:405</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a747ef73a02df72709cf9bd89aabc08b3"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a747ef73a02df72709cf9bd89aabc08b3">NimBLEExtAdvertisement::setPartialServices16</a></div><divclass="ttdeci">void setPartialServices16(const std::vector< NimBLEUUID >&v_uuid)</div><divclass="ttdoc">Set the partial list of services to advertise.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:730</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a74d0b2a236d144c5bce05536ec6b8509"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a74d0b2a236d144c5bce05536ec6b8509">NimBLEExtAdvertisement::addData</a></div><divclass="ttdeci">void addData(const std::string &data)</div><divclass="ttdoc">Add data to the payload to be advertised.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:608</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a7d7d57268d7c54fe5492e92bc7af33d8"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a7d7d57268d7c54fe5492e92bc7af33d8">NimBLEExtAdvertisement::setName</a></div><divclass="ttdeci">void setName(const std::string &name)</div><divclass="ttdoc">Set the complete name of this device.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:682</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a852b96ea8e349caea04941adbe6d24b4"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a852b96ea8e349caea04941adbe6d24b4">NimBLEExtAdvertisement::setAppearance</a></div><divclass="ttdeci">void setAppearance(uint16_t appearance)</div><divclass="ttdoc">Set the appearance.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:630</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_a9e739c3117da31c486f8f4dd8d273c9c"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#a9e739c3117da31c486f8f4dd8d273c9c">NimBLEExtAdvertisement::NimBLEExtAdvertisement</a></div><divclass="ttdeci">NimBLEExtAdvertisement(uint8_t priPhy=BLE_HCI_LE_PHY_1M, uint8_t secPhy=BLE_HCI_LE_PHY_1M)</div><divclass="ttdoc">Construct a BLE extended advertisement.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:390</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:550</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:570</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:461</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_ab76aa4b9fb743e5269cfbbae8215d8a8"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#ab76aa4b9fb743e5269cfbbae8215d8a8">NimBLEExtAdvertisement::setPartialServices</a></div><divclass="ttdeci">void 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:721</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:849</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_ad3bd08736cc70700c00432ec9ccfe94d"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#ad3bd08736cc70700c00432ec9ccfe94d">NimBLEExtAdvertisement::setPartialServices32</a></div><divclass="ttdeci">void setPartialServices32(const std::vector< NimBLEUUID >&v_uuid)</div><divclass="ttdoc">Set the partial list of services to advertise.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:739</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:538</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:518</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_aec383f3f61780ee5bda3599543c84dd8"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#aec383f3f61780ee5bda3599543c84dd8">NimBLEExtAdvertisement::getDataSize</a></div><divclass="ttdeci">size_t getDataSize()</div><divclass="ttdoc">Get the size of the current data.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:588</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertisement_html_af25522e956cfeb64bd6beca881d8786e"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertisement.html#af25522e956cfeb64bd6beca881d8786e">NimBLEExtAdvertisement::setURI</a></div><divclass="ttdeci">void setURI(const std::string &uri)</div><divclass="ttdoc">Set the URI to advertise.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:670</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:129</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_callbacks_html_a07004fd4e849aa8e9bd7106cbf6ab94b"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising_callbacks.html#a07004fd4e849aa8e9bd7106cbf6ab94b">NimBLEExtAdvertisingCallbacks::onStopped</a></div><divclass="ttdeci">virtual void onStopped(NimBLEExtAdvertising *pAdv, int reason, uint8_t inst_id)</div><divclass="ttdoc">Handle an advertising stop event.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:368</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_callbacks_html_a92af7bd791095cf91438b7af4c26263f"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising_callbacks.html#a92af7bd791095cf91438b7af4c26263f">NimBLEExtAdvertisingCallbacks::onScanRequest</a></div><divclass="ttdeci">virtual void onScanRequest(NimBLEExtAdvertising *pAdv, uint8_t inst_id, 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:374</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_a321fb75a0ffacedfb54da4cc00484b7c"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#a321fb75a0ffacedfb54da4cc00484b7c">NimBLEExtAdvertising::setInstanceData</a></div><divclass="ttdeci">bool setInstanceData(uint8_t inst_id, NimBLEExtAdvertisement &adv)</div><divclass="ttdoc">Register the extended advertisement data.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:44</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:257</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:31</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_a8044a281a37f4d7c96166ce6f0851159"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#a8044a281a37f4d7c96166ce6f0851159">NimBLEExtAdvertising::start</a></div><divclass="ttdeci">bool start(uint8_t inst_id, int duration=0, int max_events=0)</div><divclass="ttdoc">Start extended advertising.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:154</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_a88ebe0b664cf22449e1a4311fc3b9b01"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#a88ebe0b664cf22449e1a4311fc3b9b01">NimBLEExtAdvertising::isActive</a></div><divclass="ttdeci">bool isActive(uint8_t inst_id)</div><divclass="ttdoc">Check if currently advertising.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:294</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:220</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_a9395a0087e96329591ed2515cc21456b"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#a9395a0087e96329591ed2515cc21456b">NimBLEExtAdvertising::setScanResponseData</a></div><divclass="ttdeci">bool setScanResponseData(uint8_t inst_id, NimBLEExtAdvertisement &data)</div><divclass="ttdoc">Set the scan response data for a legacy advertisement.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:128</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:303</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:278</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_af7f4225f33f03d17efba1d4de0684eef"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#af7f4225f33f03d17efba1d4de0684eef">NimBLEExtAdvertising::removeInstance</a></div><divclass="ttdeci">bool removeInstance(uint8_t inst_id)</div><divclass="ttdoc">Stop and remove this instance data from the advertisement set.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.cpp:201</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_ext_advertising_html_afe321b856d785b78242b2ea020a96af3"><divclass="ttname"><ahref="class_nim_b_l_e_ext_advertising.html#afe321b856d785b78242b2ea020a96af3">NimBLEExtAdvertising::NimBLEExtAdvertising</a></div><divclass="ttdeci">NimBLEExtAdvertising()</div><divclass="ttdoc">Construct an extended advertising object.</div><divclass="ttdef"><b>Definition:</b> NimBLEExtAdvertising.h:97</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:46</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:37</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.1 </li>