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

Method toString

libraries/BLE/src/BLEClient.cpp:421–429  ·  view source on GitHub ↗

* @brief Return a string representation of this client. * @return A string representation of this client. */

Source from the content-addressed store, hash-verified

419 * @return A string representation of this client.
420 */
421String BLEClient::toString() {
422 String res = "peer address: " + m_peerAddress.toString();
423 res += "\nServices:\n";
424 for (auto &myPair : m_servicesMap) {
425 res += myPair.second->toString() + "\n";
426 // myPair.second is the value
427 }
428 return res;
429} // toString
430
431void BLEClientCallbacks::onConnect(BLEClient *pClient) {
432 log_d("BLEClientCallbacks", "onConnect: default");

Callers 7

getServiceMethod · 0.45
getValueMethod · 0.45
setValueMethod · 0.45
connectMethod · 0.45
serviceDiscoveredCBMethod · 0.45
handleGAPEventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected