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

Method adapter_info

src/bluez/adapter.rs:124–127  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

122 }
123
124 async fn adapter_info(&self) -> Result<String> {
125 let adapter_info = self.session.get_adapter_info(&self.adapter).await?;
126 Ok(format!("{} ({})", adapter_info.id, adapter_info.modalias))
127 }
128
129 async fn adapter_state(&self) -> Result<CentralState> {
130 let mut powered = false;

Callers 1

Calls

no outgoing calls

Tested by 1