refactor: passive scan instead of connecting to BLE devices

This commit is contained in:
Yurii
2025-10-20 17:59:52 +03:00
parent 5667199988
commit 9d38525251
3 changed files with 168 additions and 562 deletions

View File

@@ -149,7 +149,7 @@ public:
static int16_t getIdByName(const char* name) {
if (settings == nullptr) {
return 0;
return -1;
}
for (uint8_t id = 0; id <= getMaxSensorId(); id++) {
@@ -163,7 +163,7 @@ public:
static int16_t getIdByObjectId(const char* objectId) {
if (settings == nullptr) {
return 0;
return -1;
}
String refObjectId;