<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sending LC command</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68148/sending-lc-command</link><description>Hi, 
 I am a beginner in BLE Mesh. I am trying to create a Mesh network for residential purpose using Tuneable lights, switch and sensors. 
 Mesh SDK version : 4.2 
 On the switch side, I am using CTL client model and LC client. So, using button 1 of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Nov 2020 11:12:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68148/sending-lc-command" /><item><title>RE: Sending LC command</title><link>https://devzone.nordicsemi.com/thread/280568?ContentTypeID=1</link><pubDate>Wed, 18 Nov 2020 11:12:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1782f45e-93b3-490f-b51b-ea6d293ec4f9</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you upload the code where you are sending these values?&lt;/p&gt;
&lt;p&gt;If possible, upload the whole project so I can check your code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending LC command</title><link>https://devzone.nordicsemi.com/thread/280015?ContentTypeID=1</link><pubDate>Sun, 15 Nov 2020 13:13:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b5a93ee-7e8c-4129-aeda-1054e2f0203c</guid><dc:creator>Zolu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have implemented the LC client myself by using &lt;strong&gt;lc_client.c&lt;/strong&gt; file as given in the SDK.&lt;/p&gt;
&lt;p&gt;I have used the CTL Client and have added LC Client to that.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;On the server side, I am using CTL+LC example as given in the SDK. Just made a small modification:&lt;/p&gt;
&lt;p&gt;LIGHT_LC_DEFAULT_MODE (0x0) instead of LIGHT_LC_DEFAULT_MODE (0x1).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am using nRF Mesh App (Android) for provisioning and configuring the nodes.&lt;/p&gt;
&lt;p&gt;On pressing button 1 on nRF52-DK, I am trying to send:&lt;/p&gt;
&lt;p&gt;1. LC Mode = ON&lt;/p&gt;
&lt;p&gt;2. OCC Mode = ON&lt;/p&gt;
&lt;p&gt;3. Light LC Light OnOff = ON&lt;/p&gt;
&lt;p&gt;This logic I have implemented in the button handler function.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Zolu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending LC command</title><link>https://devzone.nordicsemi.com/thread/279944?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 14:35:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71d9a757-6226-4903-b29b-aa96e1f7f02b</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]I am using CTL client model and LC client[/quote]
&lt;p&gt;We don&amp;#39;t have a LC client example in our SDK. Have you implemented this yourself? Which example are you using on the client side and which modifications have you done to it?&lt;/p&gt;
&lt;p&gt;The same for the server side, which example are you using from the SDK? have you done any modifcations to it?&lt;/p&gt;
&lt;p&gt;Can you give me details on how you have configured the nodes? Have you used the nRF Mesh app for iOS/Android or used our static provisioner?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How are you sending the values?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending LC command</title><link>https://devzone.nordicsemi.com/thread/279481?ContentTypeID=1</link><pubDate>Wed, 11 Nov 2020 12:17:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:683fa976-f7d5-4e6e-9942-f94b3490ff5f</guid><dc:creator>Zolu</dc:creator><description>&lt;p&gt;Hi Mttrinh,&lt;/p&gt;
&lt;p&gt;Light LC Light OnOff = ON&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am using &lt;strong&gt;LC Client model&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I am trying to achieve the following:&lt;/p&gt;
&lt;p&gt;On pressing button 1 of the Dev-kit(client side), I should be able to:&lt;/p&gt;
&lt;p&gt;1. turn on the controller i.e, Light LC Mode = 1&lt;/p&gt;
&lt;p&gt;2. turn on occupancy i.e, Light LC Occupancy Mode = 1&lt;/p&gt;
&lt;p&gt;3. turn on the lights i.e Light LC Light OnOff&amp;nbsp; = 1, on the server side.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So, on sending these 3 values, I am receiving just 2 values on the server.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know but is that due to the message size? Please suggest.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Zolu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending LC command</title><link>https://devzone.nordicsemi.com/thread/279467?ContentTypeID=1</link><pubDate>Wed, 11 Nov 2020 11:43:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3cd47de-9c35-4faa-8ba8-2ba78f49d511</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;p&gt;3. Light OnOff = ON&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Are you using the Generic OnOff model? Do you mean to change the state, on/off?&lt;/p&gt;
&lt;p&gt;How are you sending the values?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>