What is a proper way to control GPIO LED in Android Automotive?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is a proper way to control GPIO LED in Android Automotive?

217 Views
trongthinh
Contributor IV

My hardware needs a LED for user notification. I connected a LED to a GPIO in i.MX8 and already ported the linux driver. The led interface is "/sys/class/leds/brightness". My target is to provide an API for Android application developer can control this LED.

I still don't know how to archive it in a proper way. I have some question as below:

1. Does this idea is a correct usage of Android Automotive?

2. If it is a correct usage, please give me some suggesstion to archive this requirement?

Thanks!

0 Kudos
0 Replies