MCPcopy Create free account
hub / github.com/deviceplug/btleplug / services

Method services

src/bluez/peripheral.rs:168–175  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

166 }
167
168 fn services(&self) -> BTreeSet<Service> {
169 self.services
170 .lock()
171 .unwrap()
172 .values()
173 .map(|service| service.into())
174 .collect()
175 }
176
177 async fn is_connected(&self) -> Result<bool> {
178 let device_info = self.device_info().await?;

Callers 5

characteristicsMethod · 0.45
find_descriptorFunction · 0.45
find_descriptorFunction · 0.45
test_discover_servicesFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_discover_servicesFunction · 0.36