Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sony Bravia TV Driver
#11
Well, keep in mind I mean all or nothing for each individual device class. If you can support any, then do it. Those aspects of the device will benefit from that, even if others don't. But most V2 drivers are combinations of V2 and V1 fields.

That's why device classes don't typically cover a whole device, but just aspects of a device. So, for instance, if you can just support audio, then that still means that anywhere that an Audio interface is accepted, this driver could be used for that. Supporting Power is very useful if you can, even if that's the only thing you can support and so forth.
Dean Roddey
Software Geek Extraordinaire
Reply
#12
OK, That makes sense.

There should be a wider set of definitions for V1 as well. Lets take TV as this is what I am working on.

Power is usually always there
Source input is always there - (is it Source or Input - different authors will take different views)
Volume, Mute etc etc. If we all use the same field names it makes life a lot easier.

Even if the field is not available and thus not used, it should be defined for consistency across all drivers of that type.

Have you ever given thought to defining what fields should be used for drivers
Mykel Koblenz
Illawarra Smart Home
Reply
#13
V1 is what it is. That's not going to change. Any formal definitions for V1 would never be that useful since there will always be existing drivers out there that don't follow them. So you could never count on them.

So really V2 is where any such formal definitions would happen. We can of course add more formal V2 device classes. It has to be done carefully though, since they have be such that the bulk of devices could hope to meet the requirements, and that's often tough.

There are semantic field types of course, which V1 drivers can use. They provide some basic indication of what a field is. But V2 device classes are the only way to define groups of fields that work together to achieve some particular goal.
Dean Roddey
Software Geek Extraordinaire
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  XBMC Driver wuench 427 141,874 05-29-2018, 03:02 AM
Last Post: znelbok
  OpenHAB Driver whozeawhat 5 259 05-28-2018, 08:50 AM
Last Post: whozeawhat
  Pushbullet Driver whozeawhat 1 188 05-13-2018, 07:27 AM
Last Post: whozeawhat
  Monoprice Blackbird 4x4 HDMI Switcher - Driver request batwater 14 6,905 02-10-2018, 02:29 PM
Last Post: batwater
  LIFX Driver bobskie708 9 896 01-30-2018, 12:34 PM
Last Post: jkmonroe
  SNMP Driver wuench 115 262,404 01-01-2018, 05:18 PM
Last Post: Dean Roddey
  CBUS CGate Driver martinmcc 46 16,572 12-18-2017, 01:19 AM
Last Post: znelbok
  Samsung SmartTV driver? sic0048 3 636 12-17-2017, 11:51 AM
Last Post: Dean Roddey
  Vantage Controls Driver for Infusion System KenC 3 1,484 10-23-2017, 12:10 PM
Last Post: Dean Roddey
  Another SMS Driver - SMS Global, one for everyone else znelbok 21 7,406 10-21-2017, 07:19 PM
Last Post: znelbok

Forum Jump:


Users browsing this thread: 1 Guest(s)