Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit e4c367d

Browse files
authored
v1.0.0 for ESP32 + LwIP ENC28J60
### Initial Releases v1.0.0 1. Initial coding to support **ESP32 boards using LwIP ENC28J60 Ethernet**
1 parent bc15f30 commit e4c367d

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

src/AsyncDNSServer_ESP32_ENC.h

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,23 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/AsyncDNSServer_ESP32_ENC
1010
Licensed under MIT license
1111
12-
Version: 1.1.0
12+
Version: 1.0.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
16-
1.1.0 K Hoang 28/11/2022 Initial coding for ESP32 + LwIP ENC28J60. Sync with AsyncDNSServer_STM32
16+
1.0.0 K Hoang 28/11/2022 Initial coding for ESP32 + LwIP ENC28J60. Sync with AsyncDNSServer_STM32
1717
*****************************************************************************************************************************/
1818

1919
#pragma once
2020

2121
#ifndef AsyncDNSServer_ESP32_ENC_h
2222
#define AsyncDNSServer_ESP32_ENC_h
2323

24-
#define ASYNC_DNS_SERVER_ESP32_ENC_VERSION "AsyncDNSServer_ESP32_ENC v1.1.0"
24+
////////////////////////////////////////////////
25+
26+
#define ASYNC_DNS_SERVER_ESP32_ENC_VERSION "AsyncDNSServer_ESP32_ENC v1.0.0"
27+
28+
////////////////////////////////////////////////
2529

2630
#include <AsyncUDP_ESP32_ENC.h>
2731
#include "AsyncDNSServer_ESP32_ENC_Debug.h"
@@ -30,6 +34,8 @@
3034
#define DNS_QR_RESPONSE 1
3135
#define DNS_OPCODE_QUERY 0
3236

37+
////////////////////////////////////////////////
38+
3339
enum class AsyncDNSReplyCode : unsigned char
3440
{
3541
NoError = 0,
@@ -43,6 +49,8 @@ enum class AsyncDNSReplyCode : unsigned char
4349
NXRRSet = 8
4450
};
4551

52+
////////////////////////////////////////////////
53+
4654
class AsyncDNSServer
4755
{
4856
public:
@@ -69,6 +77,8 @@ class AsyncDNSServer
6977
void replyWithCustomCode(AsyncUDPPacket &packet);
7078
};
7179

80+
////////////////////////////////////////////////
81+
7282
#include "AsyncDNSServer_ESP32_ENC_Impl.h"
7383

7484
#endif // AsyncDNSServer_ESP32_ENC_h

src/AsyncDNSServer_ESP32_ENC_Debug.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/AsyncDNSServer_ESP32_ENC
1010
Licensed under MIT license
1111
12-
Version: 1.1.0
12+
Version: 1.0.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
16-
1.1.0 K Hoang 28/11/2022 Initial coding for ESP32 + LwIP ENC28J60. Sync with AsyncDNSServer_STM32
16+
1.0.0 K Hoang 28/11/2022 Initial coding for ESP32 + LwIP ENC28J60. Sync with AsyncDNSServer_STM32
1717
*****************************************************************************************************************************/
1818

1919
#pragma once

src/AsyncDNSServer_ESP32_ENC_Impl.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/AsyncDNSServer_ESP32_ENC
1010
Licensed under MIT license
1111
12-
Version: 1.1.0
12+
Version: 1.0.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
16-
1.1.0 K Hoang 28/11/2022 Initial coding for ESP32 + LwIP ENC28J60. Sync with AsyncDNSServer_STM32
16+
1.0.0 K Hoang 28/11/2022 Initial coding for ESP32 + LwIP ENC28J60. Sync with AsyncDNSServer_STM32
1717
*****************************************************************************************************************************/
1818

1919
#pragma once
@@ -28,6 +28,7 @@ extern "C"
2828
#include <lwip/def.h>
2929
};
3030

31+
////////////////////////////////////////////////
3132

3233
namespace
3334
{

0 commit comments

Comments
 (0)