Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Bug Reports
  3. Errors compiling EthernetGateway with <UIPEternet.h>

Errors compiling EthernetGateway with <UIPEternet.h>

Scheduled Pinned Locked Moved Bug Reports
15 Posts 7 Posters 10.4k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rafael.brasilia
    wrote on last edited by
    #6

    I had the same problem and solved it by replacing the contents of your UIPEthernet library folder with this:
    https://github.com/ntruchsess/arduino_uip

    1 Reply Last reply
    0
    • sowardS Offline
      sowardS Offline
      soward
      wrote on last edited by
      #7

      FWIW, Replacing the UIPE library with the current version from github and using the current 1.5.7b IDE seems to be working fine for me here.

      You will have to edit UIPEthernet/utility/uipethernet-conf.h and change #define UIP_CONF_UDP to be 0 (line 9), or it will not fit in the available memory.

      Also remember you will have to restart the IDE after changing the libraries.

      I have not had it running very long, but have blasted loads of commands through it and it seems to be stable so far, using it with a current nano and the NRF24L01+PA+LNA radio, powered via USB.

      1 Reply Last reply
      0
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #8

        Thanks for verifying @soward.

        I'll update the supplied UIP library.

        1 Reply Last reply
        0
        • N Offline
          N Offline
          ntruchsess
          Plugin Developer
          wrote on last edited by
          #9

          Just to let you know, I've released UIPEthernet Version 1.09 / 1.59: https://github.com/ntruchsess/arduino_uip/releases. This release contains both a fix for a condition that caused the ENC28J60 chip to freeze and an improvement that reduces timer-induced latency from 250ms to 10ms aprox.

          Another hint when compiling Ethernet-gateway with UIPEthernet:

          Set UIP_CONF_UDP 0 greatly reduces flash memory footprint by not including UDP-code (has been mentioned in this thread before)

          Reduce UIP_CONF_MAX_CONNECTIONS will lower RAM-usage. As Ethernet-Gateway works as Server with only a single Client that stays connected to the gateway configuring a value of 1 should work fine.

          • Norbert
          hekH 1 Reply Last reply
          0
          • N ntruchsess

            Just to let you know, I've released UIPEthernet Version 1.09 / 1.59: https://github.com/ntruchsess/arduino_uip/releases. This release contains both a fix for a condition that caused the ENC28J60 chip to freeze and an improvement that reduces timer-induced latency from 250ms to 10ms aprox.

            Another hint when compiling Ethernet-gateway with UIPEthernet:

            Set UIP_CONF_UDP 0 greatly reduces flash memory footprint by not including UDP-code (has been mentioned in this thread before)

            Reduce UIP_CONF_MAX_CONNECTIONS will lower RAM-usage. As Ethernet-Gateway works as Server with only a single Client that stays connected to the gateway configuring a value of 1 should work fine.

            • Norbert
            hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by hek
            #10

            Welcome @ntruchsess,
            great to see you here and the effort you've put into the UIPLibrary.

            Thanks for the hints!

            I'll update the bundled UIP-library ASAP.

            1 Reply Last reply
            0
            • hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #11

              @ntruchsess said:

              https://github.com/ntruchsess/arduino_uip/releases

              BTW.... is there any way to have a combined version for both the 1.0 and 1.5 version of the IDE. People tends to get confused about this.

              1 Reply Last reply
              0
              • N Offline
                N Offline
                ntruchsess
                Plugin Developer
                wrote on last edited by
                #12

                As long you intent to support both 1.0 and 1.5 IDE you should stay with UIPEthernet 1.0.9 as latest 1.5.x IDE fully supports 1.0 library format. 1.59 is suitable if you intent to compile for Arduino DUE (or YUN but that is another story unrelated to UIPEthernet).

                If you have any suggestions how this could be improved please let me know. I'm not very happy with this situation either. Eventually Arduino 1.5.x will overcome beta phase so 1.0.x IDE will become deprecated, but for now it seems we have to live with it.

                BTW: I've written a MySensors-module for FHEM: http://forum.fhem.de/index.php/topic,26807.msg210234.html#msg210234

                1 Reply Last reply
                0
                • hekH Offline
                  hekH Offline
                  hek
                  Admin
                  wrote on last edited by
                  #13

                  Ok, I'll switch back to the 1.0.9 version then.

                  BTW: I've written a MySensors-module for FHEM

                  Ohh.. sweet! I would be happy adding a page on www.mysensors.org when you and @hexenmeister feel ready.

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    hexenmeister
                    wrote on last edited by
                    #14

                    The FHEM module by @ntruchsess works well.
                    Tested with humidity- and relay sketch (with serial gateway). I'm still testing. ;)

                    1 Reply Last reply
                    0
                    • hekH Offline
                      hekH Offline
                      hek
                      Admin
                      wrote on last edited by
                      #15

                      Sounds great!

                      Could perhaps you provide a few screenshots and FHEM key features by email to me?

                      You can use one of the other pages as a template. E.g. http://www.mysensors.org/build/pidome

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      14

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.1k

                      Posts


                      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • MySensors
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular