<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="l00026"name="l00026"></a><spanclass="lineno"> 26</span><spanclass="preprocessor"># include "NimBLEAttribute.h"</span></div>
<divclass="line"><aid="l00027"name="l00027"></a><spanclass="lineno"> 27</span><spanclass="preprocessor"># include "NimBLEServer.h"</span></div>
<divclass="line"><aid="l00028"name="l00028"></a><spanclass="lineno"> 28</span><spanclass="preprocessor"># include "NimBLECharacteristic.h"</span></div>
<divclass="line"><aid="l00066"name="l00066"></a><spanclass="lineno"> 66</span><spanclass="comment">// Nimble requires an array of services to be sent to the api</span></div>
<divclass="line"><aid="l00067"name="l00067"></a><spanclass="lineno"> 67</span><spanclass="comment">// Since we are adding 1 at a time we create an array of 2 and set the type</span></div>
<divclass="line"><aid="l00068"name="l00068"></a><spanclass="lineno"> 68</span><spanclass="comment">// of the second service to 0 to indicate the end of the array.</span></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_local_attribute_html"><divclass="ttname"><ahref="class_nim_b_l_e_local_attribute.html">NimBLELocalAttribute</a></div><divclass="ttdoc">A base class for local BLE attributes.</div><divclass="ttdef"><b>Definition</b> NimBLELocalAttribute.h:29</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_service_html"><divclass="ttname"><ahref="class_nim_b_l_e_service.html">NimBLEService</a></div><divclass="ttdoc">The model of a BLE service.</div><divclass="ttdef"><b>Definition</b> NimBLEService.h:34</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_service_html_a415e1b836946831c6f9edd74adba8763"><divclass="ttname"><ahref="class_nim_b_l_e_service.html#a415e1b836946831c6f9edd74adba8763">NimBLEService::createCharacteristic</a></div><divclass="ttdeci">NimBLECharacteristic * createCharacteristic(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)</div><divclass="ttdoc">Create a new BLE Characteristic associated with this service.</div><divclass="ttdef"><b>Definition</b> NimBLEService.cpp:195</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_service_html_a488df9c39d1c49d4b1537abddddb1a7d"><divclass="ttname"><ahref="class_nim_b_l_e_service.html#a488df9c39d1c49d4b1537abddddb1a7d">NimBLEService::getCharacteristicByHandle</a></div><divclass="ttdeci">NimBLECharacteristic * getCharacteristicByHandle(uint16_t handle) const</div><divclass="ttdoc">Get a pointer to the characteristic object with the specified handle.</div><divclass="ttdef"><b>Definition</b> NimBLEService.cpp:309</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_service_html_a819ff207ef7c30f59887af277aa09ce9"><divclass="ttname"><ahref="class_nim_b_l_e_service.html#a819ff207ef7c30f59887af277aa09ce9">NimBLEService::toString</a></div><divclass="ttdeci">std::string toString() const</div><divclass="ttdoc">Return a string representation of this service. A service is defined by:</div><divclass="ttdef"><b>Definition</b> NimBLEService.cpp:354</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_service_html_a8904838e785b967c770a240e6c5099e7"><divclass="ttname"><ahref="class_nim_b_l_e_service.html#a8904838e785b967c770a240e6c5099e7">NimBLEService::~NimBLEService</a></div><divclass="ttdeci">~NimBLEService()</div><divclass="ttdoc">Destructor, make sure we release the resources allocated for the service.</div><divclass="ttdef"><b>Definition</b> NimBLEService.cpp:51</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_service_html_a8fafb0c55e447114daf9ad758218905e"><divclass="ttname"><ahref="class_nim_b_l_e_service.html#a8fafb0c55e447114daf9ad758218905e">NimBLEService::dump</a></div><divclass="ttdeci">void dump() const</div><divclass="ttdoc">Dump details of this BLE GATT service.</div><divclass="ttdef"><b>Definition</b> NimBLEService.cpp:67</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_service_html_aa9464e97d7e39a4634c5d9bdce1abbac"><divclass="ttname"><ahref="class_nim_b_l_e_service.html#aa9464e97d7e39a4634c5d9bdce1abbac">NimBLEService::isStarted</a></div><divclass="ttdeci">bool isStarted() const</div><divclass="ttdoc">Checks if the service has been started.</div><divclass="ttdef"><b>Definition</b> NimBLEService.cpp:375</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_service_html_acfbb7abadee89abd496b89f8fe085f58"><divclass="ttname"><ahref="class_nim_b_l_e_service.html#acfbb7abadee89abd496b89f8fe085f58">NimBLEService::getServer</a></div><divclass="ttdeci">NimBLEServer * getServer() const</div><divclass="ttdoc">Get the BLE server associated with this service.</div><divclass="ttdef"><b>Definition</b> NimBLEService.cpp:367</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_service_html_ad37324ed0404d596923d6fdc0133b985"><divclass="ttname"><ahref="class_nim_b_l_e_service.html#ad37324ed0404d596923d6fdc0133b985">NimBLEService::start</a></div><divclass="ttdeci">bool start()</div><divclass="ttdoc">Builds the database of characteristics/descriptors for the service and registers it with the NimBLE s...</div><divclass="ttdef"><b>Definition</b> NimBLEService.cpp:92</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_service_html_aeeaa4b0c543230e7819ad92d48432f5e"><divclass="ttname"><ahref="class_nim_b_l_e_service.html#aeeaa4b0c543230e7819ad92d48432f5e">NimBLEService::getCharacteristic</a></div><divclass="ttdeci">NimBLECharacteristic * getCharacteristic(const char *uuid, uint16_t instanceId=0) const</div><divclass="ttdoc">Get a pointer to the characteristic object with the specified UUID.</div><divclass="ttdef"><b>Definition</b> NimBLEService.cpp:280</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_service_html_af8215dbfdaf7ced32d6158f8ff5116e8"><divclass="ttname"><ahref="class_nim_b_l_e_service.html#af8215dbfdaf7ced32d6158f8ff5116e8">NimBLEService::addCharacteristic</a></div><divclass="ttdeci">void addCharacteristic(NimBLECharacteristic *pCharacteristic)</div><divclass="ttdoc">Add a characteristic to the service.</div><divclass="ttdef"><b>Definition</b> NimBLEService.cpp:220</div></div>
<divclass="ttc"id="aclass_nim_b_l_e_service_html_af992d0c27e3a559789fb77fc46623234"><divclass="ttname"><ahref="class_nim_b_l_e_service.html#af992d0c27e3a559789fb77fc46623234">NimBLEService::removeCharacteristic</a></div><divclass="ttdeci">void removeCharacteristic(NimBLECharacteristic *pCharacteristic, bool deleteChr=false)</div><divclass="ttdoc">Remove a characteristic from the service.</div><divclass="ttdef"><b>Definition</b> NimBLEService.cpp:252</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>