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. Domoticz
  4. Mysensors Ethernet GW w5100 problem

Mysensors Ethernet GW w5100 problem

Scheduled Pinned Locked Moved Domoticz
45 Posts 7 Posters 9.7k Views 7 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.
  • mfalkviddM mfalkvidd

    @mrc-core try adding

    #define MY_USE_UDP
    

    at the end of your sketch. You should then get an error saying it is being defined twice. The error message should also say which file and line it was defined on.

    mrc-coreM Offline
    mrc-coreM Offline
    mrc-core
    wrote on last edited by
    #36

    @mfalkvidd said:

    #define MY_USE_UDP

    Ok here's what happens:
    If i mark this line like this //#define MY_GATEWAY_ENC28J60 i can run the skecth with no error.
    If i un mark the line above the skecth gives the error.

    Inserting the line you have told in the end of the sketch i dont get any error if i have the //#define MY_GATEWAY_ENC28J60 marked, otherwise if i don't have this line with // the skecth gives the same error that we are triyng to fix.

    1 Reply Last reply
    0
    • tlpeterT Offline
      tlpeterT Offline
      tlpeter
      wrote on last edited by
      #37

      That is because UDP is enabled, if you uncomment the gateway stuff for the ENC28J60 then it compiles because UDP can be enabled now.

      So remove the comment lines and add #define MY_USE_UDP at the end like suggested.

      1 Reply Last reply
      1
      • mrc-coreM Offline
        mrc-coreM Offline
        mrc-core
        wrote on last edited by
        #38

        Still having error :(

        C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\marco\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\marco\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\marco\Documents\Arduino\libraries" -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10608 -build-path "C:\Users\marco\AppData\Local\Temp\build5e931445a472986892676631252e16b5.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\marco\AppData\Local\Temp\arduino_modified_sketch_600804\gw.ino"
        C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\marco\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\marco\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\marco\Documents\Arduino\libraries" -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10608 -build-path "C:\Users\marco\AppData\Local\Temp\build5e931445a472986892676631252e16b5.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\marco\AppData\Local\Temp\arduino_modified_sketch_600804\gw.ino"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "C:\Users\marco\AppData\Local\Temp\build5e931445a472986892676631252e16b5.tmp\sketch\gw.ino.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "C:\Users\marco\AppData\Local\Temp\build5e931445a472986892676631252e16b5.tmp\sketch\gw.ino.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "C:\Users\marco\AppData\Local\Temp\build5e931445a472986892676631252e16b5.tmp\sketch\gw.ino.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "C:\Users\marco\AppData\Local\Temp\build5e931445a472986892676631252e16b5.tmp\sketch\gw.ino.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src\SPI.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "C:\Users\marco\Documents\Arduino\libraries\UIPEthernet\Dhcp.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "C:\Users\marco\Documents\Arduino\libraries\UIPEthernet\Dns.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "C:\Users\marco\Documents\Arduino\libraries\UIPEthernet\UIPClient.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "C:\Users\marco\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "C:\Users\marco\Documents\Arduino\libraries\UIPEthernet\UIPServer.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "C:\Users\marco\Documents\Arduino\libraries\UIPEthernet\UIPUdp.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "C:\Users\marco\Documents\Arduino\libraries\UIPEthernet\utility\Enc28J60Network.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "C:\Users\marco\Documents\Arduino\libraries\UIPEthernet\utility\clock-arch.c" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "C:\Users\marco\Documents\Arduino\libraries\UIPEthernet\utility\mempool.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "C:\Users\marco\Documents\Arduino\libraries\UIPEthernet\utility\uip.c" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "C:\Users\marco\Documents\Arduino\libraries\UIPEthernet\utility\uip_arp.c" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "C:\Users\marco\Documents\Arduino\libraries\UIPEthernet\utility\uip_debug.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "C:\Users\marco\Documents\Arduino\libraries\UIPEthernet\utility\uip_timer.c" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "C:\Users\marco\AppData\Local\Temp\build5e931445a472986892676631252e16b5.tmp\sketch\gw.ino.cpp" -o "nul"
        "C:\Users\marco\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\cores\arduino" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\variants\standard" "-IC:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI\src" "-IC:\Users\marco\Documents\Arduino\libraries\UIPEthernet" "-IC:\Users\marco\Documents\Arduino\libraries\MySensors" "C:\Users\marco\AppData\Local\Temp\build5e931445a472986892676631252e16b5.tmp\sketch\gw.ino.cpp" -o "C:\Users\marco\AppData\Local\Temp\build5e931445a472986892676631252e16b5.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
        In file included from C:\Users\marco\AppData\Local\Temp\arduino_modified_sketch_600804\gw.ino:50:0:

        C:\Users\marco\Documents\Arduino\libraries\MySensors/MySensors.h:233:5: error: #error UDP mode is not available for ENC28J60

        #error UDP mode is not available for ENC28J60
        
         ^
        

        Using library SPI at version 1.0 in folder: C:\Users\marco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.13\libraries\SPI
        Using library UIPEthernet at version 1.04 in folder: C:\Users\marco\Documents\Arduino\libraries\UIPEthernet
        Using library MySensors at version 2.0.0 in folder: C:\Users\marco\Documents\Arduino\libraries\MySensors
        exit status 1
        Error compiling for board Arduino/Genuino Uno.

        1 Reply Last reply
        0
        • tlpeterT Offline
          tlpeterT Offline
          tlpeter
          wrote on last edited by
          #39

          I see a lot off temp directory so your sketch is not saved in the correct library.
          Open the gateway from the my documents folder:

          C:\Users\Marco\Documents\Arduino\libraries\MySensors-master\examples\GatewayENC28J60

          That is the example i used.

          mrc-coreM 1 Reply Last reply
          0
          • tlpeterT tlpeter

            I see a lot off temp directory so your sketch is not saved in the correct library.
            Open the gateway from the my documents folder:

            C:\Users\Marco\Documents\Arduino\libraries\MySensors-master\examples\GatewayENC28J60

            That is the example i used.

            mrc-coreM Offline
            mrc-coreM Offline
            mrc-core
            wrote on last edited by
            #40

            @tlpeter
            Thanks no more errors on the sketch.

            My new problem is the ENC28J60 i had not notice that i had buy the MINI ENC28J60 having the code uploaded to the arduino i can't ping the GW IP...

            1 Reply Last reply
            0
            • mrc-coreM Offline
              mrc-coreM Offline
              mrc-core
              wrote on last edited by
              #41

              This is my GW with the mini ENC28J60 runing.

              0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
              0;255;3;0;9;TSM:INIT
              0;255;3;0;9;TSM:RADIO:OK
              0;255;3;0;9;TSM:GW MODE
              0;255;3;0;9;TSM:READY
              IP: 10.8.1.201
              0;255;3;0;9;No registration required
              0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
              0;255;3;0;9;Eth: connect
              0;255;3;0;9;Eth: 0;0;3;0;2;
              0;255;3;0;9;Eth: 0;0;3;0;2;Get Version
              0;255;3;0;9;Eth: 0;0;3;0;18;PING
              0;255;3;0;9;Eth: 0;0;3;0;18;PING
              0;255;3;0;9;Eth: 0;0;3;0;18;PING
              0;255;3;0;9;TSP:MSG:READ 5-5-0 s=9,c=1,t=14,pt=2,l=2,sg=0:55
              0;255;3;0;9;TSP:MSG:READ 5-5-0 s=9,c=1,t=14,pt=2,l=2,sg=0:55
              0;255;3;0;9;TSP:MSG:READ 5-5-0 s=9,c=1,t=14,pt=2,l=2,sg=0:55
              0;255;3;0;9;TSP:MSG:READ 5-5-0 s=9,c=1,t=14,pt=2,l=2,sg=0:55
              0;255;3;0;9;Eth: 0;0;3;0;18;PING
              0;255;3;0;9;TSP:MSG:READ 5-5-0 s=9,c=1,t=14,pt=2,l=2,sg=0:55
              0;255;3;0;9;TSP:MSG:READ 5-5-0 s=9,c=1,t=14,pt=2,l=2,sg=0:55
              0;255;3;0;9;TSP:MSG:READ 5-5-0 s=9,c=1,t=14,pt=2,l=2,sg=0:55
              0;255;3;0;9;TSP:MSG:READ 5-5-0 s=9,c=1,t=14,pt=2,l=2,sg=0:55
              0;255;3;0;9;TSP:MSG:READ 5-5-0 s=9,c=1,t=14,pt=2,l=2,sg=0:55

              1 Reply Last reply
              0
              • tlpeterT Offline
                tlpeterT Offline
                tlpeter
                wrote on last edited by tlpeter
                #42

                In your previous example you use pin 14,15 and 16 next to 5 and 6.
                This is what the example on the site says:

                Arduino NRF24L01 Radio Ethernet module
                GND GND GND
                3.3V VCC VCC
                13 SCK SCK
                12 MISO MISO/SO
                11 MOSI MOSI/SI
                10 SS/CS
                6 CSN
                5 CE

                Use the pinout on the gateway example page.

                mrc-coreM 1 Reply Last reply
                0
                • tlpeterT tlpeter

                  In your previous example you use pin 14,15 and 16 next to 5 and 6.
                  This is what the example on the site says:

                  Arduino NRF24L01 Radio Ethernet module
                  GND GND GND
                  3.3V VCC VCC
                  13 SCK SCK
                  12 MISO MISO/SO
                  11 MOSI MOSI/SI
                  10 SS/CS
                  6 CSN
                  5 CE

                  Use the pinout on the gateway example page.

                  mrc-coreM Offline
                  mrc-coreM Offline
                  mrc-core
                  wrote on last edited by
                  #43

                  @tlpeter
                  Ok it's fix i cant ping the gw ip but domoticz can see the new arduino gw.

                  Now at the gw i'm getting this message:
                  0;255;3;0;9;TSP:MSG:READ 192-1-0 s=0,c=0,t=0,pt=0,l=0,sg=0:
                  0;255;3;0;9;!TSP:MSG:PVER mismatch
                  0;255;3;0;9;TSP:MSG:READ 192-1-0 s=0,c=0,t=0,pt=0,l=0,sg=0:
                  0;255;3;0;9;!TSP:MSG:PVER mismatch

                  I don't undestand this mismatch

                  tlpeterT 1 Reply Last reply
                  0
                  • mrc-coreM Offline
                    mrc-coreM Offline
                    mrc-core
                    wrote on last edited by
                    #44

                    Has i can see this GW is not to stable...
                    here's my log over domoticz:

                    2016-08-18 14:48:17.667 MySensors: connected to: 10.8.1.201:5003
                    2016-08-18 14:48:18.669 MySensors: Node: 0, Sketch Name: Ethernet GW
                    2016-08-18 14:48:18.671 MySensors: Node: 0, Sketch Version: 1,0
                    2016-08-18 14:53:23.808 MySensors: Connection reset!
                    2016-08-18 14:53:23.808 TCP: Reconnecting in 30 seconds...
                    2016-08-18 14:53:53.814 TCP: Reconnecting...
                    2016-08-18 14:53:54.816 MySensors: connected to: 10.8.1.201:5003
                    2016-08-18 14:53:55.818 MySensors: Node: 0, Sketch Name: Ethernet GW
                    2016-08-18 14:53:55.820 MySensors: Node: 0, Sketch Version: 1,0
                    2016-08-18 14:54:36.836 MySensors: Node: 3, Sketch Name: TemperatureAndHumidity
                    2016-08-18 14:54:36.839 MySensors: Node: 3, Sketch Version: 1.1

                    Reconnecting isues ???

                    1 Reply Last reply
                    0
                    • mrc-coreM mrc-core

                      @tlpeter
                      Ok it's fix i cant ping the gw ip but domoticz can see the new arduino gw.

                      Now at the gw i'm getting this message:
                      0;255;3;0;9;TSP:MSG:READ 192-1-0 s=0,c=0,t=0,pt=0,l=0,sg=0:
                      0;255;3;0;9;!TSP:MSG:PVER mismatch
                      0;255;3;0;9;TSP:MSG:READ 192-1-0 s=0,c=0,t=0,pt=0,l=0,sg=0:
                      0;255;3;0;9;!TSP:MSG:PVER mismatch

                      I don't undestand this mismatch

                      tlpeterT Offline
                      tlpeterT Offline
                      tlpeter
                      wrote on last edited by
                      #45

                      @mrc-core said:

                      @tlpeter
                      Ok it's fix i cant ping the gw ip but domoticz can see the new arduino gw.

                      Now at the gw i'm getting this message:
                      0;255;3;0;9;TSP:MSG:READ 192-1-0 s=0,c=0,t=0,pt=0,l=0,sg=0:
                      0;255;3;0;9;!TSP:MSG:PVER mismatch
                      0;255;3;0;9;TSP:MSG:READ 192-1-0 s=0,c=0,t=0,pt=0,l=0,sg=0:
                      0;255;3;0;9;!TSP:MSG:PVER mismatch

                      I don't undestand this mismatch

                      I think VER is for version and maybe (a wild guess) the P for protocol???
                      Which version Domoticz are you running? try the latest beta.
                      Is/are your gateway(s) upgraded too?

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


                      12

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.0k

                      Posts


                      Copyright 2019 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