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. General Discussion
  3. Repeater and the routing

Repeater and the routing

Scheduled Pinned Locked Moved General Discussion
5 Posts 4 Posters 2.6k Views 4 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.
  • Sander StolkS Offline
    Sander StolkS Offline
    Sander Stolk
    wrote on last edited by
    #1

    Is there an option to make a route mandatory so that a radio always sends through a specific repeater?

    I've got the gateway with a external antenna (1) and then a normal radio as a repeater with a relay (2) and a repeater with normal radio between 1 and 2 but the signal is not always received by the gateway or vise versa.

    Is there an option that node 2 always sends through the repeater in between?

    I'm not very satisfied with normal radio's being repeaters because the interference is too high or something other is happening. The range of normal radio's is not very big.
    I've got a poor mans radio scanner active but I'm in the clear with, I believe, the default channel 76. Correct me if I'm worng!

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

      Yes, you can set a static parent. See api for gw.begin().

      1 Reply Last reply
      0
      • Sander StolkS Offline
        Sander StolkS Offline
        Sander Stolk
        wrote on last edited by Sander Stolk
        #3

        Starting up the library
        To initialize radio and start the library, you must call begin(). Begin initializes the sensor node but you can also configure the sensor node operating parameters manually. Call this before anything else in the library

        void begin(void (*_msgCallback)(const MyMessage &), uint8_t nodeId, boolean repeaterMode,
        uint8_t parentNodeId);
        incomingMessageCallback - Callback function for incoming messages from other nodes or controller and request responses. Default is NULL.
        nodeId - The unique id (1-254) for this sensor. Default is AUTO(255) which means sensor tries to fetch an id from controller.
        repeaterMode - Activate repeater mode. This node will forward messages to other nodes in the radio network. Make sure to call process() regularly. Default in false
        parentNodeId - Use this to force node to always communicate with a certain parent node. Default is AUTO which means node automatically tries to find a parent.

        Nice!
        So gw.begin(NULL,4,true,3) is node 4 with repeater mode on and parent 3? Cool!

        1 Reply Last reply
        1
        • jeylitesJ Offline
          jeylitesJ Offline
          jeylites
          wrote on last edited by
          #4

          Should a Repeater have it's on ID or the same ID as the NODE that it's repeating?

          GertSandersG 1 Reply Last reply
          0
          • jeylitesJ jeylites

            Should a Repeater have it's on ID or the same ID as the NODE that it's repeating?

            GertSandersG Offline
            GertSandersG Offline
            GertSanders
            Hardware Contributor
            wrote on last edited by
            #5

            @jeylites
            It should have it's own ID.
            ID = 0 is reserved for the gateway. There can be only 1 gateway for a specific frequency.
            If a controller allows several hardware to connect, you can have more then 1 gateway, but tgese should each have their own frequency.

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


            9

            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