Documentation
¶
Overview ¶
Package ingress defines an in-process typed identifier for the origin of an RX frame flowing through the modem-RX fanout.
Source provenance is threaded alongside *pb.ReceivedFrame so downstream subscribers (KISS broadcast, digipeater, APRS submit) can suppress feedback loops when a frame originated from a KISS-TNC interface rather than the local modem. The identity is deliberately kept in-process — it is not encoded on the wire protocol.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kind ¶
type Kind uint8
Kind enumerates the supported RX sources. New sources (SDR, AGW, Bluetooth TNC, etc.) get their own constant without churning the fanout signature.
type Source ¶
Source identifies where an RX frame entered graywolf. ID is the KissInterface DB row ID for KindKissTnc; unused (zero) for KindModem.
func KissTnc ¶
KissTnc returns a Source tagging a frame as coming from the KISS-TNC interface with the given DB row ID.