<?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>Why Does a Disconnect Turn Off LED2?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22550/why-does-a-disconnect-turn-off-led2</link><description>I am working with the PCA10028 board, SDK 10.0.0, and s110 8.0.0. I have created a characteristic that is &amp;quot;coupled&amp;quot; to LED2. When a connected central writes a value to the characteristic, my code on the PCA10028 turns LED2 on or off according to the value</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Jun 2017 14:09:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22550/why-does-a-disconnect-turn-off-led2" /><item><title>RE: Why Does a Disconnect Turn Off LED2?</title><link>https://devzone.nordicsemi.com/thread/88729?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2017 14:09:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39e02a22-f260-489d-b1ef-798ed89a115e</guid><dc:creator>rvaessen</dc:creator><description>&lt;p&gt;Ahhhh, got cha.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why Does a Disconnect Turn Off LED2?</title><link>https://devzone.nordicsemi.com/thread/88728?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2017 13:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3427525f-49bd-42a1-851f-7f8e52de510c</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;I can&amp;#39;t - it has a core of some work I did which I was paid for and counts as proprietary. I can use it, I can&amp;#39;t open source it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why Does a Disconnect Turn Off LED2?</title><link>https://devzone.nordicsemi.com/thread/88727?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2017 12:38:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f972a84-7183-4f04-9e89-4d3d72eab80d</guid><dc:creator>rvaessen</dc:creator><description>&lt;p&gt;Sounds good. Perhaps you should open source rknrfgo? If I ever get good enough with this Nordic stuff I&amp;#39;d contribute. Thanks again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why Does a Disconnect Turn Off LED2?</title><link>https://devzone.nordicsemi.com/thread/88726?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2017 12:31:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:250393ef-22c2-44d4-8670-3af0e4111d0b</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;you can modify it but you probably don&amp;#39;t want to as it will mess up the examples. First job would be to find out what LED2 is being used for (I long since forgot) and ensure that is your problem, it seems likely. Then you could either make a custom board def file which moves LED2 to somewhere which doesn&amp;#39;t exist, or see if there&amp;#39;s a define in there to turn off the whatever it&amp;#39;s doing behaviour.&lt;/p&gt;
&lt;p&gt;You&amp;#39;re most welcome on RKNRFGO, it doesn&amp;#39;t get a whole lot of love these days so if it falls behind softdevice-wise, do tell me. I guess I should make it support the new new chip soon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why Does a Disconnect Turn Off LED2?</title><link>https://devzone.nordicsemi.com/thread/88725?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2017 12:22:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de06debc-b848-40b7-a137-b9b4fc7981eb</guid><dc:creator>rvaessen</dc:creator><description>&lt;p&gt;Hello RK. Thank you. Yes, I did copy an example. And, LED1 (not LED2) is being used to indicate the connected state. Nonetheless, you are probably correct that the behavior is being produced by the BSP. I am a total nob regarding the BSP. Is it something that I can (or should / should not) modify? BTW: Thank you for rknrfgo on macOS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why Does a Disconnect Turn Off LED2?</title><link>https://devzone.nordicsemi.com/thread/88724?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2017 12:13:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c28fe77-35fc-4b28-82cc-7ab3e26a1186</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;my guess would be that you copied an example program which uses the board support package and that itself uses LED2 to indicate whether it&amp;#39;s in connection or not and when it&amp;#39;s not it turns your LED off&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>