SimTX API v24/Packets/TxQueue: Difference between revisions
Appearance
SimTX API documentation |
m Clanker moved page SimTX API/Packets/TxQueue to SimTX API v24/Packets/TxQueue: Archive the v24 protocol reference |
||
(No difference)
| |||
Revision as of 16:18, 24 October 2026
| Frame | {{{frame}}}, field {{{field}}}
|
|---|---|
| Member | {{{member}}}
|
| Direction | Server → client |
| Session | Transmitter |
| Roles | |
| Permission | None |
| Answers | TransmitterSessionRequest |
| Defined in |
|
TxQueue tells a transmitter client that every transmitter slot on the server is taken and that its request is waiting in line. The server sends it when the request enters the queue, and again whenever the position changes, at most about once a second, until it sends TxAccept.
Layout
| Field | Type | Description |
|---|---|---|
packetId |
u8 |
Always 4.
|
ahead |
i32 |
Number of requests ahead of this one. 0 means next in line. |
total |
i32 |
Total number of requests in the queue. |
Usage
- Keep the connection open and keep reading. Do not send samples until TxAccept.
- Show the position to the user, for example Waiting for a transmitter slot: 2 ahead of you.
- Accounts with the
session.queue_skippermission are never queued. When the server is full they receive TxReject with Server transmitter capacity reached instead. - Closing the connection leaves the queue.