Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
SimTX Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
SimTX API v24/Packet list
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{SimTX API v24 navigation}} This page lists every packet of the [[SimTX API v24]] game protocol, version 24. Client-to-server and server-to-client packets have separate ID spaces, so the same number can mean different things in each direction: ID 1 is [[SimTX API v24/Packets/ReceiverSessionRequest|ReceiverSessionRequest]] when the client sends it and [[SimTX API v24/Packets/IqStreamDescriptor|IqStreamDescriptor]] when the server does. == Framing == After the [[SimTX API v24/Packets/Handshake|handshake]], every packet in either direction is: <syntaxhighlight lang="text"> u8 packetId ... body, as defined on the packet's page </syntaxhighlight> There is '''no length prefix'''. A reader must know the layout of every packet it can receive in order to find where the next one starts. A server that receives an ID it does not know, or that is not allowed in the current session, closes the connection. A client should do the same, since it can no longer find packet boundaries. The handshake itself has no packet ID byte from the client. The server's reply, [[SimTX API v24/Packets/HandshakeResult|HandshakeResult]], does carry its ID (30). == Client to server == {| class="wikitable sortable" ! ID !! Hex !! Packet !! Session !! Summary |- | β || β || [[SimTX API v24/Packets/Handshake|Handshake]] || All || Opens the connection: magic, version, role and credential. |- | 1 || 0x01 || [[SimTX API v24/Packets/ReceiverSessionRequest|ReceiverSessionRequest]] || Receiver || Station, antenna and tuning for a receiver. |- | 2 || 0x02 || [[SimTX API v24/Packets/TransmitterSessionRequest|TransmitterSessionRequest]] || Transmitter || Station, antenna, mode and power for a transmitter. |- | 3 || 0x03 || [[SimTX API v24/Packets/SampleBlock|SampleBlock]] || Transmitter || Audio or IQ samples to transmit. |- | 4 || 0x04 || [[SimTX API v24/Packets/ListStations|ListStations]] || Control || Requests the station list. |- | 5 || 0x05 || [[SimTX API v24/Packets/KickRequest|KickRequest]] || Moderation || Disconnects stations. |- | 6 || 0x06 || [[SimTX API v24/Packets/StartMonitor|StartMonitor]] || Control || Starts monitoring a transmitter's output. |- | 7 || 0x07 || [[SimTX API v24/Packets/StopMonitor|StopMonitor]] || Control || Stops monitoring. |- | 8 || 0x08 || [[SimTX API v24/Packets/WeatherMapRequest|WeatherMapRequest]] || Control || Requests a tropospheric weather raster. |- | 9 || 0x09 || [[SimTX API v24/Packets/IpModerationRequest|IpModerationRequest]] || Moderation || Bans or unbans an IP address. |- | 10 || 0x0A || [[SimTX API v24/Packets/ServerHealthRequest|ServerHealthRequest]] || Control || Requests a server health report. |- | 11 || 0x0B || [[SimTX API v24/Packets/ForwardedClientAddress|ForwardedClientAddress]] || Receiver || Real client address, sent by trusted proxies. |- | 12 || 0x0C || [[SimTX API v24/Packets/BroadcastBanner|BroadcastBanner]] || Moderation || Shows a banner to every control client. |- | 13 || 0x0D || [[SimTX API v24/Packets/ReceiverRetune|ReceiverRetune]] || Receiver || Changes the receiver's centre frequency. |- | 14 || 0x0E || [[SimTX API v24/Packets/TxModeInfo|TxModeInfo]] || Transmitter || Declares a custom mode name and bandwidth. |- | 19 || 0x13 || [[SimTX API v24/Packets/TxUpdate|TxUpdate]] || Transmitter || Changes transmitter settings while on air. |- | 20 || 0x14 || [[SimTX API v24/Packets/CatalogListRequest|CatalogListRequest]] || Control || Requests the extension catalog index. |- | 21 || 0x15 || [[SimTX API v24/Packets/CatalogFetch|CatalogFetch]] || Control || Downloads one catalog entry. |- | 22 || 0x16 || [[SimTX API v24/Packets/CatalogUpload|CatalogUpload]] || Control || Publishes an extension or preset. |- | 24 || 0x18 || [[SimTX API v24/Packets/CoverageMapRequest|CoverageMapRequest]] || Control || Requests a predicted coverage raster. |- | 26 || 0x1A || [[SimTX API v24/Packets/CatalogDelete|CatalogDelete]] || Control || Deletes a catalog entry. |} IDs 15 to 18, 23 and 25 are unassigned in this direction. == Server to client == {| class="wikitable sortable" ! ID !! Hex !! Packet !! Session !! Summary |- | 1 || 0x01 || [[SimTX API v24/Packets/IqStreamDescriptor|IqStreamDescriptor]] || Receiver || Negotiated sample rate, block size and format. |- | 2 || 0x02 || [[SimTX API v24/Packets/IqBlock|IqBlock]] || Receiver || One block of received IQ samples. |- | 3 || 0x03 || [[SimTX API v24/Packets/TxAccept|TxAccept]] || Transmitter || The transmitter is on air. |- | 4 || 0x04 || [[SimTX API v24/Packets/TxQueue|TxQueue]] || Transmitter || Position in the transmitter queue. |- | 5 || 0x05 || [[SimTX API v24/Packets/TxReject|TxReject]] || Transmitter || The request was refused. |- | 6 || 0x06 || [[SimTX API v24/Packets/TxKick|TxKick]] || Transmitter || The transmitter was taken off air. |- | 7 || 0x07 || [[SimTX API v24/Packets/TxTelemetry|TxTelemetry]] || Transmitter || Power, SWR, temperature and buffer level. |- | 8 || 0x08 || [[SimTX API v24/Packets/ControlAck|ControlAck]] || Control || The control session is ready. |- | 9 || 0x09 || [[SimTX API v24/Packets/StationList|StationList]] || Control || All stations on the server. |- | 10 || 0x0A || [[SimTX API v24/Packets/MonitorBlock|MonitorBlock]] || Control || Samples of a monitored transmitter. |- | 11 || 0x0B || [[SimTX API v24/Packets/MonitorEnd|MonitorEnd]] || Control || Monitoring has ended. |- | 12 || 0x0C || [[SimTX API v24/Packets/ModerationError|ModerationError]] || Moderation || A moderation request failed. |- | 13 || 0x0D || [[SimTX API v24/Packets/KickResult|KickResult]] || Moderation || Number of sessions kicked. |- | 14 || 0x0E || [[SimTX API v24/Packets/WeatherMapResponse|WeatherMapResponse]] || Control || Weather raster and conditions at its centre. |- | 15 || 0x0F || [[SimTX API v24/Packets/IpModerationResult|IpModerationResult]] || Moderation || Outcome of an IP ban or unban. |- | 16 || 0x10 || [[SimTX API v24/Packets/ServerHealthReport|ServerHealthReport]] || Control || Server load and session statistics. |- | 17 || 0x11 || [[SimTX API v24/Packets/Banner|Banner]] || Control || Server-wide notice to display. |- | 18 || 0x12 || [[SimTX API v24/Packets/StationImpactList|StationImpactList]] || Moderation || Interference analysis of transmitters. |- | 21 || 0x15 || [[SimTX API v24/Packets/CatalogUploadResult|CatalogUploadResult]] || Control || Outcome of a catalog upload. |- | 23 || 0x17 || [[SimTX API v24/Packets/TxUpdateAck|TxUpdateAck]] || Transmitter || Outcome of each field of a TxUpdate. |- | 24 || 0x18 || [[SimTX API v24/Packets/CatalogList|CatalogList]] || Control || The extension catalog index. |- | 25 || 0x19 || [[SimTX API v24/Packets/CatalogEntry|CatalogEntry]] || Control || The files of one catalog entry. |- | 27 || 0x1B || [[SimTX API v24/Packets/CoverageMapResponse|CoverageMapResponse]] || Control || Predicted coverage raster. |- | 29 || 0x1D || [[SimTX API v24/Packets/CatalogDeleteResult|CatalogDeleteResult]] || Control || Outcome of a catalog delete. |- | 30 || 0x1E || [[SimTX API v24/Packets/HandshakeResult|HandshakeResult]] || All || Accepts or rejects the handshake. |- | 31 || 0x1F || [[SimTX API v24/Packets/TimedIqBlock|TimedIqBlock]] || Receiver || IQ block with a UTC timestamp. |} IDs 19, 20, 22, 26 and 28 are unassigned in this direction. == By session == * [[SimTX API v24/Receiver session|Receiver session]]: roles 1 and 6. * [[SimTX API v24/Transmitter session|Transmitter session]]: roles 2 and 3. * [[SimTX API v24/Control session|Control session]]: role 4, including the [[SimTX API v24/Extension catalog protocol|extension catalog]]. * [[SimTX API v24/Moderation session|Moderation session]]: role 5. The packet pages are also grouped in [[:Category:SimTX API v24 packets]]. {{SimTX API v24 navbox}} [[Category:SimTX API v24]]
Summary:
Please note that all contributions to SimTX Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
SimTX Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:SimTX API v24 navbox
(
edit
)
Template:SimTX API v24 navigation
(
edit
)