Project Name
                
            

Share this library with your friends on your favorite profile:


Examples

  • 2016-05-19 tzikis

    Hi Ed1960, can you please make a request for this at http://feedback.codebender....

    Thanks!

  • 2016-05-18 Ed1960

    It seems that the ethercard library is not up to date.
    compare for onstance the following sections: (class EtherCard : public Ethernet)
    Your version
    -----------------
    static uint8_t mymac[6]; // my MAC address
    static uint8_t myip[4]; // my ip address
    static uint8_t mymask[4]; // my net mask
    static uint8_t gwip[4]; // gateway
    static uint8_t dhcpip[4]; // dhcp server
    static uint8_t dnsip[4]; // dns server
    static uint8_t hisip[4]; // dns result
    static uint16_t hisport; // tcp port to connect to (default 80)
    static bool using_dhcp; // whether dhcp is active or not
    static bool persist_tcp_connection; // whether to break connections on first packet received

    Most recent Jeelab version:
    ------------------------------------
    static uint8_t mymac[6]; ///< MAC address
    static uint8_t myip[4]; ///< IP address
    static uint8_t netmask[4]; ///< Netmask ******* different name
    static uint8_t broadcastip[4]; ///< Subnet broadcast address ******** added
    static uint8_t gwip[4]; ///< Gateway
    static uint8_t dhcpip[4]; ///< DHCP server IP address
    static uint8_t dnsip[4]; ///< DNS server IP address
    static uint8_t hisip[4]; ///< DNS lookup result
    static uint16_t hisport; ///< TCP port to connect to (default 80)
    static bool using_dhcp; ///< True if using DHCP
    static bool persist_tcp_connection; ///< False to break connections on first packet received
    static uint16_t delaycnt; ///< Counts number of cycles of packetLoop when no packet received - used to trigger periodic gateway ARP request ******added

  • 2015-11-19 codebender

    This library and its examples were tested on 2016-06-11 with common Arduino boards. For more detailed information about the test results, please look at each example's comments.