GetConsumerOBDToDataTable

Returns OBD Data from the requested consumer in a DataTable

public DataTable GetConsumerOBDToDataTable(bool <byHttps>, string <userName>, string <password>, ConsumerOBDParameters <consumerOBDParameters>, string <tableName>, ref char <messageType>, ref string <message>)

Parameters:

bool <byHttps> Set to true if you want to user https protocol otherwise, if you want to use http, set it to false
string <userName> A string containing the username assigned from MyWakes
string <password> A string containing the password for the MyWakes user
ConsumerOBDParameters <consumerOBDParameters> A ConsumerOBDParameters object containing command's specific parameters
string <tableName> A string containing the name of the returned DataTable
ref char <messageType> A string containing output parameter that will return the type of message returned in <message> field: I=information, W=warning, E=error
ref string <message> A string containing output parameter with the message content

ConsumerOBDParameters

UInt32? <Consumer> Consumer Id by which search OBD data
DateTime? <DateTimeFrom> The start of interval of OBD data to search. If no value is set the backend server will return all data from the beginning.
DateTime? <DateTimeTo> The end of interval of OBD data to search. If no value is set the backend server will return all data till the end.
UInt32? <DTConly> Optional. Show only OBD Data that contains Diagnostic Trouble Codes.
UInt32? <MaxItem> Used for paging results. If set returns points less than this value.
Note that order to prevent your system from being flooded with oversized responses, the number of messages that will be returned on a single response is limited to 2000.
UInt32? <MinItem> Used for paging results. If set returns points greater than this value.

Returned Type: DataTable

Returns a DataTable with the following structure:

int <Consumer> Contains the Id of the consumer
int <Type> Contains the type of report: 0=periodical report, 1= real time report
int <Connect> Reports if the device is connected to the vehicle: 0= not connected, 1=connected
int <PowerVoltage> Reports the power voltage coming from the vehicle to the OBD interface
int <EngineRpm> Reports the engine RPM (Revolutions per minute)
decimal <Speed> Contains the vehicle speed
int <EngineCoolantTemperature> Reports the engine coolant temperature
decimal <FuelConsumption> Reports the engine fuel consumption in real time
decimal <DTCsClearedDistance> Reports the distance traveled since last DTC deletion
decimal <MILActivatedDistance> Reports the distance traveled since DTC activation
int <MILStatus> Reports the malfunctioning LED status: 0=off, 1=on
int <ThrottlePosition> The value of throttle position percentage
int <EngineLoad> Engine load percentage
int <FuelLevelInput> The value of fuel level input percentage
DateTime <OBDMessageTime> UCT date and time of OBD sampling
DateTime <CreationDate> UCT date and time of OBD message creation
int <DTCsCount> Total number of DTCs (Diagnostic Trouble Codes) found in OBD sampling
string <DTCsList> If the OBD message contains one or more DTC codes, this string will contain the list of DTC separated by “;”
DataTable <DTCsTable> If the OBD message contains one or more DTC codes, this DataTable object will contain a DTC for each record according to DTCsTable structure

DataTable <DTCsTable>

Returns a single column DataTable object with the following structure:

string <dtc> Contains a DTC (Diagnostic Trouble Code) value
Terms Of Use | Privacy Statement | Company info
  • © Cedac Sistemi srl
  • Head office: Via Toscana, 3 40035 Castiglione dei Pepoli (Italy) Tel.: +39 0534-93811 Fax: +39 0534-93899
  • Branch office: Via del Lavoro, 47 40033 Casalecchio di Reno (Italy)
  • Branch office: Via Parini, 1 40033 Casalecchio di Reno (Italy)
  • Share capital Euro 26,000.00 - Company Register of Bologna / VAT no / fiscal code 01695261204