Can I control warm light as well as cool light using the CTL+LC server example provided in the Mesh SDK v4.2? Or does it support only warm light?
Moreover do we need to implement LC client to turn on the controller?
The Light CTL model supports light temperature settings, so you can adjust coolness/warmth of the light by using the Light CTL client. Controlling light temperature is not part of the Light LC models (as defined by Bluetooth SIG), so no, you cannot control light temperature from the LC server.
If the server has been deactivated, it can be activated through use of an LC client model. We have both LC server model and LC client model implementations in the SDK, but we only have an example application for the LC server model.
Thanks for your reply.
I am still confused. If I use ctl_lc_server example then I can control the temperature, right? And since it has Light LC Model so I can have sensor and user-driven lighting control.
The ctl_lc_server example is for a device that has a light, and the temperature of that light can be controlled.
In order to control the ctl_lc_server light, you use a Light CTL Client and/or a Light LC Client. Those client models send messages to the server models on the ctl_lc_server device, in order to control the light on the ctl_lc_server device.
To control the light temperature on the ctl_lc_server, you send messages from a Light CTL Client.
In order to test this you need at least two nodes: One ctl_lc_server, and one Light CTL client. Those nodes must be provisioned into the same network, and configured so that the Light CTL client model publishes to an address that the Light CTL server model subscribes to.
So, I have a light and the temperature of the light can be controlled.
I want to make a mesh setup with CCT controlled lights, Occupancy sensor and dimmable switch. For this do I need LC Client to activate the server if it gets deactivated?
Or only CTL Client will suffice?
Also please suggest the models required on the client side for this set up.