#51 EoN: EON.PublishBirth() calls publish() twice

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

EON.PublishBirth() calls _MQTT.publish() twice.
publish() only sets the inputs to _Publisher, it is not until _MQTT() is called that the message is published with a call to _Publisher().

Either have some sort of state machine to
1. Connect
2. Publish NBirth
3. Publish DBirth

Or have two publishers (and two blobs, etc)

Discussion

  • aliazzz

    aliazzz - 2020-09-12
    • status: open --> accepted
     
  • aliazzz

    aliazzz - 2020-09-12

    Implementing state machine to
    1. Connect,
    2. Publish NBirth,
    3. Publish DBirth.

     
  • aliazzz

    aliazzz - 2020-09-12

    Splitted connect into;
    1. PublishNCMD,
    2. PublishDCMD.

    so it's now;
    1. PublishNCMD,
    2. PublishDCMD,
    3. Publish NBirth,
    4. Publish DBirth.

     
  • aliazzz

    aliazzz - 2020-09-12

    solved in v0.0.0.21

     
  • aliazzz

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

Log in to post a comment.