Support for ESP-NOW Wireless Remote Control (#3237)
* Initial checkin for ESP-NOW remote feature * cleanup irrelevant comment * don't bring in espnow package includes when feature disabled * Formatting and removing inaccurate call mode hardcoding * Fork ESP Now code by platform (8266 v. esp32) * compiled html update * Disable ESP-NOW remote by default on ESP32 until tested * Enable ESP-NOW remote for ESP32 * Rename ESP NOW define --------- Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
This commit is contained in:
@@ -200,12 +200,16 @@ void serializePlaylist(JsonObject obj);
|
||||
void initPresetsFile();
|
||||
void handlePresets();
|
||||
bool applyPreset(byte index, byte callMode = CALL_MODE_DIRECT_CHANGE);
|
||||
void applyPresetWithFallback(uint8_t presetID, uint8_t callMode, uint8_t effectID = 0, uint8_t paletteID = 0);
|
||||
inline bool applyTemporaryPreset() {return applyPreset(255);};
|
||||
void savePreset(byte index, const char* pname = nullptr, JsonObject saveobj = JsonObject());
|
||||
inline void saveTemporaryPreset() {savePreset(255);};
|
||||
void deletePreset(byte index);
|
||||
bool getPresetName(byte index, String& name);
|
||||
|
||||
//remote.cpp
|
||||
void handleRemote();
|
||||
|
||||
//set.cpp
|
||||
bool isAsterisksOnly(const char* str, byte maxLen);
|
||||
void handleSettingsSet(AsyncWebServerRequest *request, byte subPage);
|
||||
|
||||
Reference in New Issue
Block a user