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]

= Removed CloudConnectClient, CloudConnectFrame, and CloudConnectServer since they are not necessary yet and will be added back later.

  1. … 4 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]

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

  1. … 21 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
    • +80
    ./include/MqttClient.h
    • -0
    • +277
    ./src/MqttClient.cpp
  1. … 20 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
    • +86
    ./include/MqttPacket.h
    • -0
    • +74
    ./include/MqttPublisher.h
    • -0
    • +71
    ./include/MqttTcpTransport.h
    • -0
    • +66
    ./include/MqttTransport.h
  1. … 17 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 so rpath is updated so shared libs are found during runtime.

  1. … 1 more file 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 so that build clean does not delete LeahiMsgHandling.ini.

- Updated to fix generateed file dependency for objects.

- Updated so that outputed lib files are deleted when doing a build clean.

- Updated so codegen.pri diagnostics reports missing python3-venv, venv left without an interpreter, and a missing protoc.

  1. … 4 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 MessageSpool for durable store-and-forward message persistence.

- Updated Comms build files to compile MessageSpool and link libsqlite3.

    • -0
    • +103
    ./include/MessageSpool.h
    • -0
    • +428
    ./src/MessageSpool.cpp
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

  1. … 9 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
    • +85
    ./include/CloudConnectClient.h
    • -0
    • +95
    ./include/CloudConnectFrame.h
    • -0
    • +69
    ./include/CloudConnectServer.h
    • -0
    • +202
    ./src/CloudConnectClient.cpp
    • -0
    • +233
    ./src/CloudConnectFrame.cpp
    • -0
    • +140
    ./src/CloudConnectServer.cpp
  1. … 11 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. … 23 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
    • +198
    ./include/CanMessage.h
    • -0
    • +128
    ./include/FrameInterface.h
    • -0
    • +95
    ./include/MessageBuilder.h
    • -0
    • +202
    ./include/MessageDispatcher.h
    • -0
    • +85
    ./include/RtInterface.h
    • -0
    • +95
    ./include/RtMessage.h
    • -0
    • +78
    ./include/RtServer.h
    • -0
    • +186
    ./include/types.h
  1. … 47 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

- Updated LeahiRtController to load message handling INI and use it to determine how to handle/route messages to Agent.

- Moved MsgIni to MsgHandlingIni.

  1. … 17 more files in changeset.
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.

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

- Ported MessageDispatcher into MsgUtils for per-CAN-id multi-frame reassembly and wired it into LeahiRtController.

- Enabled MessageDispatcher.h/.cpp in MsgUtils CMakeLists.txt and removed the unused absl dependency.

- Fixed MsgData.py duplicate-ID/duplicate-name warning messages and msg_id parsing.

- Updated MsgDefs jinja templates to guard protobuf generation behind the proto flag, rename params to paramList, and fixed the static capture lambda.

- Reimplemented MessageBuilder::getActionId and added Types::BOOL alias.

- Renamed SDD CloudSyncRt.puml to RealtimeDataTransfer.puml.

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

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

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

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

- Moved AgentMessage.h/cpp from Comms lib to MsgUtils lib.

- Added AgentInterface to Comms lib for connect as client to Agent local socket.

- Updated LeahiRtController to use AgentInterface.

    • -0
    • +124
    ./include/AgentInterface.h
    • -0
    • +203
    ./src/AgentInterface.cpp
  1. … 8 more files in changeset.
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Added AgentMessage.h/cpp and updated CMakeLists.txt to include new files.

    • -0
    • +189
    ./include/AgentMessage.h
    • -0
    • +175
    ./src/AgentMessage.cpp
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
    • +17
    ./CommsConfig.cmake.in
    • -0
    • +11
    ./CommsConfigVersion.cmake.in
    • -0
    • +127
    ./include/CanInterface.h
    • -0
    • +60
    ./include/ProtoInterface.h
    • -0
    • +404
    ./src/CanInterface.cpp
    • -0
    • +145
    ./src/ProtoInterface.cpp
  1. … 40 more files in changeset.