debugPrint manufacturerData in example app

This commit is contained in:
Foti Dim
2024-02-12 09:54:38 +01:00
parent fd4f2e0310
commit 7986deaf6c
+1
View File
@@ -50,6 +50,7 @@ class _MyAppState extends State<MyApp> {
};
UniversalBle.onScanResult = (result) {
debugPrint("${result.name} ${result.manufacturerData}");
int index = _scanResults.indexWhere((e) => e.deviceId == result.deviceId);
if (index == -1) {
_scanResults.add(result);