mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-11-28 16:46:21 +00:00
included ip method and connection in config
This commit is contained in:
parent
04b605b7d4
commit
fb142d0491
4 changed files with 38 additions and 45 deletions
|
|
@ -14,6 +14,7 @@ enum IpMethod
|
|||
Static,
|
||||
DHCP
|
||||
};
|
||||
const uint8_t IP_METHOD_SIZE = 2;
|
||||
|
||||
enum Connection
|
||||
{
|
||||
|
|
@ -21,16 +22,20 @@ enum Connection
|
|||
WiFiAP,
|
||||
Ethernet
|
||||
};
|
||||
const uint8_t CONNECTION_SIZE = 3;
|
||||
|
||||
enum Direction
|
||||
{
|
||||
Input,
|
||||
Output
|
||||
Output,
|
||||
Input
|
||||
};
|
||||
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue