Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demystified some byte definitions of WiZmote ESP-NOW message #4114

Merged
merged 1 commit into from
Aug 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions wled00/remote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
typedef struct WizMoteMessageStructure {
uint8_t program; // 0x91 for ON button, 0x81 for all others
uint8_t seq[4]; // Incremetal sequence number 32 bit unsigned integer LSB first
uint8_t byte5; // Unknown (seen 0x20)
uint8_t dt1; // Button Data Type (0x32)
uint8_t button; // Identifies which button is being pressed
uint8_t byte8; // Unknown, but always 0x01
uint8_t byte9; // Unnkown, but always 0x64

uint8_t dt2; // Battery Level Data Type (0x01)
uint8_t batLevel; // Battery Level 0-100
uint8_t byte10; // Unknown, maybe checksum
uint8_t byte11; // Unknown, maybe checksum
uint8_t byte12; // Unknown, maybe checksum
Expand Down Expand Up @@ -225,4 +225,4 @@ void handleRemote(uint8_t *incomingData, size_t len) {

#else
void handleRemote(uint8_t *incomingData, size_t len) {}
#endif
#endif