/trunk/mqttsparkplugb/mqttsparkplugb/SparkplugB/Function Blocks/FB_SparkplugBSimple Commit Log


Commit Date  
[r660] by hermsen

Commit of trunk v1.3.3.5

Cleaned up log feedback messages in general
Moved printing of library Header out of EoN to seperate entity
Improved EoN diagnosis logging

EoN Publish of NBirth and NDATA is now done in a non blocking fashion.
The publishing is setup in method Entry, processed in method Continous and ended in method Exit
These methods are then called in the EoN State Machine in the corresponding setp Entry, Continuous and Exit parts.

Added DBIRTH, DDATA, DDEATH step entry continous and exit methods for non blocking publishing
Several bugfixes for when a device get unplugged during runtime.

2020-12-30 21:09:31 Tree
[r654] by hermsen

Upgrade MQTT Client SL to currently latest v1.0.2.0
From CODESY Release Notes;
Integration of the library ‘Net Base Services’
Added filter mode for subscribers
Improved send/receive performance
Improved error handling
Bugfix: Clean up of interal queues after disconnect

Implemented int FB_EoNMQTT;
ITLSContextProvider : MQTT.NBS.ITLSContext; //Encapsulates all the data neccecray to handle encrypted tcp connections
//Static initialization, as shown in the following code snippet;
//
//VAR
// commonName : STRING := 'MyRasPi';
// ciCertInfo : NBS.CERT_INFO := (psInfo:=ADR(commonName), udiSize:=LEN(commonName));
// myTLSContext : NBS.TLSContext := (
// ePurpose:=NBS.PURPOSE.CLIENT_SIDE,
// sUseCaseName:='NBSTest',
// sTLSVersion:='1.3',
// ciCertInfo:=ciCertInfo,
// udiVerificationMode:=2
// );
//END_VAR
IASyncPropertyProvider : MQTT.NBS.IAsyncProperty; // Runs the connect process in a own background task. Use this property if the connection setup takes longer than one task cycle (e.g. TLS connections)

Removed keyword INTERNAL in various methods and properties

2020-12-27 20:23:09 Tree
[r621] by i-campbell

V1.3.0.2 implemented DDEATH [#101]

2020-12-19 01:18:22 Tree
[r612] by hermsen

SparkPlugB v1.3.0.0 "Bonus"

Allows Multiple Devices to be connected to EoN
Multiple Device DBIRTH Publish without issue
Multiple Device DDATA Publish without issue

2020-12-18 14:42:26 Tree
[r551] by hermsen

Version 1.1.1.0
merged hermsen branch 1.1.0.14 into trunk
Fixed the Rebirth publish issue for a connected device after the Server Node requests an EoN Rebirth
Fixed improved readability and control over the state entry, exit and continuous parts in EoN/Device
Fixed stable Device state

2020-11-28 14:54:24 Tree
[r530] by hermsen

Device V1.1.0.1

TODO
* Check publishing DBIRTH Topic SeqNum (should be working)
* Check publish DDATA SeqNum (triggers REBIRTH, not correct yet)
* Publish DDEATH of a Device when occurs

Optimisations
Various methods of the EoN are rewritten into standalone Functions as devices and EoN share these (following DRY principle)

2020-11-15 13:05:29 Tree
[r492] by hermsen

v1.0.0.0
Deleted Embedded Resources
Updated some comments

2020-10-30 19:33:28 Tree
[r484] by i-campbell

v0.9.9.7 from branches/i-cambell/ to trunk

2020-10-25 19:13:57 Tree
[r471] by hermsen

v0.9.9.5
Exponential Backoff Timer Implemented

2020-10-24 16:16:13 Tree
[r424] by hermsen

v0.9.0.3
Revised EoN state machine
Improved MQTT Diagnosis feedback messages in sparkplug log (MQTTErrorToString)

Todo:
-Debug the EoN for a correct behaviour when connect-disconnect-connect (statemachine works but
the underlying code needs some more debugging as expected)
-Immutable startup logging (lib version etc) is currently static(!) and gets filtered by the verbosefilter

2020-10-09 17:54:57 Tree
[r384] by aliazzz

v0.0.0.31 from Aliazzz Branch

Fixed NDATA via ticket #63
1) Init Encoder in usual way,
2) ChangeDetection (adds data to internal encoder),
3) Block ChangeDetection and immediately Send Payload,
4) Repeat from step 1.

2020-10-03 15:25:40 Tree
[r376] by i-campbell

v0.0.0.30 solved [#57] / ERROR.PayloadNotEnoughMetrics
problem was bdseq wasn't part of AllMetrics
also corrected bdseq to ULINT / UInt64. was LINT/Int64

2020-10-02 15:13:31 Tree
[r374] by aliazzz

Updated trunk with Aliazzz Branch v0.0.0.29

2020-10-02 12:34:12 Tree
[r364] by i-campbell

V0.0.0.27 Fixed #58 EoN, NDATA: extra metric "seq" is not allowed
Also fixed similar problem with DDATA
Snuck in a fix for array bounds in FB_SparkplugBSimple/FindChanges, which was producing 27 warnings

2020-09-27 20:47:23 Tree
[r360] by aliazzz

Committing v0.0.0.25 from Aliazzz Branch;
TLS Support for EoN
PublishPeriod
Correction of illegal Characters (/,#,+) in device, node and groupid
Many fixes etc.

2020-09-27 18:56:06 Tree
[r347] by aliazzz

update to v0.0.0.21 from aliazzz branch

2020-09-12 23:22:51 Tree
[r324] by aliazzz

Updated trunk to UNTESTED 0.0.0.20 version of Aliazzz Branch

2020-09-03 17:00:49 Tree