7.5 One line read via TCP/IP

For compatibility with the sat-nms power sensor, the ACU also may be polled for an automated monitoring by the requesting the ‘position’ document with a HTTP GET command. Assuming the ACU listens to the IP address 10.0.0.1, the complete URL for the request is:

http://10.0.0.1/point?fmt=txt

The ‘fmt=txt’ parameter forces the power sensor to reply a one line text document rather than the HTML coded page which is normally displayed by the web browser.

The ACU answers a ‘text/plain’ type document which consists of one line. As shown in the example below, the line consists of a set of keyword - value pairs, separated by ‘&’ characters. Within each pair, keyword and value are separated by the ‘=’ character.

apos=174.688&epos=31.456&ppos=-34.5&atar=174.700&etar=31.500&ptar=-34.5&blev=-64.33&temp=63.5&obit=FFFF0000&ibit=FFFF0000&

4-axis version of the ACU return an extended string with the information for the second polarization axis added:

apos=174.688&epos=31.456&ppos=-34.5&qpos=-22.4&atar=174.700&etar=31.500&ptar=-34.5&qtar=-22.4&blev=-64.33&temp=63.5&obit=FFFF0000&obi2=F0&ibit=FFFF0000&ibi2=FF00&

The format does not use fixed column widths for the values, however the precision of floating point values is always as shown in the example. An application which parses this string should not rely on the order of the values in the line. Future version of the ACU may provide additional values which not necessarily will appear at the end of the line. A description of the parameters is given in the chapter Parameter list above.