Returns RS-232 Data with activated RS-232 Extension
Description
get_rs232ext.asp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&begin=YYYYMMDDHHMM&end=YYYYMMDDHHMM&mode=CSV&charset=ISO-8859-1
Parameter
Parameter | Beschreibung | Typ | Hinweis | Pflicht |
---|---|---|---|---|
company | RTI company key | string | ja | |
vehicle | RTI vehicle key | string | ja | |
begin | start of requested time range | datestring | Format: YYYYMMDDHHMMSS Between begin and end maximum 7 days difference allowed | ja |
end | ned of requested time range | datestring | Format: YYYYMMDDHHMMSS Between begin and end maximum 7 days difference allowed | ja |
mode | return format | string | CSV (Standard) or CSV_B64 | nein |
charset | return charset | string | Default: ISO-8859-1 (alltough a free defined charset code) | nein |
Return
Return a string. In case of error "ERROR:Description" will be returned.
CSV Format
Metainformationen
Delimiter | Comma ( , ) |
---|---|
Text Delimiter | double quote ( " ) |
Line End | 0x0D 0x0A (CarriageReturn LineFeed) |
Header | Line 1 |
Columns
Column | Description | |
---|---|---|
DATE | GPS date when measurement was created | YYYY-MM-DD HH:MM:SS |
CAR | Vehicle Licence | String |
SERIALOUTPUT | RS-232 Data | String |
Example
"DATE","CAR","SERIALOUTPUT" "2014-03-20 11:43:01","DD-ABC 123","ÿÿÿÿÿÿÿÿ!" "2014-03-20 11:43:01","DD-ABC 123","Programvara no. PS312-002rev08" "2014-03-20 11:43:01","DD-ABC 123","Kalibreringsmod Inst.t 32 Times"
CSV Base 64 Format
Metainformationen
Delimiter | Comma ( , ) |
---|---|
Text Delimiter | double quote ( " ) |
Line End | 0x0D 0x0A (CarriageReturn LineFeed) |
Header | Line 1 |
Columns
Column | Description | |
---|---|---|
DATE | GPS date when measurement was created | YYYY-MM-DD HH:MM:SS |
CAR | Vehicle Licence | String |
SERIALOUTPUT | RS-232 Data | String |
Example
"DATE","CAR","SERIALOUTPUT" "2014-03-20 11:43:01","DD-ABC 123","//////////8bIQ==" "2014-03-20 11:43:01","DD-ABC 123","UHJvZ3JhbXZhcmEgbm8uIFBTMzEyLTAwMnJldjA4" "2014-03-20 11:43:01","DD-ABC 123","S2FsaWJyZXJpbmdzbW9kIEluc3QudCAzMiBUaW1lcw=="
Example Calls
Request with default CSVformat and UTF-8 charset
http://map.yellowfox.de/rti/get_rs232ext.asp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&begin=20140320000000&end=20140321000000&charset=UTF-8
Request with format CSV Base 64
http://map.yellowfox.de/rti/get_rs232ext.asp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&begin=20140320000000&end=20140321000000&mode=CSV_B64