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

Method get_rssi

src/droidplug/jni/objects.rs:723–732  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

721 }
722
723 pub fn get_rssi(&self) -> Result<jint> {
724 self.env
725 .call_method_unchecked(
726 self.internal,
727 self.get_rssi,
728 JavaType::Primitive(Primitive::Int),
729 &[],
730 )?
731 .i()
732 }
733}
734
735impl<'a: 'b, 'b> TryFrom<JScanResult<'a, 'b>> for (BDAddr, Option<PeripheralProperties>) {

Callers 1

try_fromMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected