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]

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

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

- Updated MsgIni.py to use jinja.

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

- Added scripts/MsgUtils/msgutils/MsgIni.py for reading/writing a message handling INI file.

- Added scripts/MsgUtils/GenerateMsgIni.py driver script for creating/updating a message handling INI file.

- Updated MsgUtils.cmake to add generate_message_ini() cmake function for adding message handling INI creation/updating to build process.

- Added missing lib/MsgUtils/include/MessageDispatcher.h.

  1. … 6 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. … 18 more files in changeset.
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Added cmake/PythonVenv.cmake which creates a project-wide venv at ${CMAKE_BINARY_DIR}/.venv and provides a register_python_package() helper.

- Included PythonVenv.cmake from the top-level CMakeLists.txt so the venv is available before any subdirectory is added.

- Stripped per-component venv setup from lib/MsgUtils/CMakeLists.txt and replaced it with register_python_package(${MSGUTILS_SCRIPTS_DIR}).

- Replaced MSGUTILS_PYTHON references in lib/MsgUtils/cmake/MsgUtils.cmake with PROJECT_PYTHON.

- register_python_package re-runs pip install only when pyproject.toml changes, keyed off a stamp file under build/python-venv-stamps/.

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

- Updated MsgUtils/CMakeLists.txt to use venv to setup user environment with MsgUtils module.

- Updated MsgUtils.cmake to use updated venv python.

- Removed MsgUtils/scripts/setup.py since no longer doing global pip install.

- Updated pyproject.toml for MsgUtil module definitions.

- Updated MessageBuilder.cpp and LeahiRt/main.cpp to fix compile errors.

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

- Updated lib/MsgUtils/CMakeLists.txt to install MsgUtils module, if necessary.

- Updated cmake/MsgUtils.cmake for modularization.

- Moved MsgCpp.py, MsgData.py, MsgProtobuf.py, and jinja templates to msgutils sub-directory for modularization.

- Updated GenerateMsgDefsCpp.py and GenerateProtobuf.py to use MsgUtils module.

- Added required python files for modularization.

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

- Updated MsgUtils.cmake to add generation functions using conf files.

- Updated GenerateMsgDefsCpp.py and GenerateProtobuf.py to use conf files.

- Updated MsgCpp.py and MsgData.py to load conf files.

- Updated MsgDefs_cpp.jinja to fix compiler warning.

- Updated format.cpp to compile with both Qt 5 and 6.

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

  1. … 48 more files in changeset.