MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / getScanResults

Function getScanResults

Tactility/Source/bluetooth/Bluetooth.cpp:353–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353std::vector<PeerRecord> getScanResults() {
354 auto lock = scan_cache_mutex.asScopedLock();
355 lock.lock();
356 return scan_results_cache;
357}
358
359std::vector<PeerRecord> getPairedPeers() {
360 auto stored = settings::loadAll();

Callers 4

hidHostSubscribeNextFunction · 0.70
autoConnectHidHostFunction · 0.70
updateApRecordsMethod · 0.50
updateScanResultsMethod · 0.50

Calls 2

asScopedLockMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected