Vehicle properties
Diagnostics & OBD2
WATCHDOG_ALIVE
What it is
Defines an event that car watchdog updates to tell it's alive.
Car watchdog sets this property to system uptime in milliseconds at every 3 second. During the boot, the update may take longer time.
How the ID is built
A property ID is a 32-bit value packing four fields. Reading 0x11500f31 apart:
| Field | Mask | Value | Means |
|---|---|---|---|
| Group | 0xf0000000 | 0x10000000 | SYSTEM |
| Area | 0x0f000000 | 0x01000000 | GLOBAL |
| Type | 0x00ff0000 | 0x00500000 | INT64 |
| Ordinal | 0x0000ffff | 0x00000f31 | 0xf31 |
Reading it from an app
CarPropertyManager mgr = (CarPropertyManager)
car.getCarManager(Car.PROPERTY_SERVICE);
mgr.setProperty(Long.class,
VehiclePropertyIds.WATCHDOG_ALIVE, 0, value);This property is write-only — it cannot be read back. It fires a callback whenever the value changes.

