#24 FB_MQTT_PubSub

MVP EoN
closed
aliazzz
None
2020-09-14
2020-04-13
aliazzz
No
FB_MQTT_PubSub
    /Client
        ClientBusy(Private)
        ClientDone(Private)
        ClientError()
        Connect()
        Disconnect()
        InitialiseClient(Private)
        IsConnected()
        IsConnecting()
        SetBroker()
        SetLastWill()
        SetSessionCredentials()
        SetSessionTls()
        GetConnectionState()
    /Publisher
        Publish()
        PublisherBusy()
        PublisherDone()
        PublisherError()
    /Subscriber 
        SetSubscriberBuffer => // !needs implementation!
        IsMessageReceived() // TRUE if a message is ready to be digested
        GetMessage() // Provides the message itself => DEBUG! provides NOTHING currently :-(
        Subscribe()
        SubscriberBusy()
        SubscriberDone()
        SubscriberError()
        Unsubscribe()

The behaviourmodel is phased out as it is overkill because each of the composite FB's allready implemented their own CMBL.IConc statemachine

Discussion

  • aliazzz

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

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     ~~~
     FB_MQTT_PubSub
         FB_Init()
    
    • status: open --> accepted
     
  • aliazzz

    aliazzz - 2020-05-15
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,15 +1,17 @@
     ~~~
    -FB_MQTT_PubSub
    +FB_MQTT_PubSub IMPLEMENTS CMBL.ILConC
         FB_Init()
         Initialise()
         Connect()
    -    Connected()
    +    IsConnected()
         Disconnected()
         Publish()
         Received()
         Subscribe()
         Unsubscribe()
    -    CredentialsSet()
    +    Credentials()
         WillSet
         TlsSet()
     ~~~
    +
    +The FB shall implement common behaviour model : level controlled continuous behaviour
    
     
  • aliazzz

    aliazzz - 2020-05-15
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,5 @@
     ~~~
    -FB_MQTT_PubSub IMPLEMENTS CMBL.ILConC
    +FB_MQTT_PubSub IMPLEMENTS CBML.ILConC, CBML.IBehaviourModel
         FB_Init()
         Initialise()
         Connect()
    
     
  • aliazzz

    aliazzz - 2020-05-18

    The CBML LConC state machine is implemented, now integrating the MQTT Client/Publisher code.

     
  • aliazzz

    aliazzz - 2020-05-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,17 +1,31 @@
     ~~~
    -FB_MQTT_PubSub IMPLEMENTS CBML.ILConC, CBML.IBehaviourModel
    -    FB_Init()
    -    Initialise()
    -    Connect()
    -    IsConnected()
    -    Disconnected()
    -    Publish()
    -    Received()
    -    Subscribe()
    -    Unsubscribe()
    -    Credentials()
    -    WillSet
    -    TlsSet()
    +FB_MQTT_PubSub
    +    /Client
    +       ClientBusy(Private)
    +       ClientDone(Private)
    +       ClientError()
    +       Connect()
    +       Disconnect()
    +       InitialiseClient(Private)
    +       IsConnected()
    +       IsConnecting()
    +       SetBroker()
    +       SetLastWill()
    +       SetSessionCredentials()
    +       SetSessionTls()
    +       GetConnectionState()
    +    /Publisher
    +       Publish()
    +       PublisherBusy()
    +       PublisherDone()
    +       PublisherError()
    +   /Subscriber 
    +       Received()
    +       Subscribe()
    +       SubscriberBusy()
    +       SubscriberDone()
    +       SubscriberError()
    +       Unsubscribe() // ?Needed?
     ~~~
    
    -The FB shall implement common behaviour model : level controlled continuous behaviour
    +*The behaviourmodel is phased out as it is overkill because each of the composite FB's allready implemented their own CMBL.IConc statemachine*
    
     
  • aliazzz

    aliazzz - 2020-05-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -20,12 +20,13 @@
            PublisherDone()
            PublisherError()
        /Subscriber 
    +        SetSubscriberBuffer()
            Received()
            Subscribe()
            SubscriberBusy()
            SubscriberDone()
            SubscriberError()
    -       Unsubscribe() // ?Needed?
    +       Unsubscribe()
     ~~~
    
     *The behaviourmodel is phased out as it is overkill because each of the composite FB's allready implemented their own CMBL.IConc statemachine*
    
     
  • aliazzz

    aliazzz - 2020-05-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -20,7 +20,6 @@
            PublisherDone()
            PublisherError()
        /Subscriber 
    -        SetSubscriberBuffer()
            Received()
            Subscribe()
            SubscriberBusy()
    
     
  • aliazzz

    aliazzz - 2020-05-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -20,7 +20,9 @@
            PublisherDone()
            PublisherError()
        /Subscriber 
    -       Received()
    +        SetSubscriberBuffer => // !needs implementation!
    +        IsMessageReceived() // TRUE if a message is ready to be digested
    +        GetMessage() // Provides the message itself
            Subscribe()
            SubscriberBusy()
            SubscriberDone()
    
     
  • aliazzz

    aliazzz - 2020-05-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -22,7 +22,7 @@
        /Subscriber 
             SetSubscriberBuffer => // !needs implementation!
             IsMessageReceived() // TRUE if a message is ready to be digested
    -        GetMessage() // Provides the message itself
    +        GetMessage() // Provides the message itself => DEBUG! provides NOTHING currently :-(
            Subscribe()
            SubscriberBusy()
            SubscriberDone()
    
     
  • aliazzz

    aliazzz - 2020-09-12

    As far as I can oversee this ticket can be closed because the FB is 99% finished

     
  • aliazzz

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

Log in to post a comment.