Controller Area Network (CAN) bus data refers to information transmitted between electronic control units (ECUs) in a vehicle. CAN bus data include messages that contain information about the vehicle's status such as vehicle speed, engine RPM and vehicle peripherals state i.e., throttle position, wheels speed, coolant temperature, and other parameters depending on the specific ECUs installed in the vehicle. This data is crucial for vehicle diagnostics, monitoring, and control, and it can be utilized for various purposes such as vehicle performance analysis, fleet management, and advanced driver assistance systems (ADAS).
SmarterAI dashcams, when connected to vehicles through a Smart Cable, can capture these CAN bus messages throughout trips and subsequently transmit them to the SmarterAI cloud at 2-minute intervals. This data remains stored for 30 days and can be accessed via the provided REST APIs, enabling users to conduct further analysis as needed.
The stored data can be requested based on the data label (e.g., PID) and bundled into .tar.gz archives, wherein each archive comprises a solitary "datalabel.txt" text file. These archives adhere to the naming convention of "FirstSampleTimestamp-LastSampleTimestamp.tar.gz". The mapping of PID to the label is specified in the CAN decoder DBC file which is deployed to the dashcam from the SmarterAI dashboard.
The decompressed data text file contains one data sample per line, formatted as "UTC_Timestamp, Topic_name, Number_of_entries, [values]". For an instance:
1713890780506 OxySensor4_Volt 1 0.000000
1713890781760 OxySensor4_Volt 1 0.000000
1713890783270 OxySensor4_Volt 1 0.000000
1713890784760 OxySensor4_Volt 1 0.000000
1713890786268 OxySensor4_Volt 1 0.000000