CloudConnect

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDT-5291: Cloud Communication - SW - 01 - Device-RT to Cloud - Integration - Demo Focus - R&I - 03: DEV - Feature Implementation & Code Document [& Diagnostics]

- Updated CloudConnectController to add capturing of protobuf stream for debugging.

LDT-5291: Cloud Communication - SW - 01 - Device-RT to Cloud - Integration - Demo Focus - R&I - 03: DEV - Feature Implementation & Code Document [& Diagnostics]

- Added MQTT message statistics (mqtt.stats) for tracking message publication and subscription times.

- Added CAN message receive statistics (can.stats).

- Updated MqttClient to change MqttClient::didMessageReceived signature to match QMqttClient.

- Update CANDumpPlayer to add per-frame, per-message, and total replay duration statistics.

- Fixed the debug build against the b2qt SDK by undefining _FORTIFY_SOURCE, which is baked into CXX in the SDK and errors during build under -Werror without optimization.

    • -100
    • +196
    ./CloudConnectController.cpp
  1. … 7 more files in changeset.
LDT-5291: Cloud Communication - SW - 01 - Device-RT to Cloud - Integration - Demo Focus - R&I - 03: DEV - Feature Implementation & Code Document [& Diagnostics]

- Renamed message handling to CAN routing.

- Update MqttClient to simplify and move responsibility/functionality to class encapsulating it.

- Updated MqttClient::init() to verify that the CA, certificate and key files exist before use.

- Added CloudConnectController::loadConfig() and removed the config paths from the constructor.

- Added CloudConnectController inbound cloud message handling and decoding the protobuf.

- Removed the temporary protobuf capture-to-file code and its Capture INI section.

- Updated CloudConnect.ini format.

- Added logging categories config, proto, can.routing, mqtt, mqtt.stats and comms.types, and converted the bare qInfo/qWarning calls to categorized logging.

- Updated Types::getValue() and Types::getBits() to warn when the buffer is too short.

- Updated the protobuf Header to drop deviceSerialNum.

- Updated serializeProto() and canMessageToProtobufByteArray() to return bool and write the result through a QByteArray out-parameter.

- Updated CloudConnect.pro to add the Qt Mqtt module.

    • -181
    • +263
    ./CloudConnectController.cpp
    • -0
    • +1429
    ./config/LeahiCanRouting.ini
    • -1428
    • +0
    ./config/LeahiMsgHandling.ini
  1. … 20 more files in changeset.
LDT-5291: Cloud Communication - SW - 01 - Device-RT to Cloud - Integration - Demo Focus - R&I - 03: DEV - Feature Implementation & Code Document [& Diagnostics]

- Removed MqttPublisher, MqttTcpTransport and MqttTransport (to use QtMqtt instead).

- Added MqttClient (wrapping QMqttClient) for MQTT connection to DCS.

- Moved MqttPacket from Comms to tools/DCSsim since it is no longer needed by CloudConnect.

- Updated Comms build files to add the Qt Mqtt module dependency.

- Updated CloudConnectController to use MqttClient.

- Updated CloudConnect.ini to add TLS keys.

- Added SslTcpServer to DCSsim so the sim can accept TLS connections.

- Updated the C++ standard to c++17 in .qmake.conf, all .pro files and all CMakeLists.txt.

- Renamed codegen.pri to codegen_tools.pri.

  1. … 25 more files in changeset.
LDT-5277: Cloud Communication - SW - 01 - Device-RT to Cloud - DHS Agent migration - R&I - 03: DEV - Feature Implementation & Code Document [& Diagnostics]

- Added support for MQTT connection.

- Added tools/DCSsim for simulating DCS connection.

- Updated threading.

- Updated config files to add Mqtt section.

  1. … 27 more files in changeset.
LDT-5277: Cloud Communication - SW - 01 - Device-RT to Cloud - DHS Agent migration - R&I - 03: DEV - Feature Implementation & Code Document [& Diagnostics]

- Fixed CloudConnect build failure on the signalfd read return value being ignored.

- Updated the signal handler to ignore short reads instead of quitting with an unidentified signal.

LDT-5277: Cloud Communication - SW - 01 - Device-RT to Cloud - DHS Agent migration - R&I - 03: DEV - Feature Implementation & Code Document [& Diagnostics]

- Updated to remove CloudConnectClient.

- Removed AgentSim tool.

- Updated CloudConnect.ini to drop AgentSocketName and ReconnectIntervalMs, and renamed the app socket to /tmp/cloudconnect.sock.

  1. … 16 more files in changeset.
LDT-5277: Cloud Communication - SW - 01 - Device-RT to Cloud - DHS Agent migration - R&I - 03: DEV - Feature Implementation & Code Document [& Diagnostics]

- Updated to rename CloudConnectFrame::MsgId enum to Type.

- Updated to rename CloudConnectFrame::feed() to read() and FeedResult to ReadState.

- Updated message handling action names to SendAlways/SendDelta/Drop.

- Updaetd LeahiMsgHandling.ini for config file format changes.

- Removed deprecated CloudConnectMsgHandling.ini

    • -2370
    • +0
    ./config/CloudConnectMsgHandling.ini
  1. … 10 more files in changeset.
LDT-5277: Cloud Communication - SW - 01 - Device-RT to Cloud - DHS Agent migration - R&I - 03: DEV - Feature Implementation & Code Document [& Diagnostics]

- Renamed RtMessage -> CloudConnectFrame, RtInterface -> CloudConnectClient, and RtServer -> CloudConnectServer.

- Updated various files to match CloudConnect name change.

    • -0
    • +2370
    ./config/LeahiMsgHandling.ini
  1. … 21 more files in changeset.
LDT-5277: Cloud Communication - SW - 01 - Device-RT to Cloud - DHS Agent migration - R&I - 03: DEV - Feature Implementation & Code Document [& Diagnostics]

- Renamed LeahiRt to CloudConnect.

    • -0
    • +200
    ./CloudConnectController.cpp
    • -0
    • +92
    ./CloudConnectController.h
    • -0
    • +4
    ./config/CloudConnect.ini
    • -0
    • +2370
    ./config/CloudConnectMsgHandling.ini
  1. … 20 more files in changeset.