Skip to content
  • 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. Development
  3. [v1.5 API] parentNodeId AUTO?
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

[v1.5 API] parentNodeId AUTO?

Scheduled Pinned Locked Moved Development
3 Posts 2 Posters 944 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.
  • NuubiN Offline
    NuubiN Offline
    Nuubi
    wrote on last edited by
    #1

    Hi there!

    Been struggling with my mailbox sensor radio coverage for a while (tried various radios, antenna modifications etc the normal route to insanity while having lots of fun).

    Now wondering how the radio initialization routine works: if parentNodeId setting is AUTO (the default), does the node find the 'best' parent every time the node is reset/rebooted, or is it merely a one time process?

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

      If it fails transmitting to its parent SEARCH_FAILURES times (default 5) it tries to find a new parent node.

      https://github.com/mysensors/Arduino/blob/a74a2d5debb735662cd5b1b9d030fb462c84ed87/libraries/MySensors/core/MyTransport.h#L27

      https://github.com/mysensors/Arduino/blob/a74a2d5debb735662cd5b1b9d030fb462c84ed87/libraries/MySensors/core/MyTransport.cpp#L327

      1 Reply Last reply
      0
      • NuubiN Offline
        NuubiN Offline
        Nuubi
        wrote on last edited by Nuubi
        #3

        Ahh, thanks!

        I have ack set to false (the last installed sensor version), so this rules out the search function, I assume!

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


        6

        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
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular