Skip to content

Releases: mtconnect/cppagent

Version 2.2.0.17

27 Jan 21:18
ebec64b

Choose a tag to compare

Summary

2.2.0.17 is mainly a bug fix release, along with updating urns in stylesheets to match the schema version.

What's Changed

  • JSON Parser error handling and randomizing MQTT client id as a solution before connections pooling by @wsobel in #372
  • MQTT last will topic and payload by @wsobel in #374
  • chore: add styles/old to .dockerignore by @ottobolyos in #376
  • Resolve undefined boost::log symbol using ExtractTimestamp transform by @simonyg in #391
  • Empty CDATA xml generation fix by @wsobel in #401
  • stylesheet schema version updated to 2.2 by @robot-ranger in #403
  • Should set device UUID when specified in adapter config by @wsobel in #405
  • Update schema version in stylesheets by @wsobel in #407

Version v2.2.0.16

07 Dec 05:31
ac6a13e

Choose a tag to compare

What's Changed

  • MQTT adapter docs and example by @robot-ranger
  • MQTT random client so each broker connection has a unique identifier
    • MqttClientId can still be specified.
  • MQTT Last Will and Testament added with configuration topic: MqttLastWillTopic
    • Default topic is: MTConnect/Probe/Agent.{UUID}/Availability
    • Value will change from AVAILABLE to UNAVAILABLE when agent disconnects from broker.

Version v2.2.0.15

03 Dec 22:28
ac6a13e

Choose a tag to compare

Added support for MQTT JSON payloads.

Full documentation will be provided, this is just a brief overview.

The following formats are supported:

Simple observations

{
  "timestamp": "2023-11-09T11:20:00Z",
  "a": "ACTIVE",
  "b": 123.456
}

Conditions and messages

{
  "timestamp": "2023-11-09T11:20:00Z",
  "a": {
    "level": "fault",
    "nativeCode": "BAD!!!!",
    "nativeSeverity": 1000,
    "qualifier": "HIGH",
    "value": "high temperature fault"
  },
  "b": {
    "nativeCode": "ABC",
    "value": "some text"
  }
}

Arrays of observations with different timestamps

[{
  "timestamp": "2023-11-09T11:20:00Z",
  "a": "ACTIVE",
  "b": 100.0
},
{
  "timestamp": "2023-11-09T11:21:00Z",
  "a": "READY",
  "b": 101.0
}]

Specifying device names or uuid:

{
  "device1": {
    "timestamp": "2023-11-09T11:20:00Z",
    "e": "ACTIVE",
    "p": 100.0
  },
  "device2": {
    "timestamp": "2023-11-09T11:21:00Z",
    "e": "READY",
    "p": 101.0
  }
}

Timeseries

{
  "timestamp": "2023-11-09T11:20:00Z",
  "a": {
    "sampleRate": 8000,
    "value": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
  }
}

Data sets and tables

[{
  "timestamp": "2023-11-09T11:20:00Z",
  "a": {
    "r1": {
      "k1": 123.45
    },
    "r2": {
      "k2": "ABCDEF",
      "k3": 6789
    }
  }
},
{
  "timestamp": "2023-11-09T11:20:00Z",
  "a": {
    "resetTriggered": "NEW",
    "value": {
      "r1": {
        "k1": 123.45,
        "k3": 6789
      },
      "r2": null
    }
  }
}]

Version v2.2.0.14

03 Nov 23:26
84bd81f

Choose a tag to compare

Patch Release

  • Fixed connection status: Changed from from LISTENING to LISTEN
  • Added support for NaN and Infinity in JSON
    • NaN is represented as the string "NaN"
    • Infinity and -Infinity are represented as the strings "Infinity" and "-Infinity" respectively.

Version v2.2.0.13

31 Oct 16:40
a7eecf6

Choose a tag to compare

Patch Release

  • Fixed dll copy on windows for shared on some build system
  • Optimized streaming performance
  • Added better logging and script feedback for embedded mruby

Version 2.2.0.12

26 Oct 20:47
fe53be4

Choose a tag to compare

What's Changed

  • Cleaned up docker files and added a new docker hub version for major.minor version (2.2)
  • Optimization of MTConnect Agent performance and reduced thread contention.
  • Added some logging for mruby load

Full Changelog: v2.2.0.11...v2.2.0.12

Version v2.2.0.11

21 Oct 06:15
d3eec2c

Choose a tag to compare

What's Changed

This is an important release since race conditions were observed

  • In Mqtt1Service, fixed condition state in observations
  • Added Heartbeat config param to override the heartbeat in the * PONG ... command
  • Fixed race condition under high load between REST and MQTT
  • Fixed file cache race condition
  • Cleaned up Dockerfiles in the docker and demo with mtconnect/agent:latest as the foundation image
  • Reduced image size for demo and builds

Version v2.2.0.10

19 Oct 23:02
cd0abd5

Choose a tag to compare

New Features

  • Added MQTT compose demo to demonstrate how to compose MTConnect, twin demo, and MQTT. (see demo directory).
  • Some additions to the README for HttpHeaders and reorganized the content.
  • Added gallons per minute conversion to liters per second
  • Added documentation to the tests.

Bug Fixes

  • Fixed conan build to check for usable cmake in the OS for cross-platform docker builds.
  • Fixed bug in streaming when it falls behind or is out of range for samples.
  • Updated schema files from schemas repo.

Version v2.2.0.9

18 Oct 00:02
777f4de

Choose a tag to compare

Bug Fix Release

  • Fixed agent device uuid by @wsobel in #341
  • Added DeviceTopic as an alias for ProbeTopic for mqtt sinks by @wsobel in #346

Full Changelog: v2.2.0.8...v2.2.0.9

Version 2.2.0.8

06 Oct 23:19
4c982e3

Choose a tag to compare

Patch Bug Fix

  • Fixes an issue during the initial sample request with an interval where overlapping observations were delivered.