[BT] Typo fix to actually have Victron devices decrypted (#2226)
This commit is contained in:
1 parent
6d7e4fd8f1
commit
5add388fbc
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1203,7 +1203,7 @@ void process_bledata(JsonObject& BLEdata) {
|
||||
int mac_type = BLEdata["mac_type"].as<int>();
|
||||
|
||||
# if BLEDecryptor
|
||||
if (BLEdata["encr"] && (BLEdata["encr"].as<int>() >0 && BLEdata["encr"].as<int>() <=2)) {
|
||||
if (BLEdata["encr"] && (BLEdata["encr"].as<int>() > 0 && BLEdata["encr"].as<int>() <= 3)) {
|
||||
// Decrypting Encrypted BLE Data PVVX, BTHome or Victron
|
||||
Log.trace(F("[BLEDecryptor] Decrypt ENCR:%d ModelID:%s Payload:%s" CR), BLEdata["encr"].as<int>(), BLEdata["model_id"].as<const char*>(), BLEdata["cipher"].as<const char*>());
|
||||
|
||||
|
||||
Reference in new issue
Block a user