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. Controllers
  3. Vera
  4. Error Compiling Ethernet Gateway

Error Compiling Ethernet Gateway

Scheduled Pinned Locked Moved Vera
12 Posts 4 Posters 6.0k 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.
  • clippermiamiC Offline
    clippermiamiC Offline
    clippermiami
    Hero Member
    wrote on last edited by
    #3

    Well, Duh :-)

    clippermiamiC 1 Reply Last reply
    0
    • clippermiamiC clippermiami

      Well, Duh :-)

      clippermiamiC Offline
      clippermiamiC Offline
      clippermiami
      Hero Member
      wrote on last edited by
      #4

      @clippermiami
      That was a copy/paste error --- the actual line was and is:

      #define IP_PORT          5001  // The port you want to open 20140404 JRS
      IPAddress myIp (192, 168, 15, 118);  // Configure your static ip-address here 20140404 JRS
      

      And I still get the error in compile IPAddress does not name a type

      This is the Ethernet Gateway code as downloaded from the site, the only change is to substitute the port number and the IP address fields

      hekH 1 Reply Last reply
      0
      • clippermiamiC clippermiami

        @clippermiami
        That was a copy/paste error --- the actual line was and is:

        #define IP_PORT          5001  // The port you want to open 20140404 JRS
        IPAddress myIp (192, 168, 15, 118);  // Configure your static ip-address here 20140404 JRS
        

        And I still get the error in compile IPAddress does not name a type

        This is the Ethernet Gateway code as downloaded from the site, the only change is to substitute the port number and the IP address fields

        hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #5

        @clippermiami

        Are you using the ENC-module or WizNet?

        If ENC, Try removing the src-folder from the UIPEthernet-library.

        clippermiamiC 1 Reply Last reply
        0
        • hekH hek

          @clippermiami

          Are you using the ENC-module or WizNet?

          If ENC, Try removing the src-folder from the UIPEthernet-library.

          clippermiamiC Offline
          clippermiamiC Offline
          clippermiami
          Hero Member
          wrote on last edited by
          #6

          @hek
          The ENC module so i'll try your suggestion today and reply when I have results

          1 Reply Last reply
          0
          • clippermiamiC Offline
            clippermiamiC Offline
            clippermiami
            Hero Member
            wrote on last edited by
            #7

            UIPEthernet

            I removed the "src" folder and still got the same error "IPAddress does not name a type"

            #define IP_PORT 5001 // The port you want to open
            IPAddress myIp (192, 168, 015, 118); // Configure your static ip-address here

            hekH 1 Reply Last reply
            0
            • clippermiamiC clippermiami

              UIPEthernet

              I removed the "src" folder and still got the same error "IPAddress does not name a type"

              #define IP_PORT 5001 // The port you want to open
              IPAddress myIp (192, 168, 015, 118); // Configure your static ip-address here

              hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #8

              IPAddress does not name a type

              @clippermiami

              You must have done something wrong when installing the libraries. It works fine for me.

              1 Reply Last reply
              0
              • clippermiamiC Offline
                clippermiamiC Offline
                clippermiami
                Hero Member
                wrote on last edited by
                #9

                Well, I'll reinstall then and get back to you. Thanks

                T 1 Reply Last reply
                0
                • clippermiamiC clippermiami

                  Well, I'll reinstall then and get back to you. Thanks

                  T Offline
                  T Offline
                  tigra
                  wrote on last edited by tigra
                  #10

                  @clippermiami I had the same issue when the libraries weren't in place. See the steps at: http://www.mysensors.org/build/arduino

                  clippermiamiC 1 Reply Last reply
                  0
                  • T tigra

                    @clippermiami I had the same issue when the libraries weren't in place. See the steps at: http://www.mysensors.org/build/arduino

                    clippermiamiC Offline
                    clippermiamiC Offline
                    clippermiami
                    Hero Member
                    wrote on last edited by
                    #11

                    @tigra I got it working and in my excitement I forgot to follow up here. :)

                    I don't have the Ethernet Gateway working but the Serial one is running along with a single DHT sensor for now so I'm happy :)

                    john

                    ? 1 Reply Last reply
                    0
                    • clippermiamiC clippermiami

                      @tigra I got it working and in my excitement I forgot to follow up here. :)

                      I don't have the Ethernet Gateway working but the Serial one is running along with a single DHT sensor for now so I'm happy :)

                      john

                      ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #12

                      does someone solved this fault also for Ethernet Gateway? While trying to adapt Sensebender Gateway to Ethernet, I get following messages:
                      error: 'IPAddress' does not name a type IPAddress _ethernetGatewayIP(MY_IP_ADDRESS);
                      error: 'EthernetServer' does not name a type
                      EthernetServer _ethernetServer(_ethernetGatewayPort);

                      followed by some more, expected to result from the above mentioned.

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


                      11

                      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