mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-11-28 16:46:21 +00:00
moved loading of config to request handler
This commit is contained in:
parent
fb142d0491
commit
366585b263
3 changed files with 35 additions and 49 deletions
|
|
@ -31,19 +31,7 @@ enum Direction
|
|||
};
|
||||
const uint8_t DIRECTION_SIZE = 2;
|
||||
|
||||
void onGetConfig(
|
||||
Connection connection,
|
||||
String ssid,
|
||||
String pwd,
|
||||
IpMethod ipMethod,
|
||||
uint32_t ip,
|
||||
uint32_t subnet,
|
||||
uint32_t gateway,
|
||||
uint8_t universe1,
|
||||
Direction direction1,
|
||||
uint8_t universe2,
|
||||
Direction direction2,
|
||||
AsyncWebServerRequest *request);
|
||||
void onGetConfig(Preferences config, AsyncWebServerRequest *request);
|
||||
|
||||
void onPutConfig(AsyncWebServerRequest *request, uint8_t *data, size_t len, size_t index, size_t total);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue