<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="l00029"name="l00029"></a><spanclass="lineno"> 29</span><spanclass="preprocessor"># if defined(CONFIG_NIMBLE_CPP_IDF)</span></div>
<divclass="line"><aid="l00030"name="l00030"></a><spanclass="lineno"> 30</span><spanclass="preprocessor"># include <host/ble_gap.h></span></div>
<divclass="line"><aid="l00032"name="l00032"></a><spanclass="lineno"> 32</span><spanclass="preprocessor"># include <nimble/nimble/host/include/host/ble_gap.h></span></div>
<divclass="line"><aid="l00043"name="l00043"></a><spanclass="lineno"> 43</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)</span></div>
<divclass="line"><aid="l00044"name="l00044"></a><spanclass="lineno"> 44</span><spanclass="preprocessor"># include <array></span></div>
<divclass="line"><aid="l00048"name="l00048"></a><spanclass="lineno"> 48</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)</span></div>
<divclass="line"><aid="l00052"name="l00052"></a><spanclass="lineno"> 52</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)</span></div>
<divclass="line"><aid="l00053"name="l00053"></a><spanclass="lineno"> 53</span><spanclass="preprocessor"># if CONFIG_BT_NIMBLE_EXT_ADV</span></div>
<divclass="line"><aid="l00060"name="l00060"></a><spanclass="lineno"> 60</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)</span></div>
<divclass="line"><aid="l00155"name="l00155"></a><spanclass="lineno"> 155</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)</span></div>
<divclass="line"><aid="l00159"name="l00159"></a><spanclass="lineno"> 159</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)</span></div>
<divclass="line"><aid="l00169"name="l00169"></a><spanclass="lineno"> 169</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)</span></div>
<divclass="line"><aid="l00170"name="l00170"></a><spanclass="lineno"> 170</span><spanclass="preprocessor"># if CONFIG_BT_NIMBLE_EXT_ADV</span></div>
<divclass="line"><aid="l00183"name="l00183"></a><spanclass="lineno"> 183</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)</span></div>
<divclass="line"><aid="l00210"name="l00210"></a><spanclass="lineno"> 210</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)</span></div>
<divclass="line"><aid="l00214"name="l00214"></a><spanclass="lineno"> 214</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)</span></div>
<divclass="line"><aid="l00218"name="l00218"></a><spanclass="lineno"> 218</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)</span></div>
<divclass="line"><aid="l00219"name="l00219"></a><spanclass="lineno"> 219</span><spanclass="preprocessor"># if CONFIG_BT_NIMBLE_EXT_ADV</span></div>
<divclass="line"><aid="l00226"name="l00226"></a><spanclass="lineno"> 226</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)</span></div>
<divclass="line"><aid="l00237"name="l00237"></a><spanclass="lineno"> 237</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)</span></div>
<divclass="line"><aid="l00241"name="l00241"></a><spanclass="lineno"> 241</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)</span></div>
<divclass="line"><aid="l00245"name="l00245"></a><spanclass="lineno"> 245</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)</span></div>
<divclass="line"><aid="l00250"name="l00250"></a><spanclass="lineno"> 250</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)</span></div>
<divclass="line"><aid="l00259"name="l00259"></a><spanclass="lineno"> 259</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)</span></div>
<divclass="line"><aid="l00260"name="l00260"></a><spanclass="lineno"> 260</span><spanclass="preprocessor"># include "NimBLEClient.h"</span></div>
<divclass="line"><aid="l00261"name="l00261"></a><spanclass="lineno"> 261</span><spanclass="preprocessor"># include "NimBLERemoteService.h"</span></div>
<divclass="line"><aid="l00262"name="l00262"></a><spanclass="lineno"> 262</span><spanclass="preprocessor"># include "NimBLERemoteCharacteristic.h"</span></div>
<divclass="line"><aid="l00263"name="l00263"></a><spanclass="lineno"> 263</span><spanclass="preprocessor"># include "NimBLERemoteDescriptor.h"</span></div>
<divclass="line"><aid="l00266"name="l00266"></a><spanclass="lineno"> 266</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)</span></div>
<divclass="line"><aid="l00267"name="l00267"></a><spanclass="lineno"> 267</span><spanclass="preprocessor"># include "NimBLEScan.h"</span></div>
<divclass="line"><aid="l00270"name="l00270"></a><spanclass="lineno"> 270</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)</span></div>
<divclass="line"><aid="l00271"name="l00271"></a><spanclass="lineno"> 271</span><spanclass="preprocessor"># include "NimBLEServer.h"</span></div>
<divclass="line"><aid="l00272"name="l00272"></a><spanclass="lineno"> 272</span><spanclass="preprocessor"># include "NimBLEService.h"</span></div>
<divclass="line"><aid="l00273"name="l00273"></a><spanclass="lineno"> 273</span><spanclass="preprocessor"># include "NimBLECharacteristic.h"</span></div>
<divclass="line"><aid="l00274"name="l00274"></a><spanclass="lineno"> 274</span><spanclass="preprocessor"># include "NimBLEDescriptor.h"</span></div>
<divclass="line"><aid="l00277"name="l00277"></a><spanclass="lineno"> 277</span><spanclass="preprocessor"># if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)</span></div>
<divclass="line"><aid="l00278"name="l00278"></a><spanclass="lineno"> 278</span><spanclass="preprocessor"># if CONFIG_BT_NIMBLE_EXT_ADV</span></div>
<divclass="line"><aid="l00279"name="l00279"></a><spanclass="lineno"> 279</span><spanclass="preprocessor"># include "NimBLEExtAdvertising.h"</span></div>
<divclass="line"><aid="l00281"name="l00281"></a><spanclass="lineno"> 281</span><spanclass="preprocessor"># include "NimBLEAdvertising.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_advertising_html"><divclass="ttname"><ahref="class_nim_b_l_e_advertising.html">NimBLEAdvertising</a></div><divclass="ttdoc">Perform and manage BLE advertising.</div><divclass="ttdef"><b>Definition</b> NimBLEAdvertising.h:52</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_characteristic_html"><divclass="ttname"><ahref="class_nim_b_l_e_characteristic.html">NimBLECharacteristic</a></div><divclass="ttdoc">The model of a BLE Characteristic.</div><divclass="ttdef"><b>Definition</b> NimBLECharacteristic.h:40</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_client_html"><divclass="ttname"><ahref="class_nim_b_l_e_client.html">NimBLEClient</a></div><divclass="ttdoc">A model of a BLE client.</div><divclass="ttdef"><b>Definition</b> NimBLEClient.h:49</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_device_html_a010b12177917f33e7d3633736c0cc553"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a010b12177917f33e7d3633736c0cc553">NimBLEDevice::createClient</a></div><divclass="ttdeci">static NimBLEClient * createClient()</div><divclass="ttdoc">Creates a new client object, each client can connect to 1 peripheral device.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:291</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a01737196c77959a03964504ee0b48f4d"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a01737196c77959a03964504ee0b48f4d">NimBLEDevice::onSync</a></div><divclass="ttdeci">static void onSync(void)</div><divclass="ttdoc">Host synced with controller, all clear to make calls to the stack.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:760</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a0944f3f6eca16ed4b7fd96d88b2906d9"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a0944f3f6eca16ed4b7fd96d88b2906d9">NimBLEDevice::getCreatedClientCount</a></div><divclass="ttdeci">static size_t getCreatedClientCount()</div><divclass="ttdoc">Get the number of created client objects.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:351</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a0e021958df2f2dbf40e52b9022c37594"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a0e021958df2f2dbf40e52b9022c37594">NimBLEDevice::setDefaultPhy</a></div><divclass="ttdeci">static bool setDefaultPhy(uint8_t txPhyMask, uint8_t rxPhyMask)</div><divclass="ttdoc">Set the preferred default phy to use for connections.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:733</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a0f6521729222f9e55e40325824786070"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a0f6521729222f9e55e40325824786070">NimBLEDevice::setOwnAddr</a></div><divclass="ttdeci">static bool setOwnAddr(const NimBLEAddress &addr)</div><divclass="ttdoc">Set the device address to use.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:1033</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a10aec48b56ef404f42ade96d6244b312"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a10aec48b56ef404f42ade96d6244b312">NimBLEDevice::getDisconnectedClient</a></div><divclass="ttdeci">static NimBLEClient * getDisconnectedClient()</div><divclass="ttdoc">Finds the first disconnected client available.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:396</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a16bf4f5394735ed8d7f0bb32ca5d269a"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a16bf4f5394735ed8d7f0bb32ca5d269a">NimBLEDevice::isBonded</a></div><divclass="ttdeci">static bool isBonded(const NimBLEAddress &address)</div><divclass="ttdoc">Checks if a peer device is bonded.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:595</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a179d1199badd67464cab921672a44405"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a179d1199badd67464cab921672a44405">NimBLEDevice::setCustomGapHandler</a></div><divclass="ttdeci">static bool setCustomGapHandler(gap_event_handler handler)</div><divclass="ttdoc">Set a custom callback for gap events.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:1205</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a17fe75ad9d4f3d8cfd876b4a9bf70bb0"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a17fe75ad9d4f3d8cfd876b4a9bf70bb0">NimBLEDevice::deleteAllBonds</a></div><divclass="ttdeci">static bool deleteAllBonds()</div><divclass="ttdoc">Deletes all bonding information.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:572</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a181ee3b2b143e50e216fc2728194ff85"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a181ee3b2b143e50e216fc2728194ff85">NimBLEDevice::startAdvertising</a></div><divclass="ttdeci">static bool startAdvertising(uint8_t instId, int duration=0, int maxEvents=0)</div><divclass="ttdoc">Convenience function to begin advertising.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:167</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a1c07c41733730754fd31efae5a43f085"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a1c07c41733730754fd31efae5a43f085">NimBLEDevice::onReset</a></div><divclass="ttdeci">static void onReset(int reason)</div><divclass="ttdoc">Host reset, we pass the message so we don't make calls until re-synced.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:747</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a20fc979ec9dbad5cce7f73e41b2e422e"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a20fc979ec9dbad5cce7f73e41b2e422e">NimBLEDevice::deleteBond</a></div><divclass="ttdeci">static bool deleteBond(const NimBLEAddress &address)</div><divclass="ttdoc">Deletes a peer bond.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:586</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a2b45ce364bf3ee69959389c8cc70249c"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a2b45ce364bf3ee69959389c8cc70249c">NimBLEDevice::setPower</a></div><divclass="ttdeci">static bool setPower(int8_t dbm)</div><divclass="ttdoc">Set the transmission power.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:467</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a2e8bb71daabbffd9eab8787493a45ce7"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a2e8bb71daabbffd9eab8787493a45ce7">NimBLEDevice::init</a></div><divclass="ttdeci">static bool init(const std::string &deviceName)</div><divclass="ttdoc">Initialize the BLE environment.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:819</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a31acb43c150014f06bad74b57c2335ff"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a31acb43c150014f06bad74b57c2335ff">NimBLEDevice::setOwnAddrType</a></div><divclass="ttdeci">static bool setOwnAddrType(uint8_t type)</div><divclass="ttdoc">Sets the address type to use.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:1002</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a3c251b1d5c651ab9ef9b4819f79c1629"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a3c251b1d5c651ab9ef9b4819f79c1629">NimBLEDevice::stopAdvertising</a></div><divclass="ttdeci">static bool stopAdvertising()</div><divclass="ttdoc">Convenience function to stop all advertising.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:207</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a41d4cc7c85cba0721c6649b001b31b4d"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a41d4cc7c85cba0721c6649b001b31b4d">NimBLEDevice::getServer</a></div><divclass="ttdeci">static NimBLEServer * getServer()</div><divclass="ttdoc">Get the instance of the server.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:137</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a425561f1e23856756ab9c1c330da5737"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a425561f1e23856756ab9c1c330da5737">NimBLEDevice::isInitialized</a></div><divclass="ttdeci">static bool isInitialized()</div><divclass="ttdoc">Check if the initialization is complete.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:968</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a43b83de25635b69cfd663a7f0e7784d6"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a43b83de25635b69cfd663a7f0e7784d6">NimBLEDevice::setMTU</a></div><divclass="ttdeci">static bool setMTU(uint16_t mtu)</div><divclass="ttdoc">Setup local mtu that will be used to negotiate mtu during request from client peer.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:532</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a4a2229e9e517b84773e65c75124b0789"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a4a2229e9e517b84773e65c75124b0789">NimBLEDevice::getWhiteListAddress</a></div><divclass="ttdeci">static NimBLEAddress getWhiteListAddress(size_t index)</div><divclass="ttdoc">Gets the address at the vector index.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:705</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a4d9780d0b5fafc279483822af802a508"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a4d9780d0b5fafc279483822af802a508">NimBLEDevice::createServer</a></div><divclass="ttdeci">static NimBLEServer * createServer()</div><divclass="ttdoc">Create an instance of a server.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:122</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a5071168b3bda69aa4457a43473ad7a96"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a5071168b3bda69aa4457a43473ad7a96">NimBLEDevice::injectPassKey</a></div><divclass="ttdeci">static bool injectPassKey(const NimBLEConnInfo &peerInfo, uint32_t pin)</div><divclass="ttdoc">Inject the provided passkey into the Security Manager.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:1163</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a5520cf3f544d571636eed162de394ec2"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a5520cf3f544d571636eed162de394ec2">NimBLEDevice::getMTU</a></div><divclass="ttdeci">static uint16_t getMTU()</div><divclass="ttdoc">Get local MTU value set.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:545</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a66362258c033860e8448032913be355f"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a66362258c033860e8448032913be355f">NimBLEDevice::deinit</a></div><divclass="ttdeci">static bool deinit(bool clearAll=false)</div><divclass="ttdoc">Shutdown the NimBLE stack/controller.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:913</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a7fe0f568c17130150660e6307851be48"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a7fe0f568c17130150660e6307851be48">NimBLEDevice::getNumBonds</a></div><divclass="ttdeci">static int getNumBonds()</div><divclass="ttdoc">Gets the number of bonded peers stored.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:557</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a81abbad5e371fe1cdd91c002b42cc654"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a81abbad5e371fe1cdd91c002b42cc654">NimBLEDevice::whiteListRemove</a></div><divclass="ttdeci">static bool whiteListRemove(const NimBLEAddress &address)</div><divclass="ttdoc">Remove a peer address from the whitelist.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:674</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a83aa0a3d9d57358d35082a442edf8549"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a83aa0a3d9d57358d35082a442edf8549">NimBLEDevice::deleteClient</a></div><divclass="ttdeci">static bool deleteClient(NimBLEClient *pClient)</div><divclass="ttdoc">Delete the client object and remove it from the list. Checks if it is connected or trying to connect ...</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:318</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a8b6b4bedfe37725ed9c20e91a3470005"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a8b6b4bedfe37725ed9c20e91a3470005">NimBLEDevice::startSecurity</a></div><divclass="ttdeci">static bool startSecurity(uint16_t connHandle, int *rcPtr=nullptr)</div><divclass="ttdoc">Start the connection securing and authorization for this connection.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:1146</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_a9c15d6b767091fae4412428436827c4e"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#a9c15d6b767091fae4412428436827c4e">NimBLEDevice::getClientByHandle</a></div><divclass="ttdeci">static NimBLEClient * getClientByHandle(uint16_t connHandle)</div><divclass="ttdoc">Get a reference to a client by connection handle.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:367</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_aa03937eadda020643b536c5d08174d3a"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#aa03937eadda020643b536c5d08174d3a">NimBLEDevice::getSecurityPasskey</a></div><divclass="ttdeci">static uint32_t getSecurityPasskey()</div><divclass="ttdoc">Get the current passkey used for pairing.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:1136</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_aa8e340c02418771ce72dec758d560938"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#aa8e340c02418771ce72dec758d560938">NimBLEDevice::setSecurityAuth</a></div><divclass="ttdeci">static void setSecurityAuth(bool bonding, bool mitm, bool sc)</div><divclass="ttdoc">Set the authorization mode for this device.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:1063</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_aa994b01b2b5bb9f677f3cffb2f05d140"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#aa994b01b2b5bb9f677f3cffb2f05d140">NimBLEDevice::getAdvertising</a></div><divclass="ttdeci">static NimBLEExtAdvertising * getAdvertising()</div><divclass="ttdoc">Get the instance of the extended advertising object.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:152</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_aaa64b6baff54c010eb8b4d0ba338cc01"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#aaa64b6baff54c010eb8b4d0ba338cc01">NimBLEDevice::setDeviceName</a></div><divclass="ttdeci">static bool setDeviceName(const std::string &deviceName)</div><divclass="ttdoc">Set the BLEDevice name.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:1190</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_aabc68166b6dd4a744a98f94e569f37db"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#aabc68166b6dd4a744a98f94e569f37db">NimBLEDevice::whiteListAdd</a></div><divclass="ttdeci">static bool whiteListAdd(const NimBLEAddress &address)</div><divclass="ttdoc">Add a peer address to the whitelist.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:655</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_ab0a29a11f71d3ba32645c096067a853b"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#ab0a29a11f71d3ba32645c096067a853b">NimBLEDevice::setSecurityInitKey</a></div><divclass="ttdeci">static void setSecurityInitKey(uint8_t initKey)</div><divclass="ttdoc">If we are the initiator of the security procedure this sets the keys we will distribute.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:1107</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_ab28cc2ec59fc9e62d05826633f53d2a0"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#ab28cc2ec59fc9e62d05826633f53d2a0">NimBLEDevice::getWhiteListCount</a></div><divclass="ttdeci">static size_t getWhiteListCount()</div><divclass="ttdoc">Gets the count of addresses in the whitelist.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:696</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_ab4771de8c0805836f0e7059199d56411"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#ab4771de8c0805836f0e7059199d56411">NimBLEDevice::host_task</a></div><divclass="ttdeci">static void host_task(void *param)</div><divclass="ttdoc">The main host task.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:809</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_ab62da4d606355b20539e37e881f4044d"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#ab62da4d606355b20539e37e881f4044d">NimBLEDevice::setSecurityPasskey</a></div><divclass="ttdeci">static void setSecurityPasskey(uint32_t passKey)</div><divclass="ttdoc">Set the passkey the server will ask for when pairing.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:1128</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_ab769a5f5afb3ee486527d41b8c445566"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#ab769a5f5afb3ee486527d41b8c445566">NimBLEDevice::setSecurityRespKey</a></div><divclass="ttdeci">static void setSecurityRespKey(uint8_t respKey)</div><divclass="ttdoc">Set the keys we are willing to accept during pairing.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:1120</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_ab9fee9e810d5fa18bc8a37053eb9b5d0"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#ab9fee9e810d5fa18bc8a37053eb9b5d0">NimBLEDevice::setSecurityIOCap</a></div><divclass="ttdeci">static void setSecurityIOCap(uint8_t iocap)</div><divclass="ttdoc">Set the Input/Output capabilities of this device.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:1094</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_abf8c494b54d9f0c9466c80f25dbdd961"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#abf8c494b54d9f0c9466c80f25dbdd961">NimBLEDevice::toString</a></div><divclass="ttdeci">static std::string toString()</div><divclass="ttdoc">Return a string representation of the address of this device.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:1221</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_ac7f090f4b1a2d593f38b20859e071f0c"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#ac7f090f4b1a2d593f38b20859e071f0c">NimBLEDevice::getBondedAddress</a></div><divclass="ttdeci">static NimBLEAddress getBondedAddress(int index)</div><divclass="ttdoc">Get the address of a bonded peer device by index.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:619</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_acb098c56b7d08636e1745052eb184fb2"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#acb098c56b7d08636e1745052eb184fb2">NimBLEDevice::getConnectedClients</a></div><divclass="ttdeci">static std::vector< NimBLEClient * > getConnectedClients()</div><divclass="ttdoc">Get a list of connected clients.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:410</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_ae51e2d4d6169a61133178a1b0d6b5b45"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#ae51e2d4d6169a61133178a1b0d6b5b45">NimBLEDevice::onWhiteList</a></div><divclass="ttdeci">static bool onWhiteList(const NimBLEAddress &address)</div><divclass="ttdoc">Checks if a peer device is whitelisted.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:640</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_ae59445e712b468349099befca7a7be16"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#ae59445e712b468349099befca7a7be16">NimBLEDevice::getPower</a></div><divclass="ttdeci">static int getPower()</div><divclass="ttdoc">Get the transmission power.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:496</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_af93d92316454b051125460056368baec"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#af93d92316454b051125460056368baec">NimBLEDevice::getScan</a></div><divclass="ttdeci">static NimBLEScan * getScan()</div><divclass="ttdoc">Retrieve the Scan object that we use for scanning.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:222</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_afc7060413706ec7217ea9add4b169117"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#afc7060413706ec7217ea9add4b169117">NimBLEDevice::getClientByPeerAddress</a></div><divclass="ttdeci">static NimBLEClient * getClientByPeerAddress(const NimBLEAddress &peerAddress)</div><divclass="ttdoc">Get a reference to a client by peer address.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:382</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_device_html_aff35384524ab80a19ce1ef23fdcd970b"><divclass="ttname"><ahref="class_nim_b_l_e_device.html#aff35384524ab80a19ce1ef23fdcd970b">NimBLEDevice::injectConfirmPasskey</a></div><divclass="ttdeci">static bool injectConfirmPasskey(const NimBLEConnInfo &peerInfo, bool accept)</div><divclass="ttdoc">Inject the provided numeric comparison response into the Security Manager.</div><divclass="ttdef"><b>Definition</b> NimBLEDevice.cpp:1175</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_scan_html"><divclass="ttname"><ahref="class_nim_b_l_e_scan.html">NimBLEScan</a></div><divclass="ttdoc">Perform and manage BLE scans.</div><divclass="ttdef"><b>Definition</b> NimBLEScan.h:67</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>
<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>