mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-06-24 03:14:30 +10:00
add support for whipseros
needed a new ble prefix
This commit is contained in:
@@ -658,7 +658,8 @@ class MeshCoreConnector extends ChangeNotifier {
|
|||||||
_scanResults.clear();
|
_scanResults.clear();
|
||||||
for (var result in results) {
|
for (var result in results) {
|
||||||
if (result.device.platformName.startsWith("MeshCore-") ||
|
if (result.device.platformName.startsWith("MeshCore-") ||
|
||||||
result.advertisementData.advName.startsWith("MeshCore-")) {
|
result.advertisementData.advName.startsWith("MeshCore-") ||
|
||||||
|
result.advertisementData.advName.startsWith("Whisper-")) {
|
||||||
_scanResults.add(result);
|
_scanResults.add(result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user