You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Agent

Key Files and Their Purpose:
dm_easy_mesh_agent.cpp:
- Implements the data model for the EasyMesh agent
- Handles processing of various commands like device initialization, station list management, channel selection, and configuration renewal
- Translates between OneWifi (appears to be a proprietary system) and EasyMesh formats
- Contains methods for analyzing different types of network events and messages
em_agent.cpp:
- Main implementation of the agent functionality
- Contains event handlers for different types of messages (channel preferences, device initialization, etc.)
- Manages the connections and configuration between devices
- Includes DPP (Device Provisioning Protocol) onboarding capabilities
- Contains the main() function that initializes and starts the agent
em_cmd_agent.cpp:
- Implements command handling for the agent
- Contains socket-based communication methods to receive commands and send responses
- Manages command execution and result handling
em_simulator.cpp
:- Provides simulation capabilities for testing
- Primarily focused on simulating scan results
- Creates mock network neighbors and scan data