<?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>New Mesh SDK Default Lightness implementation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60794/new-mesh-sdk-default-lightness-implementation</link><description>Hi, 
 I am using Mesh SDK4.1.0 and BLE SDK 16.0.0. I was testing the Light lightness implementation and I see that the Default value of default lightness is 0xFFFF. But the specification says that the default value is meant to be 0x0000 so that by default</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 May 2020 15:28:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60794/new-mesh-sdk-default-lightness-implementation" /><item><title>RE: New Mesh SDK Default Lightness implementation</title><link>https://devzone.nordicsemi.com/thread/247971?ContentTypeID=1</link><pubDate>Mon, 04 May 2020 15:28:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e079d004-f1b1-40f0-bef5-14a42299cb75</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I&amp;#39;m quite new to the light lightness model, so my understanding could be wrong, but let&amp;#39;s have a look at the spec:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1650x604/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-7c6ee6c580cb4c99a615aa3eefdb7439/pastedimage1588605693050v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If the Light lightness is 0x0000, the device should set the light lightness to &amp;quot;Light Lightness Last&amp;quot; value. This&amp;nbsp;&lt;span&gt;&amp;quot;Light Lightness Last&amp;quot; changed if there is a command that changes the value of the lightness.&amp;nbsp;&lt;br /&gt;My understanding is that, on the first ever reset, the light should be set to max brightness. If there is no command to change it to anything else and there is a reset, it should still be turn on at max brightness. But if before a reset, it receives a command to change the lightness to anything else (for example 20%), and then it get a reset, then it should set the light lightness to to this last known lightness (20%).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New Mesh SDK Default Lightness implementation</title><link>https://devzone.nordicsemi.com/thread/247627?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2020 16:03:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:077686a8-4080-444f-891a-1d6be3aa5b7f</guid><dc:creator>DeveloperZ</dc:creator><description>&lt;p&gt;Sorry, that was a mistake. It was 0x0. One of my teammates changed it.&lt;br /&gt;But still the second question behavior is observed.&amp;nbsp;&lt;br /&gt;If we have default value for default lightness as 0x0, light is at max brightness, we provision the node, change the lightness level and reset it.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Shouldn&amp;#39;t the reset force the device to go to maximum brightness?&lt;/strong&gt; I see it is going to last known brightness.&lt;br /&gt;If the last lightness before reset was 1%, the device is resetting to 1% lightness.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New Mesh SDK Default Lightness implementation</title><link>https://devzone.nordicsemi.com/thread/247619?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2020 15:07:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea108782-fcdf-47e0-83c5-f7eff5a7134d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you point me to the exact define you were looking at.&amp;nbsp;&lt;br /&gt;I&amp;#39;m looking at&amp;nbsp;LIGHT_LIGHTNESS_DEFAULT_LIGHTNESS_DEFAULT defined in ligh_lightness_common.h and it&amp;#39;s = 0x0.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>