FlexStack
FlexStack(R) Overview
Overview
Modules
Architecture
Sequence Diagram
Setup
Message Transmission
Message Reception
Getting Started
What You’ll Build
Prerequisites
Installation
Understanding the Protocol Stack
Step-by-Step Tutorial
Step 1: Basic Setup
Step 2: Location Service
Step 3: GeoNetworking Router
Step 4: BTP Router
Step 5: Local Dynamic Map (LDM)
Step 6: CA Basic Service
Step 7: Link Layer
Step 8: Run the Application
Complete Example
Need Help?
FlexStack(R) Modules
Link Layer
Choosing a Link Layer
Architecture
RawLinkLayer
Quick Start
Parameters
Complete Example
PythonCV2XLinkLayer
Quick Start
Complete Example
CV2XLinkLayer C++ Library
Library Components
Building from Source
Direct C++ API Usage
Integration with FlexStack
GeoNetworking (GN)
What GeoNetworking Does
Architecture
Key Components
Getting Started
Step 1: Configure the MIB
Step 2: Create the Router
Step 3: Provide Position Updates
Step 4: Connect to Link Layer
Sending Packets
Sending GeoBroadcast Packets
Receiving Packets
Complete Example
See Also
Basic Transport Protocol (BTP)
What BTP Does
Architecture
BTP Types
Well-Known Ports
Getting Started
Step 1: Create GeoNetworking Router
Step 2: Create BTP Router
Step 3: Register Port Callbacks
Step 4: Freeze Callbacks
Step 5: Connect Link Layer
Sending Packets
Receiving Packets
Complete Example
Integration with Facilities
See Also
Facilities Services
Cooperative Awareness (CA) Basic Service
What CAMs Contain
Architecture
Getting Started
Step 1: Configure Vehicle Data
Step 2: Set Up Prerequisites
Step 3: Create CA Basic Service
Receiving CAMs
CAM Message Structure
Complete Example
CAM Generation Rules
See Also
VRU Awareness Service
What Are VRUs?
VAM vs CAM
Architecture
Getting Started
Step 1: Configure Device Data Provider
Step 2: Set Up Prerequisites
Step 3: Create VRU Awareness Service
VAM Generation Rules
VAM Message Structure
VRU Clustering
Complete Example
Use Cases
See Also
Decentralized Environmental Notification (DEN) Service
What DENMs Are For
CAM vs DENM
Architecture
Getting Started
Prerequisites
Step 1: Create DEN Service
Step 2: Use an Application Service
Emergency Vehicle Approaching Service
DENM Lifecycle
DENM Message Structure
Complete Example
Cause Codes
See Also
Local Dynamic Map
What the LDM Does
Architecture
Supported Data Types
Getting Started
Step 1: Create the LDM
Step 2: Connect Location Updates
Step 3: Connect to Facility Services
Data Providers
Register a Custom Provider
Publish Data
Data Consumers
Register as a Consumer
Querying the LDM
Basic Query
Filtered Query
Subscribing to Updates
Subscribe Example
LDM Data Object
Area of Maintenance
Complete Example
Use Cases
See Also
Tutorials
Docker Deployment
Why Use Docker?
Architecture
Quick Start
Step 1: Create Project Structure
Step 2: Create the Dockerfile
Step 3: Create the Application
Running a Single Container
Build and Run
With Custom Arguments
Running Multiple Stations
Docker Compose Setup
Start All Stations
Communication Flow
Scaling Stations
Advanced Configuration
Environment Variables
Volume Mounting
Health Checks
Troubleshooting
Debug Commands
Complete Project
See Also
Ethernet Deployment with RawLinkLayer
How It Works
Quick Start
Step 1: Find Your Network Interface
Step 2: Create Your Application
Step 3: Run with Root Privileges
Common Errors
Testing Locally
Two-Station Test
Network Capture
MAC Address Configuration
Complete Example
See Also
Logging
Log Levels
Quick Start
One-Line Setup
Better Formatting
Component Loggers
Filtering by Component
Logging to File
Configuration File
Common Patterns
Debug a Specific Issue
Production Logging
JSON Logging
Complete Example
See Also
FlexStack
Index
Index