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/Packets/TxUpdate
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}} {{SimTX packet v24 | name = TxUpdate | id = 19 | hex = 0x13 | direction = c2s | session = [[SimTX API v24/Transmitter session|Transmitter]] | size = 1 + 9 Γ count bytes | permission = None | reply = [[SimTX API v24/Packets/TxUpdateAck|TxUpdateAck]] | group = transmitter }} '''TxUpdate''' changes transmitter settings while the station is on air, without reconnecting. It uses the same field IDs as the [[SimTX API v24/Packets/TransmitterSessionRequest|TransmitterSessionRequest]], restricted to numeric fields. The server answers every TxUpdate with a [[SimTX API v24/Packets/TxUpdateAck|TxUpdateAck]]. == Layout == {| class="wikitable" ! Field !! Type !! Description |- | <code>packetId</code> || <code>u8</code> || Always <code>19</code>. |- | <code>count</code> || <code>u8</code> || Number of fields, 1β64. |- | <code>fields</code> || <code>count Γ { u8 fieldId, i32 length, f32 value }</code> || <code>length</code> must be 4. A field with any other length (up to 1,024) is skipped. |} == Live fields == {| class="wikitable" ! ID !! Field !! Accepted values |- | 5 || <code>frequencyHz</code> || 1,000 Hz to 3 GHz. Outside: refused. |- | 6 || <code>powerWatts</code> || β₯ 0. Reduced to at most 1,000,000 W and to the account's <code>tx.pa_limit</code>. Negative: refused. |- | 10 || <code>txBandwidthHz</code> || 10 Hz to 10 MHz. Outside: refused. |- | 11 || <code>audioLowCutHz</code> || β₯ 0; values above 5,000 are reduced to 5,000. Negative: refused. |- | 14 || <code>finalDriveDb</code> || β40 to 40 (clamped). |- | 15 || <code>paHeadroomDb</code> || 0.1 to 40. |- | 16 || <code>audioCompressionDb</code> || 0 to 30. |} Any other field ID is refused in the acknowledgement. Changing the modulation, sample rate, source, location or antenna requires a new session. == Rate limits == * If any update was applied less than 250 ms earlier, the whole packet is refused. * A frequency change is refused if the previous frequency change was less than 1 second earlier. * Refused fields are reported in the ack with <code>accepted = false</code>. They are not queued; send them again later. * At most 16 acknowledgements may be outstanding. A client that keeps sending updates without reading acks is disconnected. == Example == Set power to 50 W and frequency to 7.074 MHz: <syntaxhighlight lang="text"> 13 packetId 19 02 count 2 06 00 00 00 04 42 48 00 00 field 6, length 4, 50.0 05 00 00 00 04 4A D7 E1 A0 field 5, length 4, 7074000.0 </syntaxhighlight> == See also == * [[SimTX API v24/Transmitter session#Live updates|Live updates]] {{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
)
Template:SimTX packet v24
(
edit
)