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]

- 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.

  1. … 8 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.

    • -0
    • +380
    ./DCSsim/MqttPacket.cpp
    • -0
    • +86
    ./DCSsim/MqttPacket.h
  1. … 22 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.

    • -0
    • +52
    ./DCSsim/CMakeLists.txt
    • -0
    • +224
    ./DCSsim/DCSSimController.cpp
    • -0
    • +51
    ./DCSsim/DCSSimController.h
  1. … 26 more files in changeset.
LEAHI-REALTIME-CDT-LDT-5274_Cloud Communication - SW - 01 - Device-RT to Cloud - DHS Agent migration - R&I
LEAHI-REALTIME-CDT-LDT-5274_Cloud Communication - SW - 01 - Device-RT to Cloud - DHS Agent migration - R&I
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.

    • -182
    • +0
    ./AgentSim/AgentSimController.cpp
  1. … 13 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

    • -20
    • +20
    ./AgentSim/AgentSimController.cpp
  1. … 13 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.

    • -11
    • +11
    ./AgentSim/AgentSimController.cpp
  1. … 22 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.

  1. … 26 more files in changeset.
LDT-5059: Cloud Communication - SW - 01 - AgentSim - LogUpload - R&I - 05: DEV - Feature Implementation

- Added qmake build.

- Moved the CAN comms sources from MsgUtils to Comms: CanMessage, FrameInterface, MessageBuilder, MessageDispatcher, crc, format, main, and types.

- Renamed AgentMessage -> RtMessage and AgentInterface -> RtInterface.

- Added RtServer and updated LeahiRtController to use it.

- Added LeahiRtMsgHandling.ini for per-message drop/send_always/send_delta handling and the outbound topic from configuration.

- Updated the SDD PlantUML diagrams.

    • -0
    • +23
    ./AgentSim/AgentSim.pro
    • -12
    • +12
    ./AgentSim/AgentSimController.cpp
    • -0
    • +14
    ./CANDumpPlayer/CANDumpPlayer.pro
  1. … 58 more files in changeset.
LEAHI-REALTIME-CDT-LDT-2852_Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation
LEAHI-REALTIME-CDT-LDT-2852_Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation
LEAHI-REALTIME-CDT-LDT-5054_Cloud Communication - SW - 01 - AgentSim - LogUpload - R&I
LEAHI-REALTIME-CDT-LDT-5054_Cloud Communication - SW - 01 - AgentSim - LogUpload - R&I
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Added MsgProtoUtils_h.jinja and MsgProtoUtils_cpp.jinja templates generating struct <-> protobuf conversion utilities (LeahiMsgProtoUtils.h/.cpp).

- Added write_msg_proto_utils_header/source to MsgCpp.py and a --proto flag path in GenerateMsgDefsCpp.py to produce the new files.

- Removed the proto flag from write_msg_defs_header/source and the MsgDefs templates so MsgDefs no longer embeds protobuf utilities.

- Updated MsgUtils.cmake to declare the MsgProtoUtils outputs and template dependencies, and CMakeLists.txt to list the generated files.

- Removed the obsolete ProtoInterface.h/cpp.

- Updated LeahiRtController to include LeahiMsgProtoUtils.h.

- Added MessageDispatcher to MsgUtils.

- Updated LeahiRt main.cpp signal handling to use signalfd + QSocketNotifier for graceful shutdown inside the event loop.

- Updated tools/CMakeLists.txt to build AgentSim.

- Updated AgentSimController::handleMessage to output received message protobuf to console.

    • -18
    • +61
    ./AgentSim/AgentSimController.cpp
  1. … 16 more files in changeset.
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Updated CMakeLists.txt and CANDumpPlayer/CMakeLists.txt to change minimum required cmake version.

  1. … 1 more file in changeset.
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Updated project CMakeLists.txt and CANDumpPlayer/CMakeLists.txt to require cmake version 3.19 or higher.

  1. … 1 more file in changeset.
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Moved lib/MsgUtils/scripts to scripts/MsgUtils.

- Updated lib/MsgUtils/CMakeLists.txt and associated files for move.

  1. … 28 more files in changeset.
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Modified AgentSim/CMakeLists.txt to mirror changes made to other CMakeLists.txt to prevent deleting bin directory during clean (which caused error on subsequent build).

LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Updated all CMakeLists.txt files to remove deprecated code.

- Updated MsgUtils/CMakeLists.txt to add package absl required for protobuf.

  1. … 4 more files in changeset.
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Updated all CMakeLists.txt files to remove deprecated code.

- Updated MsgUtils/CMakeLists.txt to add package absl required for protobuf.

  1. … 4 more files in changeset.
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Initial commit for Agent sim tool.

    • -0
    • +139
    ./AgentSim/AgentSimController.cpp
    • -0
    • +63
    ./AgentSim/AgentSimController.h
    • -0
    • +46
    ./AgentSim/CMakeLists.txt
    • -0
    • +2
    ./AgentSim/config/AgentSim.ini
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Updated CANDumpPlayer/main.cpp to add playback speed option.

- Updated tools/CMakeLists.txt to only build on Linux.

LEAHI-REALTIME-CDT-LDT-2852_Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation
LEAHI-REALTIME-CDT-LDT-2852_Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Initial commit for Real-time Data Transfer.

- Added MsgUtils library for handling CAN and protobuf messages.

- Added Comms library for handling communications on CAN bus and future protobuf interfaces.

- Added CloudSyncRt program for reading CAN messages and converting them to protobuf messages.

- Added CANDumpPlayer program for reading CAN dumps and sending read messages on CAN interface.

    • -0
    • +43
    ./CANDumpPlayer/CMakeLists.txt
    • -0
    • +96
    ./CANDumpPlayer/main.cpp
  1. … 45 more files in changeset.