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


  • 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
 

Suggested Topics

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts