Skip to content

Commit

Permalink
BM2 name extension (#1750)
Browse files Browse the repository at this point in the history
BM2 name extension for connection
  • Loading branch information
DigiH committed Sep 22, 2023
1 parent ded0824 commit 07534f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/ZgatewayBT.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ void process_bledata(JsonObject& BLEdata) {
model_id = BLEconectable::id::LYWSD03MMC;
else if (name.compare("DT24-BLE") == 0)
model_id = BLEconectable::id::DT24_BLE;
else if (name.compare("Battery Monitor") == 0)
else if (name.compare("Battery Monitor") == 0 || name.compare("Li Battery Monitor") == 0 || name.compare("ZX-1689") == 0)
model_id = BLEconectable::id::BM2;
else if (name.compare("MHO-C401") == 0)
model_id = BLEconectable::id::MHO_C401;
Expand Down

0 comments on commit 07534f0

Please sign in to comment.