|
PER Firmware
|
Classes | |
| class | BusLinker |
Functions | |
| TxProducerRegistry | _build_tx_producer_registry (List[Node] nodes) |
| None | _resolve_rx_against_registry (List[Node] nodes, TxProducerRegistry tx_on_bus) |
| None | _validate_standard_id_range (List[Node] nodes) |
| List[Node] | link_all (List[Node] nodes) |
Variables | |
| TxProducerRegistry = Dict[str, Dict[str, Tuple[str, Message]]] | |
linker.py Author: Irving Wang (irvingw@purdue.edu)
|
protected |
Build the map of who transmits each message on each bus. Rules (fail fast with ValueError): - Exactly one logical producer per (bus, msg_name): two different nodes may not both TX the same msg_name on the same bus. - A single node may not list the same msg_name twice in tx on the same bus.
|
protected |
For each RX subscription, attach the transmitting node's Message on that bus. Rules: - RX msg_name must have a TX on the same bus (not another bus with the same name). - The transmitter must be a different node than the subscriber (no self-RX).
|
protected |
Standard-frame IDs must fit in 11 bits when is_extended is false.