LeahiRtController.cpp

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

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

- 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

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

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

- Updaetd LeahiRtController.cpp to remove references to debug code.

- Updated lib/MsgUtils/CMakeLists.txt to reference correct Unhandled.conf.

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

- Moved CloudSyncRt to LeahiRt.

  1. … 8 more files in changeset.