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. Troubleshooting
  3. Error while compiling the Ethernet Gateway

Error while compiling the Ethernet Gateway

Scheduled Pinned Locked Moved Troubleshooting
ethernet gateway
6 Posts 3 Posters 1.3k Views 3 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.
  • alexsh1A Offline
    alexsh1A Offline
    alexsh1
    wrote on last edited by alexsh1
    #1

    Hello,

    I tried to change a few options and now I cannot compile the gateway with "#define WITH_LEDS_BLINKING" in MyConfig.h:

    del:109: error: no matching function for call to 'MySensor::MySensor(MyTransportNRF24&, MyHwATMega328&, int, int, int)'
    
     MySensor gw(transport, hw /*, signer*/, RADIO_RX_LED_PIN, RADIO_TX_LED_PIN, RADIO_ERROR_LED_PIN);
    

    If I disable it, it complies fine. Any idea what the problem may be? I am using Arduino 1.6.7 on Windows

    1 Reply Last reply
    0
    • ausbremenA Offline
      ausbremenA Offline
      ausbremen
      wrote on last edited by
      #2

      Hello,

      I have almost the same error when compiling ValloxSensor:

      ValloxSensor:351: error: no matching function for call to 'MySensor::MySensor(int, int)'

      MySensor gw(CE_PIN, CS_PIN);

                             ^
      

      Propably the library has changed?

      1 Reply Last reply
      0
      • alexsh1A Offline
        alexsh1A Offline
        alexsh1
        wrote on last edited by
        #3

        This only happens when #define WITH_LEDS_BLINKING" in MyConfig.h is set.
        Maybe @hek can help?

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

          I doubt we'll do any patches in 1.5 now.

          I suggest you make the jump to the development branch. It's soon ready for release.

          1 Reply Last reply
          0
          • alexsh1A alexsh1

            This only happens when #define WITH_LEDS_BLINKING" in MyConfig.h is set.
            Maybe @hek can help?

            ausbremenA Offline
            ausbremenA Offline
            ausbremen
            wrote on last edited by
            #5

            @alexsh1
            in MyConfig.h #define WITH_LEDS_BLINKING" is commented out :(

            /**********************************

            • Information LEDs blinking
              ***********************************/
              // This feature enables LEDs blinking on message receive, transmit
              // or if some error occured. This was commonly used only in gateways,
              // but now can be used in any sensor node. Also the LEDs can now be
              // disabled in the gateway.

            // #define WITH_LEDS_BLINKING

            // The following setting allows you to inverse the blinking feature WITH_LEDS_BLINKING
            // When WITH_LEDS_BLINKING_INVERSE is enabled LEDSs are normally turned on and switches
            // off when blinking

            //#define WITH_LEDS_BLINKING_INVERSE

            1 Reply Last reply
            0
            • alexsh1A Offline
              alexsh1A Offline
              alexsh1
              wrote on last edited by
              #6

              In this case I do not understand.

              Perhaps, @hek is right. I have updated a few nodes to v2, but the GW was still v1.5.2
              The problem is that I do want signing and with all debug options, I just cannot get 36Kb compiled on my Arduino Uno (GW).

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


              16

              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