DLTcollab / tangle-accelerator

Accelerate IOTA transactions by caching API requests and redirecting to faster alternatives
MIT License
23 stars 16 forks source link

feat(Endpoint): Send OBD2 data via MAM #753

Closed splasky closed 3 years ago

splasky commented 4 years ago

The OBD2 dataset fetch from the OBD2 monitor would send OBD2 data via the endpoint core. The data format show as the following:

// json format
{ 
"timestamp": 1600756069,
"device_id": "AAAAAAAAAAAAAAAA",
"data" : { 
        "vin": (uint32_t),
        "engine_load": (uint32_t),
        "engine_coolant_temperature": (uint32_t),
        "fuel_pressure": (uint32_t),
        "engine_speed": (uint32_t),
        "vehicle_speed": (uint32_t),
        "intake_air_temperature": (uint32_t),
        "mass_air_flow": (uint32_t),
        "fuel_tank_level_input": (uint32_t),
        "absolute_barometric_pressure": (uint32_t),
        "control_module_voltage": (uint32_t),
        "throttle_position": (uint32_t),
        "ambient_air_temperature": (uint32_t),
        "relative_accelerator_pedal_position": (uint32_t),
        "engine_oil_temperature": (uint32_t),
        "engine_fuel_rate": (uint32_t),
        "service_distance": (uint32_t),
        "anti_lock_barking_active": (uint32_t),
        "steering_wheel_angle": (uint32_t),
        "position_of_doors": (uint32_t),
        "right_left_turn_signal_light": (uint32_t),
        "alternate_beam_head_light": (uint32_t),
        "high_beam_head_light": (uint32_t),
 }
}
splasky commented 3 years ago

Block by #694, #759.

splasky commented 3 years ago

Close by #775