diff --git a/wled00/remote.cpp b/wled00/remote.cpp index 64c668c5..e323d486 100644 --- a/wled00/remote.cpp +++ b/wled00/remote.cpp @@ -37,10 +37,10 @@ void handleRemote(){} typedef struct message_structure { uint8_t program; // 0x91 for ON button, 0x81 for all others uint8_t seq[4]; // Incremental sequence number 32 bit unsigned integer LSB first - uint8_t byte5 = 32; // Unknown + uint8_t dt1 = 32; // Button Data Type (0x20) uint8_t button; // Identifies which button is being pressed - uint8_t byte8 = 1; // Unknown, but always 0x01 - uint8_t byte9 = 100; // Unknown, but always 0x64 + uint8_t dt2 = 1; // Battery Level Data Type (0x01) + uint8_t batLevel = 100; // Battery Level 0-100 uint8_t byte10; // Unknown, maybe checksum uint8_t byte11; // Unknown, maybe checksum