Wiki source code of get_rs232ext.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 | Returns RS-232 Data with activated RS-232 Extension | ||
7 | = Description = | ||
8 | **get_rs232ext.asp****?company**=//COMPANY_RTIKEY//**&vehicle**=//VEHICLE_RTIKEY//**&begin**=//YYYYMMDDHHMM//**&end**=//YYYYMMDDHHMM//**&mode**//=CSV//**&charset**//=ISO-8859-1// | ||
9 | = Parameter = | ||
10 | |=Parameter|=Beschreibung|=Typ|=Hinweis|=Pflicht | ||
11 | |company|RTI company key|string||ja | ||
12 | |vehicle|RTI vehicle key|string||ja | ||
13 | |begin|start of requested time range|datestring|Format: YYYYMMDDHHMMSS | ||
14 | Between begin and end maximum 7 days difference allowed|ja | ||
15 | |end|ned of requested time range|datestring|Format: YYYYMMDDHHMMSS | ||
16 | Between begin and end maximum 7 days difference allowed|ja | ||
17 | |mode|return format|string|CSV (Standard) or CSV_B64|nein | ||
18 | |charset|return charset|string|Default: ISO-8859-1 (alltough a free defined charset code)|nein | ||
19 | |||
20 | = Return = | ||
21 | Return a **string**. In case of error "(% class="error" %)**ERROR:Description**(%%)" will be returned. | ||
22 | == CSV Format == | ||
23 | === Metainformationen === | ||
24 | |=Delimiter|Comma ( , ) | ||
25 | |=Text Delimiter|double quote ( " ) | ||
26 | |=Line End|0x0D 0x0A (CarriageReturn LineFeed) | ||
27 | |=Header|Line 1 | ||
28 | |||
29 | === Columns === | ||
30 | |=Column|=Description|= | ||
31 | |DATE|GPS date when measurement was created|YYYY-MM-DD HH:MM:SS | ||
32 | |CAR|Vehicle Licence|String | ||
33 | |SERIALOUTPUT|RS-232 Data|String | ||
34 | |||
35 | === Example === | ||
36 | |||
37 | {{code language="java"}}"DATE","CAR","SERIALOUTPUT" | ||
38 | "2014-03-20 11:43:01","DD-ABC 123","ÿÿÿÿÿÿÿÿ!" | ||
39 | "2014-03-20 11:43:01","DD-ABC 123","Programvara no. PS312-002rev08" | ||
40 | "2014-03-20 11:43:01","DD-ABC 123","Kalibreringsmod Inst.t 32 Times"{{/code}} | ||
41 | |||
42 | == CSV Base 64 Format == | ||
43 | === Metainformationen === | ||
44 | |=Delimiter|Comma ( , ) | ||
45 | |=Text Delimiter|double quote ( " ) | ||
46 | |=Line End|0x0D 0x0A (CarriageReturn LineFeed) | ||
47 | |=Header|Line 1 | ||
48 | |||
49 | === Columns === | ||
50 | |=Column|=Description|= | ||
51 | |DATE|GPS date when measurement was created|YYYY-MM-DD HH:MM:SS | ||
52 | |CAR|Vehicle Licence|String | ||
53 | |SERIALOUTPUT|RS-232 Data|String | ||
54 | |||
55 | === Example === | ||
56 | |||
57 | {{code language="java"}}"DATE","CAR","SERIALOUTPUT" | ||
58 | "2014-03-20 11:43:01","DD-ABC 123","//////////8bIQ==" | ||
59 | "2014-03-20 11:43:01","DD-ABC 123","UHJvZ3JhbXZhcmEgbm8uIFBTMzEyLTAwMnJldjA4" | ||
60 | "2014-03-20 11:43:01","DD-ABC 123","S2FsaWJyZXJpbmdzbW9kIEluc3QudCAzMiBUaW1lcw=="{{/code}} | ||
61 | |||
62 | = Example Calls = | ||
63 | **Request with default CSVformat and UTF-8 charset** | ||
64 | {{code language="java"}}https://map.yellowfox.de/rti/get_rs232ext.asp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&begin=20140320000000&end=20140321000000&charset=UTF-8{{/code}} | ||
65 | |||
66 | **Request with format CSV Base 64** | ||
67 | {{code language="java"}}https://map.yellowfox.de/rti/get_rs232ext.asp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&begin=20140320000000&end=20140321000000&mode=CSV_B64{{/code}} | ||
68 |