Skip to content

Commit

Permalink
Updated referenced to the EtherCard repository
Browse files Browse the repository at this point in the history
  • Loading branch information
njh committed Jul 27, 2018
1 parent 1233274 commit bd4c3c4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -19,7 +19,7 @@ The documentation for this library is at http://jeelabs.net/pub/docs/ethercard/.
* Arduino Nano/Pro/Fio/Pro-mini/LiliPad/Duemilanove
* Any other Arduino clone using an AVR microcontroller should work
* Hardware: Non-AVR boards are **NOT** currently supported (101/Zero/Due)
[#211](https://github.com/jcw/ethercard/issues/211#issuecomment-255011491)
[#211](https://github.com/njh/EtherCard/issues/211#issuecomment-255011491)
* Hardware: Depending on the size of the buffer for packets, this library
uses about 1k of Arduino RAM. Large strings and other global variables
can easily push the limits of smaller microcontrollers.
Expand All @@ -30,7 +30,7 @@ The documentation for this library is at http://jeelabs.net/pub/docs/ethercard/.

## Library Installation

1. Download the ZIP file from https://github.com/jcw/ethercard/archive/master.zip
1. Download the ZIP file from https://github.com/njh/EtherCard/archive/master.zip
2. Rename the downloaded file to `ethercard.zip`
3. From the Arduino IDE: Sketch -> Include Library... -> Add .ZIP Library...
4. Restart the Arduino IDE to see the new "EtherCard" library with examples
Expand Down Expand Up @@ -63,9 +63,9 @@ For questions and help, see the [forums][F] (at JeeLabs.net).
The issue tracker has been moved back to [Github][I] again.

[F]: http://jeelabs.net/projects/cafe/boards
[I]: https://github.com/jcw/ethercard/issues
[S]: https://travis-ci.org/jcw/ethercard.svg
[T]: https://travis-ci.org/jcw/ethercard
[I]: https://github.com/njh/EtherCard/issues
[S]: https://travis-ci.org/njh/EtherCard.svg
[T]: https://travis-ci.org/njh/EtherCard

## Related Work

Expand Down
4 changes: 2 additions & 2 deletions docu.dox
Expand Up @@ -23,9 +23,9 @@ Adapted and extended from code written by Guido Socher and Pascal Stang.

The documentation for this library is at http://jeelabs.net/pub/docs/ethercard/

The code is available on GitHub, at https://github.com/jcw/ethercard - to install:
The code is available on GitHub, at https://github.com/njh/EtherCard - to install:

Download the ZIP file from https://github.com/jcw/ethercard/archive/master.zip
Download the ZIP file from https://github.com/njh/EtherCard/archive/master.zip
From the Arduino IDE: Sketch -> Import Library... -> Add Library...
Restart the Arduino IDE to see the new "EtherCard" library with examples
See the comments in the example sketches for details about how to try them out.
Expand Down
2 changes: 1 addition & 1 deletion examples/ntpClient/ntpClient.ino
Expand Up @@ -15,7 +15,7 @@
*/

#include <EtherCard.h> // https://github.com/jcw/ethercard
#include <EtherCard.h> // https://github.com/njh/EtherCard

// Ethernet mac address - must be unique on your network
const byte myMac[] PROGMEM = { 0x70, 0x69, 0x69, 0x2D, 0x30, 0x31 };
Expand Down
2 changes: 1 addition & 1 deletion library.json
Expand Up @@ -25,7 +25,7 @@
"repository":
{
"type": "git",
"url": "https://github.com/jcw/ethercard.git"
"url": "https://github.com/njh/EtherCard.git"
},
"frameworks": "arduino",
"platforms": "atmelavr"
Expand Down
2 changes: 1 addition & 1 deletion tcpip.cpp
Expand Up @@ -380,7 +380,7 @@ void EtherCard::udpPrepare (uint16_t sport, const uint8_t *dip, uint16_t dport)
setMACandIPs(gwmacaddr, dip);
}
// see http://tldp.org/HOWTO/Multicast-HOWTO-2.html
// multicast or broadcast address, https://github.com/jcw/ethercard/issues/59
// multicast or broadcast address, https://github.com/njh/EtherCard/issues/59
if ((dip[0] & 0xF0) == 0xE0 || *((unsigned long*) dip) == 0xFFFFFFFF || !memcmp(broadcastip,dip,IP_LEN))
EtherCard::copyMac(gPB + ETH_DST_MAC, allOnes);
gPB[ETH_TYPE_H_P] = ETHTYPE_IP_H_V;
Expand Down

0 comments on commit bd4c3c4

Please sign in to comment.