- Feature 1: Remote Battery Monitoring & Low-Battery LED Alert (Closes #5) * Parse BLE Battery Service (0x180F) & Characteristic (0x2A19) with notifications and polling * Double-pulse white LED blink on onboard NeoPixel when battery <= 15% * Display real-time battery percentage in Web UI status bar and BLE tab - Feature 2: Wake-on-LAN (WOL) & Advanced Actions Architecture (Closes #1) * Implement UDP broadcast WOL Magic Packet builder and sender (ACTION_WOL = 11) * Support MAC parsing in colon, dash, or 12-char hex formats, with port configuration * Add 'Advanced Extension' mode in Keymap UI with WOL tester and placeholders for Macro, Webhook, and MQTT * Persist wol_mac in NVS and handle immediate trigger on keypress - Docs: Update README.md and ROADMAP.md reflecting new features and future plans - Build: Update prebuilt firmware binaries in RemoteMapper-Flasher/bin
19 lines
420 B
C
19 lines
420 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
bool wol_manager_parse_mac(const char* mac_str, uint8_t out_mac[6]);
|
|
void wol_manager_mac_to_str(const uint8_t mac[6], char* out_str, size_t out_size);
|
|
bool wol_manager_send(const uint8_t mac[6], uint16_t port);
|
|
bool wol_manager_send_str(const char* mac_str, uint16_t port);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|