Work more on Bluetti
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user