Module mcp_bridge

Module mcp_bridge 

Source
Expand description

Bridge between MCP (radio memory) and runtime APRS types.

The TH-D75 stores SmartBeaconing parameters in its MCP memory using mph-based units (see crate::types::aprs::McpSmartBeaconingConfig). The runtime aprs::SmartBeaconingConfig uses km/h instead so the algorithm arithmetic matches the HamHUD reference. This module provides the From conversion so callers can do:

use kenwood_thd75::types::aprs::McpSmartBeaconingConfig;
use aprs::SmartBeaconingConfig;

let mcp = McpSmartBeaconingConfig::default();
let runtime: SmartBeaconingConfig = mcp.into();