12 Jul
2018
12 Jul
'18
2:34 a.m.
On Thu, Jul 12, 2018 at 08:56:25AM +0800, Mark Webb-Johnson wrote:
I think the capabilities are useful, but need to be done in a better, more future-proof, way. Relying on protocol v2 commands is limited. ... My suggestion is:
Create a standard metric ‘v.capabilities’. Have the vehicle modules set that metric with their capabilities, as a comma-separated list of the commands supported:
Mapping things to strings seems rather roundabout. Would it not be better to have individual boolean capabilities? v.capability.chargemode = yes/no ... v.capability.climate = yes/no