MCPcopy Create free account
hub / github.com/Heltec-Aaron-Lee/WiFi_Kit_series / getService

Method getService

libraries/BLE/src/BLEClient.cpp:294–296  ·  view source on GitHub ↗

* @brief Get the service BLE Remote Service instance corresponding to the uuid. * @param [in] uuid The UUID of the service being sought. * @return A reference to the Service or nullptr if don't know about it. */

Source from the content-addressed store, hash-verified

292 * @return A reference to the Service or nullptr if don't know about it.
293 */
294BLERemoteService *BLEClient::getService(const char *uuid) {
295 return getService(BLEUUID(uuid));
296} // getService
297
298/**
299 * @brief Get the service object corresponding to the uuid.

Callers 2

executeCreateMethod · 0.45
handleGATTServerEventMethod · 0.45

Calls 3

BLEUUIDClass · 0.85
c_strMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected