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

Method connection_parameters

src/api/mod.rs:350–354  ·  view source on GitHub ↗

Returns current connection parameters, if available on this platform. Returns `Ok(None)` if the platform doesn't support reading parameters. Returns `Err` if not connected.

(&self)

Source from the content-addressed store, hash-verified

348 /// Returns `Ok(None)` if the platform doesn't support reading parameters.
349 /// Returns `Err` if not connected.
350 async fn connection_parameters(&self) -> Result<Option<ConnectionParameters>> {
351 Err(crate::Error::NotSupported(
352 "connection_parameters".to_string(),
353 ))
354 }
355
356 /// Request a connection parameter update using a preset.
357 /// This is a request — the remote device may accept or reject.

Callers 2

Calls

no outgoing calls

Tested by 2