Use of driver-metadata file in Android Things

0 votes
So, in the repository of Android Things contrib-drivers, there's a .driver-metadata file in every folder. Like in these: https://github.com/androidthings/contrib-drivers/blob/master/rainbowhat/.driver-metadata

Can anyone tell me exactly what they're used for?

Thanks in Advance!
Oct 12, 2018 in IoT (Internet of Things) by Bharani
• 4,660 points
615 views

1 answer to this question.

0 votes

If I'm not wrong, it could be a tool by Google used to autogenerate the table of available drivers in their README in the repository.

It says here: https://github.com/androidthings/contrib-drivers/commit/194d09e8f4f0e0d5f8e0eef78ea26bdc8fa4fb5a 
that each of the drivers created the type from the .driver-metadata file:

TYPE="RGB LED strip"

matches the column type in the README table:

| RGB LED strip |

Further, if a .driver-metadata has another key like value of sample, then this is also in the table (and if it isn't, then there's no sample link).

From Google's perspective, this could mean that if a driver was added or updated, it'll automatically get notified about it irrespective of where the change happens.

Although, you should really check with someone from Google to confirm this. :P

answered Oct 12, 2018 by nirvana
• 3,130 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Downloading source code of Android Things

No because AndroidThings is still in preview ...READ MORE

answered Jul 5, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
1,838 views
0 votes
1 answer
0 votes
1 answer

Creating Android Things' bundle and pushing it over OTA

Here are all the steps necessary to ...READ MORE

answered Jul 6, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
744 views
0 votes
1 answer

Android AllJoyn: Connection with second machine gives error of BusAttachement

Why dont you create two Interfaces, one ...READ MORE

answered Jul 25, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
692 views
0 votes
1 answer

Problem while disconnecting BLE device!

I think that's because of the way ...READ MORE

answered Jul 18, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
3,693 views
0 votes
1 answer
0 votes
1 answer

Android Ble GATT_ERROR 133 getting often with samsung devices

I tried the following code #!/usr/bin/python import ibmiotf.device from time ...READ MORE

answered Jul 18, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
2,434 views
0 votes
1 answer

Java No Class Def Found error

I solved this issue by updating my ...READ MORE

answered Oct 8, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
1,479 views
0 votes
1 answer

Connect Android Things based Raspberry Pi 3 to wifi network for the first time!

Hey, I think its alright!  Your Raspberry Pi ...READ MORE

answered Jul 19, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,135 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP