Work more on Bluetti
This commit is contained in:
+4
-1
@@ -27,7 +27,10 @@
|
||||
#include "mbedtls/aes.h"
|
||||
|
||||
// --- Constants ---
|
||||
static constexpr uint16_t BLUETTI_COMPANY_ID = 0x0F06; // Poweroak / Bluetti
|
||||
static constexpr uint16_t BLUETTI_COMPANY_ID = 0x0F06; // Poweroak: encrypted telemetry
|
||||
// Newer Elite/V2 units advertise a static "BLUETT" nameplate (company id 0x4C42)
|
||||
// instead of the 0x0F06 telemetry broadcast — i.e. no monitoring data over BLE ADV.
|
||||
static constexpr uint16_t BLUETTI_NAMEPLATE_ID = 0x4C42;
|
||||
static constexpr int BLUETTI_ADV_MAX_DEVICES = 4;
|
||||
static constexpr int BLUETTI_ADV_MAC_LEN = 13; // 12 hex chars + null
|
||||
static constexpr int BLUETTI_ADV_NAME_LEN = 32;
|
||||
|
||||
Reference in New Issue
Block a user