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. Troubleshooting
  3. Debug findParent
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Debug findParent

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 926 Views 2 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.
  • T Offline
    T Offline
    tomkxy
    wrote on last edited by
    #1

    I have a gateway which already has 6 nodes hooked up. One of the nodes is a repeater.
    I am trying to hook up a new node which does not find its parent.

    Starting sensor (RNNNAA, 2.0.0-beta)
    write register, reg=0, value=6
    write register, reg=3, value=3
    write register, reg=4, value=95
    write register, reg=5, value=124
    write register, reg=6, value=39
    read register, reg=6, value=39
    write register, reg=16, value=115
    write register, reg=29, value=6
    write register, reg=2, value=2
    write register, reg=1, value=0
    write register, reg=28, value=3
    flushRX
    flushTX
    write register, reg=7, value=112
    Radio init successful.
    find parent
    stop listening
    write register, reg=0, value=6
    open writing pipe, recipient=255
    write register, reg=10, value=255
    write register, reg=16, value=255
    send message to 255, len=7
    flushTX
    write register, reg=7, value=48
    start listening
    write register, reg=0, value=7
    send: 32-32-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    find parent
    stop listening
    write register, reg=0, value=6
    open writing pipe, recipient=255
    write register, reg=10, value=255
    write register, reg=16, value=255
    send message to 255, len=7
    flushTX
    write register, reg=7, value=48
    start listening
    write register, reg=0, value=7
    send: 32-32-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    

    From the log above you can see that it does not find its parent.
    How can I debug that?

    In particular, I am interested whether I should see that the gateway receives the "broadcast" message although it is already serving six nodes? From the log I do not see any message being received at the gateway.

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

      The broadcast should vi visible in the debug log of the gateway or repeater (if i hears it).

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tomkxy
        wrote on last edited by
        #3

        @hek: Thanks! It's working now. I was confused by another issue, a call to requestTime in the setup routine which seems not going out.

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


        8

        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