Improve Windows and Linux error handling (#12)
* Improve windows and linux error handeling * Send proper error code from windows for write command * Fix Linux * Fix getConnectedDevices on windows --------- Co-authored-by: fotidim <fdimanidis@gmail.com> Co-authored-by: fotidim <foti@navideck.com>
This commit is contained in:
@@ -62,7 +62,7 @@ class _MyAppState extends State<MyApp> {
|
||||
};
|
||||
|
||||
UniversalBle.onScanResult = (result) {
|
||||
debugPrint("${result.name} ${result.manufacturerData}");
|
||||
// debugPrint("${result.name} ${result.manufacturerData}");
|
||||
int index = _scanResults.indexWhere((e) => e.deviceId == result.deviceId);
|
||||
if (index == -1) {
|
||||
_scanResults.add(result);
|
||||
|
||||
@@ -386,7 +386,7 @@ packages:
|
||||
path: ".."
|
||||
relative: true
|
||||
source: path
|
||||
version: "0.9.1"
|
||||
version: "0.9.2"
|
||||
vector_math:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user