#5 FB_EoN_Node

1.0.0.0: EoN
closed
aliazzz
None
2020-10-03
2020-03-26
aliazzz
No

This FB should form the basis for every Sparkplug B Node.

There can be several Sparkplug B Nodes in a network.
Every Sparkplug B Node can have any number of devices (0..N), but the Node itself is singular.
It bridges between the MQTT Broker and device(s), sensor(s) and IO(s)

An implementation can be made after the IEC "Google Protobufs' ticket has been Addressed.
Suggestions for a lean and mean but proper readable implementation are welcome.
I'd suggest we try to follow/translate a library example provided by SparkplugB.

FB_EoN_Node
    FB_Init()
    Initialise()
    onConnect()
    onMessage()
    publishBirth()
    publishDeviceBirth()
    publishNodeBirth()
    SessionState()

Discussion

  • aliazzz

    aliazzz - 2020-03-26
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,6 @@
     This FB should form the base for every Sparkplug B device.
    +
    +An implementation can be made after the IEC "Google Protobufs" serialisation has been written
    
     It bridges between the MQTT Broker and device(s), sensor(s) and IO(s)
    
    • Milestone: 1.0 --> 2.0
     
  • aliazzz

    aliazzz - 2020-03-27
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,11 @@
    -This FB should form the base for every Sparkplug B device.
    +This FB should form the basis for every Sparkplug B device.
    
    -An implementation can be made after the IEC "Google Protobufs" serialisation has been written
    +An implementation can be made after the IEC "Google Protobufs' ticket has been Addressed.
    +
    +Suggestions for a lean and mean but proper readable implementation are welcome.
    +
    +I'd suggest we try to follow/translate a library example provided by SparkplugB.
    +
    +---------------------
    
     It bridges between the MQTT Broker and device(s), sensor(s) and IO(s)
    -
    -The devices, sensors and/or IO's should register with this FB after which the data can be exposed.
    
     
  • aliazzz

    aliazzz - 2020-03-29
    • status: open --> accepted
    • assigned_to: aliazzz
     
  • aliazzz

    aliazzz - 2020-04-13
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,11 +1,21 @@
    -This FB should form the basis for every Sparkplug B device.
    +This FB should form the basis for every Sparkplug B Node.
    +
    +There can be several Sparkplug B Nodes in a network. 
    +Every Sparkplug B Node can have any number of devices (0..N), but the Node itself is singular.
    +It bridges between the MQTT Broker and device(s), sensor(s) and IO(s)
    
     An implementation can be made after the IEC "Google Protobufs' ticket has been Addressed.
    -
     Suggestions for a lean and mean but proper readable implementation are welcome.
    -
     I'd suggest we try to follow/translate a library example provided by SparkplugB.
    
    ----------------------
    -
    -It bridges between the MQTT Broker and device(s), sensor(s) and IO(s)
    +~~~
    +FB_EoN_Node
    +    FB_Init()
    +    Initialise()
    +    onConnect()
    +    onMessage()
    +    publishBirth()
    +    publishDeviceBirth()
    +    publishNodeBirth()
    +    SessionState()
    +~~~
    
     
  • aliazzz

    aliazzz - 2020-09-12

    Implemented "PublishState" statemachine

     
  • i-campbell

    i-campbell - 2020-09-16
    • Milestone: MVP EoN --> 1.0.0.0: EoN
     
  • aliazzz

    aliazzz - 2020-10-03
    • status: accepted --> closed
     
  • aliazzz

    aliazzz - 2020-10-03

    This ticket is sufficiently closed
    Any bugs will get a separate ticket.

     

Log in to post a comment.