Difference between revisions of "TCP Server"
From DDUtilV3
(Created page with "==General== Allows third party Ethernet clients to remotely control '''DDUtil_V3''' functionality. ==Setup== ===Connection=== Connections are restricted the Local Area Netwo...") |
(→Commands) |
||
Line 10: | Line 10: | ||
===Commands=== | ===Commands=== | ||
− | |||
− | GETSLICE - Gets frequency of slice n (n = 0-7) | + | '''GETSLICE''' - Gets frequency of slice n (n = 0-7) |
− | '''Form:''' | + | '''Form:''' GETSLICE P1 \r\n |
− | '''Parm:''' | + | '''Parm:''' P1 = Slice number 0-7 |
− | '''Uses:''' | + | '''Uses:''' GETSLICE2\r\n |
− | '''Rtrn:''' | + | '''Rtrn:''' Slice2:00014123456 |
− | SETSLICE - Sets frequency | + | '''SETSLICE''' - Sets frequency of slice n (n = 0-7) |
− | + | '''Form:''' SETSLICE P1 \r\n | |
+ | '''Parm:''' P1 = Slice number 0-7 | ||
+ | '''Uses:''' SETSLICE2\r\n | ||
+ | '''Rtrn:''' ACK | ||
− | GETROTOR - Gets | + | '''GETROTOR''' - Gets Rotor position |
− | GETROTOR \r\n | + | '''Form:''' GETROTOR \r\n |
+ | '''Uses:''' GETROTOR\r\n | ||
+ | '''Rtrn:''' Head:045 | ||
− | SETROTOR - | + | '''SETROTOR''' - Sets Rotor position |
− | SETROTOR n{ | + | '''Form:''' SETROTOR \r\n |
+ | '''Uses:''' SETROTOR045\r\n | ||
+ | '''Rtrn:''' Head:045 (when finished turning) | ||
+ | |||
+ | '''TOGGLEPTT''' - Toggle Auto Drive Oper/Stby (PTT) | ||
+ | '''Form:''' TOGGLEPTT \r\n | ||
+ | '''Uses:''' TOGGLEPTT\r\n | ||
+ | '''Rtrn:''' PTT:{Oper|Stby} | ||
+ | |||
+ | '''A95PWR''' - A9500 Amp Power On | ||
+ | '''Form:''' A95PWR \r\n | ||
+ | '''Uses:''' A95PWR\r\n | ||
+ | '''Rtrn:''' ACK | ||
− | + | '''A95AUX''' - A9500 Aux Power On / PowerOff | |
− | + | '''Form:''' A95AUX \r\n | |
+ | '''Uses:''' A95AUX\r\n | ||
+ | '''Rtrn:''' ACK | ||
− | + | '''A95AUTO''' - A9500 Auto Mode On/Off (toggle) | |
− | + | '''Form:''' A95AUTO \r\n | |
+ | '''Uses:''' A95AUTO\r\n | ||
+ | '''Rtrn:''' ACK | ||
− | + | '''A95ANT''' - A9500 Antenna Select (steps 1-4) | |
− | + | '''Form:''' A95ANT \r\n | |
+ | '''Uses:''' A95ANT\r\n | ||
+ | '''Rtrn:''' ACK | ||
− | + | '''A95MODE''' - A9500 Oper/Stby (toggle) | |
− | + | '''Form:''' A95MODE \r\n | |
− | + | '''Uses:''' A95MODE\r\n | |
− | + | '''Rtrn:''' ACK | |
− | + | ||
− | + | ||
− | + | ||
− | A95MODE \r\n | + |
Revision as of 10:26, 7 September 2013
Contents
General
Allows third party Ethernet clients to remotely control DDUtil_V3 functionality.
Setup
Connection
Connections are restricted the Local Area Network (LAN) that DDUtil is connected to.
- Use the IP address of the host PC DDUtil is open on; i.e. 192.168.1.xxx.
- Use port 5678
Commands
GETSLICE - Gets frequency of slice n (n = 0-7) Form: GETSLICE P1 \r\n Parm: P1 = Slice number 0-7 Uses: GETSLICE2\r\n Rtrn: Slice2:00014123456
SETSLICE - Sets frequency of slice n (n = 0-7) Form: SETSLICE P1 \r\n Parm: P1 = Slice number 0-7 Uses: SETSLICE2\r\n Rtrn: ACK
GETROTOR - Gets Rotor position Form: GETROTOR \r\n Uses: GETROTOR\r\n Rtrn: Head:045
SETROTOR - Sets Rotor position Form: SETROTOR \r\n Uses: SETROTOR045\r\n Rtrn: Head:045 (when finished turning)
TOGGLEPTT - Toggle Auto Drive Oper/Stby (PTT) Form: TOGGLEPTT \r\n Uses: TOGGLEPTT\r\n Rtrn: PTT:{Oper|Stby}
A95PWR - A9500 Amp Power On Form: A95PWR \r\n Uses: A95PWR\r\n Rtrn: ACK
A95AUX - A9500 Aux Power On / PowerOff Form: A95AUX \r\n Uses: A95AUX\r\n Rtrn: ACK
A95AUTO - A9500 Auto Mode On/Off (toggle) Form: A95AUTO \r\n Uses: A95AUTO\r\n Rtrn: ACK
A95ANT - A9500 Antenna Select (steps 1-4) Form: A95ANT \r\n Uses: A95ANT\r\n Rtrn: ACK
A95MODE - A9500 Oper/Stby (toggle) Form: A95MODE \r\n Uses: A95MODE\r\n Rtrn: ACK