Controlled the Vehicle property from adb shell

3,973 views
Skip to first unread message

VINOTHKUMAR S

unread,
Dec 22, 2019, 11:42:01 AM12/22/19
to android-platform

Hi,

 

I needs to control the HVAC_POWER_ON vehicle property and this property defined as true in Defaultconfig.h ( automotive / vehicle / 2.0 / default / impl / vhal_v2_0 / DefaultConfig.h)  file.


When I trigger a value from adb shell I got false, how to change the value from false to true ?

 

for simulation purpose I am using Kitechsink Application.

             adb shell dumpsys activity service com.android.car inject-vhal-event 0x15200510 1 1


I checked property ID from the following for HVAC_POWER_ON,

            VehiclePropertyIds  |  Android Developers 

 

 

 

Thanks & Regards,

VinothS,

VINOTHKUMAR S

unread,
Dec 26, 2019, 12:09:28 PM12/26/19
to android-platform

The proper command (for bool data type) is,

 adb shell dumpsys activity service com.android.car inject-vhal-event 0x15200510 1 true 

 

Thanks,

VinothS,

Reply all
Reply to author
Forward
0 new messages