Implement readRSSI on Android and Darwin (#203)

This commit is contained in:
EricKwok
2026-01-06 00:25:19 +08:00
committed by Foti Dim
parent a5b6af6168
commit 1adfa9b485
25 changed files with 456 additions and 91 deletions
+16
View File
@@ -131,3 +131,19 @@ This method will **attempt** to set the MTU (Maximum Transmission Unit) but it i
```dart
int mtu = await UniversalBle.requestMtu(widget.deviceId, 247);
```
### Read RSSI
Read the signal strength (RSSI) of a connected device.
```dart
int rssi = await UniversalBle.readRssi(deviceId);
```
> ⚠️ Note: The device must be connected before reading RSSI.
#### Platform Limitations
* **Android / iOS / macOS**: Fully supported.
* **Windows / Linux / Web**: Not supported.