The zCOM library is there to provide a composable stack of protocols, down from osi layer 1 (e.g. ethernet frames, IEEE_802.11) up to osi layer 7 (DNS, DHCP, Tiny TP, …).
The library is designed in a way that you can stack each protocol onto a compatible protocol, for example serving Tiny TP over UDP instead of IrLMP or use PPP over a serial line.
comptime
configuration to restrict the number of allowed connections (for example, allow only up to 3 TCP connections to save RAM)async
, but doesn’t enforce itThe whole project is just in planning phase, no concrete implementation done yet.
Each protocol with a tick is at least in a somewhat usable state
A message is a sequence of octets a user wants to transmit/receive. Messages are application specific and don’t contain any protocol headers.
Examples:
A buffer is a sequence of octets that are stored for temporary/implementation reasons.
A packet is a delimited sequence of octets with known (but maybe dynamic) length. Packets have a protocol defined format and usually contain protocol headers.
Examples:
A stream is a unlimited sequence of octets without a well defined length.
Examples: