smartdevicelink / sdl_hmi

BSD 3-Clause "New" or "Revised" License
14 stars 43 forks source link

[SDL 0227] Add Supported RGB Colors to Light Capabilities #639

Open theresalech opened 3 years ago

theresalech commented 3 years ago

Proposal: Add Supported RGB Colors to Light Capabilities

Currently, RC feature LIGHT module type has a parameter called rgbColorSpaceAvailable in LightCapabilities data structure to indicate whether the specified light with name supports changing color or not. However, the capability does not have any information about what RGB colors are supported by the vehicle. Mobile applications must obtain valid RGB colors by a trial and error process or other means. This proposal adds a supported RGB color array to the LightCapabilities so that an application can know and/or show supported colors to the user and use a valid RGB color in a setInteriorVehicleData request to change the color of a light.

Review: https://github.com/smartdevicelink/sdl_evolution/issues/720

Steering Committee Decision:

The Steering Committee voted to accept this proposal with the following revisions:

The proposal .md file was updated to reflect these revisions on 5/16/19.