#53 FB_EoN: PublishNodeBirth

MVP EoN
closed
aliazzz
None
2020-09-14
2020-09-12
i-campbell
No

copy paste edit error around FB_Edge_Of_Network_Node.PublishNodeBirth line 22-24.
NBIRTHTopic := WCONCAT( SPARKPLUGB, GroupId);
NBIRTHTopic := WCONCAT( _LastWillTopic, NODE_BIRTH_TOPIC);
NBIRTHTopic := WCONCAT( _LastWillTopic, FW_SLASH);
NBIRTHTopic := WCONCAT( _LastWillTopic, NodeName);
_LastWillTopic should be NBIRTHTopic

Additionally, as NODE_BIRTH_TOPIC := "/NBIRTH/" you don't need the line with FW_SLASH (otherwise it becomes spBv1.0/NBIRTH//myNodeName

Related

Tickets: #54

Discussion

  • i-campbell

    i-campbell - 2020-09-12
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,3 +4,5 @@
     NBIRTHTopic   := WCONCAT( **_LastWillTopic**, FW_SLASH);
     NBIRTHTopic   := WCONCAT( **_LastWillTopic**, NodeName);
     _LastWillTopic should be NBIRTHTopic
    +
    +Additionally, as NODE_BIRTH_TOPIC := "/NBIRTH/" you don't need the line with FW_SLASH (otherwise it becomes spBv1.0/NBIRTH//myNodeName
    
     
  • aliazzz

    aliazzz - 2020-09-12

    fixed in v0.0.0.21

     
  • aliazzz

    aliazzz - 2020-09-12
    • labels: EoN, Bug -->
    • status: open --> closed
     

Log in to post a comment.