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

Method connection_parameters

src/droidplug/peripheral.rs:483–489  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

481 }
482
483 async fn connection_parameters(&self) -> Result<Option<ConnectionParameters>> {
484 self.with_obj(|_env, obj| {
485 Ok(obj
486 .get_connection_parameters()
487 .map_err(|e| Error::Other(format!("{:?}", e).into()))?)
488 })
489 }
490
491 async fn request_connection_parameters(&self, preset: ConnectionParameterPreset) -> Result<()> {
492 let priority = match preset {

Callers

nothing calls this directly

Calls 2

with_objMethod · 0.80

Tested by

no test coverage detected