Wiki source code of get_rs232.asp
Last modified by YellowFox_RD on 2024/12/19 10:11
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="box" %) | ||
2 | (((Table of Contents))) | ||
3 | {{toc/}} | ||
4 | |||
5 | (% class="red mark" %)DEPRECATED(%%) | ||
6 | Get RS-232 data | ||
7 | |||
8 | = Description = | ||
9 | **get_rs232.asp****?company**=//COMPANY_RTIKEY//**&vehicle**=//VEHICLE_RTIKEY//**&begin**=//YYYYMMDDHHMM//**&end**=//YYYYMMDDHHMM**&mode**=CSV// | ||
10 | = Parameters = | ||
11 | |=parameter|=description|=type|=note|=mandatory | ||
12 | |company|RTI company key|string||yes | ||
13 | |vehicle|RTI vehicle key|string||yes | ||
14 | |begin|start of interval|datestring|format: YYYYMMDDHHMMSS | ||
15 | maximal allowed range of 7 days between begin and end|yes | ||
16 | |end|end of interval|datestring|format: YYYYMMDDHHMMSS | ||
17 | maximal allowed range of 7 days between begin and end|yes | ||
18 | |mode|return format|string|csv (default)|no | ||
19 | |||
20 | = Return = | ||
21 | Return a **string**. In case of error "(% class="error" %)**ERROR:Description**(%%)" will be returned. | ||
22 | == CSV format == | ||
23 | === meta data === | ||
24 | |=delimiter|Comma ( , ) | ||
25 | |=text delimiter|double quote ( " ) | ||
26 | |=line end|0x0D 0x0A (CarriageReturn LineFeed) | ||
27 | |=header|first line | ||
28 | |||
29 | === Columns === | ||
30 | |=column|=description|= | ||
31 | |DATE|GPS date when measurement was created|YYYYMMDDHHMMSS | ||
32 | |CAR|license|String | ||
33 | |SERIALOUTPUT|Rs232 data|String | ||
34 | |||
35 | === Example === | ||
36 | == CSV format == | ||
37 | |||
38 | {{code language="java"}}DATE,CAR,SERIALOUTPUT | ||
39 | 20151023143012,DD-ABC 123,"PNA|0||39|4061|ga:102|0|*" | ||
40 | 20151023143024,DD-ABC 123,"PNA|0||39|4042|ga:103|0|*"{{/code}} | ||
41 | |||
42 | = Examples = | ||
43 | **return RS-232 data** | ||
44 | {{code language="java"}}https://map.yellowfox.de/rti/get_rs232.asp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&begin=20151020000000&end=20151020235959&mode=CSV{{/code}} | ||
45 |