packet:white-papers:pwp-0222
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| packet:white-papers:pwp-0222 [2026/04/29 21:24] – created m0lte | packet:white-papers:pwp-0222 [2026/04/29 21:38] (current) – [10. References] m0lte | ||
|---|---|---|---|
| Line 91: | Line 91: | ||
| < | < | ||
| - | | + | .--------------. |
| - | | + | |
| - | | client |<-+->| socket |< | + | | client |<----------->| socket |< |
| - | ' | + | ' |
| - | ' | + | |
| - | | + | |
| </ | </ | ||
| Line 817: | Line 817: | ||
| - Client sends OPEN message, specifying the radio port, plus source and destination calls (including digipeaters if required). | - Client sends OPEN message, specifying the radio port, plus source and destination calls (including digipeaters if required). | ||
| - | - Server immediately replies with OPENREPLY, containing a socket " | + | - Server immediately replies with OPEN_REPLY, containing a socket " |
| - If the connection succeeds, the server asynchronously sends a STATUS message indicating " | - If the connection succeeds, the server asynchronously sends a STATUS message indicating " | ||
| - The client sends data to the connection using SEND messages, the payload of which is JSON-escaped so it can handle full binary. | - The client sends data to the connection using SEND messages, the payload of which is JSON-escaped so it can handle full binary. | ||
| - | - SEND messages are acknowledged using SENDREPLY. | + | - SEND messages are acknowledged using SEND_REPLY. |
| - If the client sends too much data for the AX25 link to handle, the server sends a STATUS message with the BUSY flag set. When clear to send again, the server sends a STATUS message with the BUSY flag unset. | - If the client sends too much data for the AX25 link to handle, the server sends a STATUS message with the BUSY flag set. When clear to send again, the server sends a STATUS message with the BUSY flag unset. | ||
| - Data received from the downlink is sent to the client in RECV messages, with the payload JSON-escaped. | - Data received from the downlink is sent to the client in RECV messages, with the payload JSON-escaped. | ||
| - If the downlink initiates a disconnect, the server sends a STATUS message to the client with the CONNECTED flag set to " | - If the downlink initiates a disconnect, the server sends a STATUS message to the client with the CONNECTED flag set to " | ||
| - | - Alternatively, | + | - Alternatively, |
| ==== 6.2. Incoming Connection ==== | ==== 6.2. Incoming Connection ==== | ||
| Line 830: | Line 830: | ||
| - The client sends an OPEN message, specifying the XRouter PORT number and the local callsign. This creates a " | - The client sends an OPEN message, specifying the XRouter PORT number and the local callsign. This creates a " | ||
| - | - The server responds with an OPENREPLY | + | - The server responds with an OPEN_REPLY |
| - If someone connects to the callsign associated with the socket, the server immediately sends an ACCEPT message to the client, containing the socket handle and the callsign of the connectee. | - If someone connects to the callsign associated with the socket, the server immediately sends an ACCEPT message to the client, containing the socket handle and the callsign of the connectee. | ||
| - The remainder of the connection proceeds as in step 4 of the Outgoing Connection flow above. | - The remainder of the connection proceeds as in step 4 of the Outgoing Connection flow above. | ||
| Line 854: | Line 854: | ||
| ===== 10. References ===== | ===== 10. References ===== | ||
| - | - Dowie P., " | + | [1] Dowie P., " |
| - | - Dowie P., " | + | [2] Dowie P., " |
| ---- | ---- | ||
| //PWP222 Remote Host Protocol Version 2 — June 2023// | //PWP222 Remote Host Protocol Version 2 — June 2023// | ||
packet/white-papers/pwp-0222.1777497842.txt.gz · Last modified: by m0lte
