This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Major Releases v1.6.0 1. Add support to [QNEthernet Library](https://github.com/ssilverman/QNEthernet) for Teensy 4.1 built-in Ethernet 2. Update examples with new features
- Loading branch information
1 parent
039dc73
commit 0de4d5e
Showing
40 changed files
with
2,840 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/**************************************************************************************************************************** | ||
Credentials.h | ||
For W5x00, LAN8720 and ENC28J60 Ethernet shields. | ||
Ethernet_Manager is a library for nRF52, Teensy, STM32, SAM DUE and SAMD boards, with Ethernet W5x00, LAN8720 or ENC28J60 shields, | ||
to enable easy configuration/reconfiguration of Credentials and autoconnect/autoreconnect of Ethernet. | ||
AVR Mega is not supported. | ||
Built by Khoi Hoang https://github.com/khoih-prog/Ethernet_Manager | ||
Licensed under MIT license | ||
*****************************************************************************************************************************/ | ||
|
||
#ifndef Credentials_h | ||
#define Credentials_h | ||
|
||
#include "defines.h" | ||
|
||
/// Start Default Config Data ////////////////// | ||
|
||
/* | ||
typedef struct Configuration | ||
{ | ||
char header [16]; | ||
char static_IP [16]; | ||
char board_name [24]; | ||
int checkSum; | ||
} Ethernet_Configuration; | ||
*/ | ||
|
||
#define TO_LOAD_DEFAULT_CONFIG_DATA true | ||
|
||
#if TO_LOAD_DEFAULT_CONFIG_DATA | ||
|
||
bool LOAD_DEFAULT_CONFIG_DATA = false; | ||
|
||
Ethernet_Configuration defaultConfig = | ||
{ | ||
//char header[16], dummy, not used | ||
#if USE_SSL | ||
"Eth_SSL", | ||
#else | ||
"Eth_NonSSL", | ||
#endif | ||
|
||
// char static_IP [16]; | ||
//"192.168.2.230", | ||
// Use dynamic DHCP IP | ||
"", | ||
//char board_name [24]; | ||
"nRF52-Ethernet", | ||
// terminate the list | ||
//int checkSum, dummy, not used | ||
0 | ||
/////////// End Default Config Data ///////////// | ||
}; | ||
|
||
#else | ||
|
||
bool LOAD_DEFAULT_CONFIG_DATA = false; | ||
|
||
Ethernet_Configuration defaultConfig; | ||
|
||
#endif // TO_LOAD_DEFAULT_CONFIG_DATA | ||
|
||
/////////// End Default Config Data ///////////// | ||
|
||
#endif //Credentials_h |
Oops, something went wrong.