Step by step (guide) to enable nodes as repeaters



  • Moin,
    as I am struggling with the range of my nodes, I thought it is a must to enable them as repeaters when not running on batteries.
    I am a bit confused as I found different settings in forum compared to the API documentation.

    EDIT (after clarification): this is for code prior 2.0 release:
    In API it says it needs 3 steps:

    • Enable repeater-mode in gw.begin();
      gw.begin(NULL, AUTO, true)
    • Keep node awake all time (no slepping!)
    • calling process() in your loop()

    EDIT: this is for code from release 2.0 onwards:
    What I also found is a definition
    #define MY_REPEATER_FEATURE

    ~~So, what is that all about? ~~

    Thank you and best Regards,
    SJ


    Log in to reply
     

  • Admin

    @parachutesj

    #define MY_REPEATERFEATURE is for 2.0.0 branch, as all the c++ and classes stuff has been stripped out, to reduce overall size of the core library

    That means, for 1.5 you need to use gw.begin(..) to enable repeater mode, and for 2.0 you add the #define..


Log in to reply
 

1 out of 2

Suggested Topics


  • Announcements   24 Mar 2014, 20:12

    3

  • Troubleshooting   26 Feb 2025, 06:22

    3

  • Troubleshooting   17 days ago

    12
  • 2

  • Troubleshooting   29 Aug 2024, 20:47

    6

  • Troubleshooting   3 Sept 2024, 08:58

    2

23
Online

11.5k
Users

11.1k
Topics

112.8k
Posts