Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sony Bravia TV Driver
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
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
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

Possibly Related Threads...
Thread Author Replies Views Last Post
  RunTimer2 driver rbroders 14 3,373 6 hours ago
Last Post: rbroders
  Generic Modbus Driver - Serial & IP znelbok 25 11,199 10-09-2018, 08:59 AM
Last Post: Ron Haley
  Issues debugging IP based driver jnolting 5 197 09-24-2018, 11:52 AM
Last Post: Dean Roddey
  Enhance Driver Test Harness Field Monitor rbroders 1 74 09-24-2018, 10:49 AM
Last Post: Dean Roddey
  Koyo Click PLC Driver rbroders 75 26,843 09-23-2018, 01:18 PM
Last Post: rbroders
  Carrier Infinity HVAC Driver beelzerob 34 12,493 09-07-2018, 01:15 PM
Last Post: lleo
  Amazon Echo Hue Simulator Driver wuench 113 36,543 09-02-2018, 07:24 AM
Last Post: TurboSam
  Sony TV IP driver dogman 10 825 08-01-2018, 03:53 PM
Last Post: znelbok
  XBMC Driver wuench 427 155,926 05-29-2018, 03:02 AM
Last Post: znelbok
  OpenHAB Driver whozeawhat 5 787 05-28-2018, 08:50 AM
Last Post: whozeawhat

Forum Jump:

Users browsing this thread: 1 Guest(s)