Calian SatService sat-nms Manuel de l'utilisateur - Page 11
Parcourez en ligne ou téléchargez le pdf Manuel de l'utilisateur pour {nom_de_la_catégorie} Calian SatService sat-nms. Calian SatService sat-nms 17 pages. Power sensor
4 Remote Control
The sat-nms power sensor may be controlled remotely by a monitoring and control application through the
TCP/IP interface. All communication with the power sensor is made with HTTP get requests. This section
gives a detailed description how to read out the power sensor's measurement values and how to set it's
operational parameters
4.1 HTTP Protocol
The power sensor implements the 'Hypertext Transfer Protocol' (HTTP, RFC-1945) both, for the user
interface and for the M&C interface. All communication, even setting operational parameters, is done with
HTTP GET requests. For the user interface, the power sensor replies to requests with HTML pages which
display the requested information in a web browser. For the M&C interface, the power sensor replies to
requests with an one line text document.
Command parameters to the power sensor are appended as CGI form parameters to the URL (see RFC-
1738). The first parameter always is 'fmt=txt' which tells the unit to reply a one line text document instead of
a voluminous HTML page.
4.2 The 'read' command
To read the measurement value from the power sensor, request the 'read' document with a HTTP GET
command. The path which must be sent with the GET request is
/read?fmt=txt
Assuming the power sensor listens to the IP address 10.0.0.1, the complete URL for the request is:
http://10.0.0.1/read?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 power sensor answers a 'text/plain' type document which consist 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.
dbms=-12.34&adcv=12345&temp=22.5&sens=LOW&tflt=OK
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
t h e values in the line. Future version of the power sensor may provide additional values which not
necessarily will appear at the end of the line.
The table below describes the values included in this message:
dbms The calibrated / temperature compensated power reading in dBm. Any user supplied offset or
frequency response compensation is included in this value.
adcv
The raw ADC value without any calibration or compensation applied. The value is in the range 0
.. 65535.
(C) 2020, SatService GmbH
www.satnms.com
PS-UM-2002 Page 10/16