readRssi method

Future<int> readRssi(
  1. String deviceId
)

Reads the RSSI of the of the peripheral with the given device ID. The peripheral must be connected, otherwise a PlatformException will be thrown

Implementation

Future<int> readRssi(String deviceId) async =>
    _blePlatform.readRssi(deviceId);