Skip to content

Architecture

saeid rezaei edited this page Apr 16, 2025 · 1 revision
  1. Architecture.md:
# Architecture Overview

## Core Components
1. **Message Router**
   - Protocol-agnostic message handling
   - Dynamic routing configuration
   - Priority-based message scheduling

2. **Protocol Adapters**
   - CAN interface
   - MQTT client
   - Serial communication

3. **Logging System**
   - SpdLog integration
   - Configurable log levels
   - File and console output

## Data Flow
```mermaid
graph LR
    CAN[CAN Bus] --> Router[Message Router]
    MQTT[MQTT Broker] --> Router
    Serial[Serial Port] --> Router
    Router --> CAN
    Router --> MQTT
    Router --> Serial
Clone this wiki locally