For TCP/IP exporters you can additionally send commands to the TCP socket to control exporters remotely when connected.
Getting Info
To get info about the exporter send the following command:
GETINFO\n
The response looks like this:
{
"Command": "GETINFO",
"Exporter": {
"ID": 8,
"Name": "PacketSender Home",
"Filter": "",
"TriggerTimingPoint": "",
"TriggerResultID": 0,
"DestinationType": "TCPIP",
"Destination": "192.168.178.25:54696",
"Data": "[RD_ID] \u0026 \";\" \u0026 if([RD_Transponder]\u003c\u003e\"\";[RD_Transponder];[RD_IDBib]) \u0026 \";;\" \u0026 format([RD_Time];\"hh:mm:ss.kkk\") \u0026 \";\" \u0026 [RD_OrderID] \u0026 \";\" \u0026 [RD_Hits] \u0026 \";\" \u0026 [RD_RSSI] \u0026 \";;\" \u0026 if([RD_LoopID]\u003e0;1;0) \u0026 \";\" \u0026 [RD_ChannelID] \u0026 \";\" \u0026 [RD_LoopID] \u0026 \";;\" \u0026 [RD_WakeupCounter] \u0026 \";\" \u0026 ([RD_Battery]/10) \u0026 \";\" \u0026 ([RD_Temperature]-100) \u0026 \";\" \u0026 [RD_StatusFlags] \u0026 \";\" \u0026 [RD_DecoderName]",
"MTB": 0,
"MQL": 0,
"LineEnding": "LF",
"OrderPos": 7000
},
"Paused": false,
}
Stop Command
This command stops the exporter at any time.
STOP\n
Normal response:
{"Command": "STOP",}
Error response:
{"Command": "STOP","Error": "Some error message" }
Pause Command
This command pauses the exporter at any time.
Command
PAUSE\nResponds with:
{"Command": "PAUSE","Paused": true }
Resume Command
This command resumes the exporter at any time.
Command:
RESUME\n
Responds with:
{"Command": "RESUME","Paused": false }
Note: if the connection breaks while in "paused" mode it will not be reopened unless there is new data to write. If you want to resume you need to wait for the connection to re-establish.
Replay Command
This command allows you to replay the exporter at any time.
Command:
REPLAY\n
Normal response:
{"Command": "REPLAY",}
Error response:
{"Command": "REPLAY","Error": "Some error message" }