Work more on Bluetti

This commit is contained in:
2026-06-06 18:23:23 +10:00
parent d532c7da89
commit 8c7b28a82b
5 changed files with 235 additions and 21 deletions
+5 -3
View File
@@ -80,9 +80,11 @@ void setup() {
bluetti.setDebug(true); // prints discovered devices + decrypted payloads
bluetti.setCallback(onBluettiAdv);
// CHANGE THESE: your device's BLE MAC and the 16-byte AES key (32 hex chars).
bluetti.addDevice("My Elite", "AA:BB:CC:DD:EE:FF",
"112233445566778899aabbccddeeff00");
// AES key = line 3 of the BLUETTI key-export CSV (32 hex chars / 16 bytes).
// MAC left empty ("") so it matches the first Bluetti broadcaster it sees —
// set a real MAC here if more than one Bluetti is in range.
bluetti.addDevice("My Elite", "",
"53afcd9aef4ff020f472686c00283ce5");
Serial.printf("Configured %d device(s). Scanning advertisements...\n",
(int)bluetti.getDeviceCount());