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

Method add_peripheral

src/corebluetooth/adapter.rs:135–139  ·  view source on GitHub ↗
(&self, _address: &PeripheralId)

Source from the content-addressed store, hash-verified

133 }
134
135 async fn add_peripheral(&self, _address: &PeripheralId) -> Result<Peripheral> {
136 Err(Error::NotSupported(
137 "Can't add a Peripheral from a PeripheralId".to_string(),
138 ))
139 }
140
141 async fn clear_peripherals(&self) -> Result<()> {
142 self.manager.clear_peripherals();

Callers 1

newMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected