This page explains how the major MOSH subsystems relate to one another.
| Layer | Responsibility |
|---|---|
| MOSH | smart-home logic, node behavior, elements, virtual wires |
| IMC | carrier abstraction and message boundary |
| MTRP | routing, forwarding, path selection, transport-neutral packet handling |
| Transport | physical or link-layer communication such as ESP-NOW or NRF24 |
| Hardware | boards, radios, peripherals, and device-specific capabilities |
MOSH describes what the node wants to do.
IMC describes how MOSH hands that intent to a communication carrier.
MTRP describes how packets are routed, forwarded, and delivered across one or more transports.
The transport layer describes how bytes move over a specific link.
A typical message path looks like this:
MOSH and MTRP solve different problems.
IMC exists so those layers can evolve without being tightly coupled.
This structure allows: