SimTX API/Packets/MonitorAck: Difference between revisions
Appearance
Protocol v25 reference |
Remove development history and server internals |
||
| Line 36: | Line 36: | ||
== Example == | == Example == | ||
Complete frames, including the varint length prefix | Complete frames, including the varint length prefix. | ||
'''<code>monitor_ack_started</code>''' (server to client, 26 bytes): | '''<code>monitor_ack_started</code>''' (server to client, 26 bytes): | ||
Latest revision as of 17:16, 24 October 2026
| Frame | ServerFrame, field 42
|
|---|---|
| Member | monitor_ack
|
| Direction | Server → client |
| Session | Control, moderation |
| Roles | ROLE_CONTROL, ROLE_MODERATION.
|
| Permission | None |
| Answers | StartMonitor, StopMonitor |
| Defined in | control.proto
|
MonitorAck confirms a StartMonitor (active = true) or a StopMonitor (active = false).
Definition[edit | edit source]
message MonitorAck {
int64 request_id = 1;
bytes session_id = 2;
bool active = 3; // true: the monitor runs; false: it is stopped
}
Fields[edit | edit source]
| # | Field | Type | Description |
|---|---|---|---|
| 1 | request_id |
int64 |
The request this answers. |
| 2 | session_id |
bytes |
The monitored transmitter. |
| 3 | active |
bool |
True: the monitor runs. False: it is stopped. |
Example[edit | edit source]
Complete frames, including the varint length prefix.
monitor_ack_started (server to client, 26 bytes):
19 frame length 25
D2 02 16 monitor_ack (MonitorAck), 22 bytes
08 2C request_id = 44
12 10 AA AA AA AA … session_id = aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee
18 01 active = true