Skip to content

Repository files navigation

PHYoIP Protocol

Specification and C headers for the TCP and UDP application protocols.

Topology

flowchart TD
SRV -- eg --> GW(GW)
GW -- in --> SRV
SRV -- eg --> SNF(sniffer)
SRV -- in --> SNF
SRV((Server)) -- in --> RW(RW)
RW -- eg --> SRV
SRV -- eg --> ROE(ROE)
SRV -- in --> ROI(ROI)
WOE(WOE) -- eg --> SRV
WOI(WOI) -- in --> SRV
Loading
abbr.Description
egegress packets (i.e. from PC program to external device)
iningress packets (i.e. from external device to PC program)
GWgateway client
RWread/write client
RO*read-only client
WO*write-only client

Client types PHYOIP_CT_... are defined in phyoip/protocol/cmp.h.

Connection Establishment

sequenceDiagram
participant S as Server
participant C as Client
C ->>+ S: PHYOIP_CMP_REGISTER
S ->>- C: PHYOIP_CMP_ACK + PHYOIP_ACK_OK
Note over S,C: normal operation, e.g.:
S -->> C: PHYOIP_PROTO_UART
C -->> S: PHYOIP_PROTO_UART
Loading

Connection Termination

A connection can be terminated by either the server or the client.

sequenceDiagram
participant I as Initiator
participant P as Peer
I ->> P: PHYOIP_CMP_DELIST
Loading

The PHYOIP_CMP_DELIST message shall not be sent if the server did not accept the connection (status in PHYOIP_CMP_ACK was not PHYOIP_ACK_OK)

About

Specification and C headers for the TCP and UDP application protocols

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages