<?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>How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35968/how-led-on-at-same-time-in-central-connected-to-3-ble-peripheral</link><description>Hello, 
 I have developing one project in that i am using nRF52832 and SD 15.0. Here is the current application developing: 
 
 There are 3 ble app_blinky(ble peripheral) example operated on battery and it connected to multilink central. 
 Lets say ble</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Sep 2018 12:27:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35968/how-led-on-at-same-time-in-central-connected-to-3-ble-peripheral" /><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/150051?ContentTypeID=1</link><pubDate>Mon, 24 Sep 2018 12:27:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e6f0e0e-f18e-4368-8e2f-34c8d38e0d8c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Parag, Sorry for late reply.&lt;/p&gt;
&lt;p&gt;not sure what was unclear in my previous answer. Can you please ask more specific questions.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/148284?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 18:33:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a50a8c53-5420-4ef9-9694-a875a4aa7bd7</guid><dc:creator>Samarth</dc:creator><description>&lt;p&gt;Not understand what you are saying, will you please explain little bit more with example.&lt;/p&gt;
&lt;p&gt;Thanks.....!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/148119?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 04:55:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45cd3fbc-027e-4a83-afcc-f44fc80c9ad1</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Parag, Sorry for the late reply&lt;/p&gt;
&lt;p&gt;For every connection with your slave you will get different&amp;nbsp;conn_handle value.&lt;/p&gt;
&lt;p&gt;So when the connection is established you need to save them into&amp;nbsp;m_conn_handle1,&amp;nbsp;m_conn_handle2 and&amp;nbsp;m_conn_handle3&lt;/p&gt;
&lt;p&gt;In your button event, you compare the conn_handle with one of these to know which device is sending this button events and light the appropriate LED&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/147053?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 19:06:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6d481e6-3f71-4ca7-8e2f-2cd58680bb43</guid><dc:creator>Samarth</dc:creator><description>&lt;p&gt;It&amp;#39;s Ok Aryan,&lt;/p&gt;
&lt;p&gt;Now i have solved this issue by defining bas event in init function my mistake i forgot to initialize Now our battery update code is well working.&lt;/p&gt;
&lt;p&gt;But now problem is we have 3 BLE peripherals so for that we want to use only one program all of these three devices. And at central side want to glow particular led with slave only.&lt;/p&gt;
&lt;p&gt;For that slave 1 i use this function:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void button_event_handler(uint8_t pin_no, uint8_t button_action)
{
    ret_code_t err_code;

    switch (pin_no)
    {
        case LEDBUTTON_BUTTON1:
            NRF_LOG_INFO(&amp;quot;Send first button state change.&amp;quot;);
 //           err_code = ble_lbs_on_button_change(m_conn_handle, &amp;amp;m_lbs, button_action);
      err_code = button_action ? ble_lbs_on_button_change(m_conn_handle, &amp;amp;m_lbs, 1) : ble_lbs_on_button_change(m_conn_handle, &amp;amp;m_lbs, 0);
            if (err_code != NRF_SUCCESS &amp;amp;&amp;amp;
                err_code != BLE_ERROR_INVALID_CONN_HANDLE &amp;amp;&amp;amp;
                err_code != NRF_ERROR_INVALID_STATE &amp;amp;&amp;amp;
                err_code != BLE_ERROR_GATTS_SYS_ATTR_MISSING)
            {
                APP_ERROR_CHECK(err_code);
            }
            break;
        case LEDBUTTON_BUTTON2:
            NRF_LOG_INFO(&amp;quot;Send second button state change.&amp;quot;);
 //           err_code = ble_lbs_on_button_change(m_conn_handle, &amp;amp;m_lbs, button_action);
     err_code = button_action ? ble_lbs_on_button_change(m_conn_handle, &amp;amp;m_lbs, 3) : ble_lbs_on_button_change(m_conn_handle, &amp;amp;m_lbs, 2);
            if (err_code != NRF_SUCCESS &amp;amp;&amp;amp;
                err_code != BLE_ERROR_INVALID_CONN_HANDLE &amp;amp;&amp;amp;
                err_code != NRF_ERROR_INVALID_STATE &amp;amp;&amp;amp;
                err_code != BLE_ERROR_GATTS_SYS_ATTR_MISSING)
            {
                APP_ERROR_CHECK(err_code);
            }
            break;

        default:
            APP_ERROR_HANDLER(pin_no);
            break;
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And in slave 2 only change button state value and read this value in central side and ON particular LED with respective slave signal.&lt;/p&gt;
&lt;p&gt;Please help me how i can logic to convert this 3 slave code into one program code and will work &amp;nbsp;if flashed into 3 devices.&amp;nbsp;Whenever use press switch ON slave 1 device only LED 1 will ON at central side. If slave 1 device turn OFF and then user press switch ON slave 3 then only LED 3 will ON at central side. Meaning whenever any slave turn ON/OFF switch press at that time respective LEDs only ON as defined in program not depend on connection handle.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Because connection handle changed due to slave power ON and OFF not in order. But in central code LED will fixed for respective signal coming from slaves.&lt;/p&gt;
&lt;p&gt;Will please provide me program snippet how i can do this logic??&lt;/p&gt;
&lt;p&gt;We are stuff here and also not much more time for this project.&lt;/p&gt;
&lt;p&gt;If you need my both central and slaves complete projects files just let me know i can share with you but before that please do this case as private.&lt;/p&gt;
&lt;p&gt;Thanks in advanced..!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/146893?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 07:40:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33829eab-c574-4be0-a8ba-4450abe57cbd</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Sorry for late reply.&lt;/p&gt;
&lt;p&gt;You need to check if a notification is sent to the central. You can sniff the air packets to see if anything is sent on a button press.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/145988?ContentTypeID=1</link><pubDate>Mon, 27 Aug 2018 16:49:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0435dcf8-9306-4c4d-ab7d-72cf92e0376c</guid><dc:creator>Samarth</dc:creator><description>&lt;p&gt;Hi Aryan,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have added battery level characteristics in my both programs. In ble peripheral i have used BAS_ENABLED and in Central i have used BAS_C_ENABLED. When i push button at peripheral side i called battery_level_update() function.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div dir="auto"&gt;But problem is not getting battery read event at central side. After that for checking purpose i have connect my phone with nRF Connect app to ble peripheral and checked battery services and it shows and also read battery level in android app. But not getting in central device will please help me where should exactly problem, how i can identify this.&amp;nbsp;&lt;/div&gt;
&lt;div dir="auto"&gt;&lt;/div&gt;
&lt;div dir="auto"&gt;I have added all required services in Central for read battery level.&amp;nbsp;&lt;/div&gt;
&lt;div dir="auto"&gt;&lt;/div&gt;
&lt;div dir="auto"&gt;&lt;/div&gt;
&lt;div dir="auto"&gt;Thanks...!!&amp;nbsp;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/143944?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 12:16:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7802e7a1-40c8-4b1c-ae01-c81fb8d107b3</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;The one in the example gives you a simulated battery level. You need to get the battery level as mentioned in the thread &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/22192/nrf52-battery-monitor/87230#87230"&gt;here&lt;/a&gt;. Even though the thread is for nRF51, the technique remains the same. There are lot of information in this forum for this. Please check the other threads on how to do this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/143806?ContentTypeID=1</link><pubDate>Sun, 12 Aug 2018 06:46:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97a366a3-e35a-4e42-be2c-3511f717d72d</guid><dc:creator>Samarth</dc:creator><description>&lt;p&gt;Hi Aryan,&lt;/p&gt;
&lt;p&gt;As per your suggestion now i am able to add battery service in my modified blinky example. i use ble_bas source and library file. But how i can read this battery level in my multilink example. How i can read battery service characteristics at multilink central side when press button.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For reference i refer ble_app_hrs_c example from sdk 15.0 but not able to read battery level. will you please provide me example for the same. so i can refer i modify my current multi-link central code with read battery level characterstics.&lt;/p&gt;
&lt;p&gt;Thanks you so much.....&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/143507?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 08:36:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b422feca-2bde-4711-abd4-4e1ee0957603</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Parag,&lt;/p&gt;
&lt;p&gt;Unfortunately we do not have resources to make code snippets for all the possible designs on our chip. But this should not be hard.&lt;/p&gt;
&lt;p&gt;if you check the SDK15\examples\ble_peripheral\ble_app_bps\main.c line 397 -&amp;gt;&amp;nbsp;timers_init()&lt;/p&gt;
&lt;p&gt;You can see that in timers_init function we used&amp;nbsp;battery_level_meas_timeout_handler as a timeout callback function&amp;nbsp; This means that a battery level update is sent to the peer everytime the timer expires.&lt;/p&gt;
&lt;p&gt;In your case you need to&amp;nbsp;call&amp;nbsp; battery_level_meas_timeout_handler (maybe rename this to&amp;nbsp;battery_level_meas_button_push_handler) in bsp_event_handler for example like this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void bsp_event_handler(bsp_event_t event)
{
    ret_code_t err_code;

    switch (event)
    {
        case ...
        case ...
        case BSP_EVENT_KEY_0:
            battery_level_update();
            break;

        default:
            break;
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;ofcourse you need to initialize bas service as you can see in&amp;nbsp;&amp;nbsp; &amp;nbsp; services_init() function here.&lt;/p&gt;
&lt;p&gt;The examples uses simulated sensor data to get the battery_level,but you can get this from the ADC sample on your input voltage pin as described &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/324/how-to-measure-lithium-battery-voltage"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/143492?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 07:39:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e397636-86d3-4ff0-9c16-32caa54d85e3</guid><dc:creator>Samarth</dc:creator><description>&lt;p&gt;Thanks for your response...!!!&lt;/p&gt;
&lt;p&gt;I have checked this ble_battery library but unable to understand how to add this with &amp;quot;Nordic_Blinky&amp;quot; example. Will you please provide me program example including battery service and blinky example.&lt;/p&gt;
&lt;p&gt;I am able to add battery service with Blinky example but how i send this battery level when i press button to Multilink central board. will you please also provide small program snippet for the same.&lt;/p&gt;
&lt;p&gt;Thanks..!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/143337?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 10:42:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83b6a239-b0d1-4bdc-82b8-35dd954a4d68</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you need to configure the button using button library. And when the button is pressed, your registered callback will be called and in that callback you need to use &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fservice_battery.html&amp;amp;cp=4_0_0_3_3_0"&gt;ble_battery &lt;/a&gt;library to be able to transmit battery information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/143262?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 17:34:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0317c76-b8d2-4737-95e1-a5e1a5a959dc</guid><dc:creator>Samarth</dc:creator><description>&lt;p&gt;Thanks for your reply...&lt;/p&gt;
&lt;p&gt;I have able to handle this with connection handle..&lt;/p&gt;
&lt;p&gt;Now how i can send battery percentage level at the time of switch press. We want to send battery level as well because out devices is operated on battery.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please suggest me best solution for that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/142395?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 12:22:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a31c2936-0865-44d4-9e1e-bd4398932b54</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;sorry for the late reply, we had some summer holidays here in Norway, hence the delays.&lt;/p&gt;
&lt;p&gt;You should be able to use&amp;nbsp;p_lbs_c_evt-&amp;gt;conn_handle (in addition to the button_state you already are checking) to decide which connection it is and switch the appropriate LED on/off.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/140902?ContentTypeID=1</link><pubDate>Sun, 22 Jul 2018 11:39:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:345973c0-88ad-4992-ad71-ad1c154b275a</guid><dc:creator>Samarth</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your suggestion..&lt;/p&gt;
&lt;p&gt;As per connection handle is working with one button and one LED but in my application in each connection handle having two switch and two LEDs.&lt;/p&gt;
&lt;p&gt;I am able to add two switch in blinky example. like this:&lt;/p&gt;
&lt;p&gt;static app_button_cfg_t buttons[] =&lt;br /&gt; {&lt;br /&gt; {LEDBUTTON_BUTTON1, false, BUTTON_PULL, button_event_handler},&lt;br /&gt; {LEDBUTTON_BUTTON2, false, BUTTON_PULL, button_event_handler}&lt;br /&gt; };&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When i press button 1 and 2 is working fine in blinky.&lt;/p&gt;
&lt;p&gt;But in multi-link central How i can identify which button state change to ON particular button LED in same connection handle 0.&lt;/p&gt;
&lt;p&gt;I have checked in&amp;nbsp;&lt;strong&gt;lbs_c_evt_handler(...)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;pre class="ui-code" data-mode="text"&gt; case BLE_LBS_C_EVT_BUTTON_NOTIFICATION:
        {
            NRF_LOG_INFO(&amp;quot;Link 0x%x, Button state changed on peer to 0x%x&amp;quot;,
                         p_lbs_c_evt-&amp;gt;conn_handle,
                         p_lbs_c_evt-&amp;gt;params.button.button_state);

            if (p_lbs_c_evt-&amp;gt;params.button.button_state)
            {
                bsp_board_led_on(LEDBUTTON_LED);
            }
            else
            {
                bsp_board_led_off(LEDBUTTON_LED);
            }
        } break; // BLE_LBS_C_EVT_BUTTON_NOTIFICATION
&lt;/pre&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When i press button 1 and 2 the event is&amp;nbsp;coming for two button ON same LED because having same same connection link. I want ON particular LED with when particular button press.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How i can switch in central if second button press with same link. will please provide me small program snippet.&lt;/p&gt;
&lt;p&gt;Thanks......&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/138661?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 06:40:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26631b89-83a4-4a43-8859-29ab8d366eb5</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;1) on the central side, in the ble_evt_handler&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;void ble_evt_handler(ble_evt_t const * p_ble_evt, void * p_context)

You have uint16_t conn_handle = p_ble_evt-&amp;gt;evt.gap_evt.conn_handle;

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This connection is unique per connection and you can use it to identify the peripheral logically.&lt;/p&gt;
&lt;p&gt;2) Even though you press all the switches at the same time, the central will have to process them separately as each peripheral will send this notification to central separately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For example,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;if(the notification is for the LED service)
{
    if(conn_handle == 0x0 ) 
    {
        if(value == 1)    LED_X_ON;
        else LED_X_OFF;
    }
    
    else if(conn_handle == 0x1 ) 
    {
        if(value == 1)    LED_Y_ON;
        else LED_Y_OFF;
    }
    
    else if(conn_handle == 0x2 ) 
    {
        if(value == 1)    LED_Z_ON;
        else LED_Z_OFF;
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I am just giving you a pseudo code to give you an idea.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/138599?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 17:59:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9707bdc1-4039-4195-b698-0ea22c577e79</guid><dc:creator>Samarth</dc:creator><description>&lt;p&gt;Thanks for your response,&lt;/p&gt;
&lt;p&gt;For my first ques, I am trying with connection handle but not getting. Will you please provide me small program snippet for how i can set address and ON LED with particular connection link.&lt;/p&gt;
&lt;p&gt;And my second question i know wake up with GPIO sense signal it not problem, My other problem is as per above description device A B and C connected each device 2 switches press all same time then want to ON all LED on central with same time frame.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How LED ON at same time in Central connected to 3 ble peripheral.</title><link>https://devzone.nordicsemi.com/thread/138587?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 16:17:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e57f2306-32f3-4b12-9760-09b2c632e10f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Parag,&lt;/p&gt;
&lt;p&gt;You answered your own question.&lt;/p&gt;
&lt;p&gt;1) You can identify the peer device either by peer device device address or the connection handle. Adding an if else statement to turnon LEDs based on the connection ID from where the request came from is not that difficult. I am assuming that you are sending the switch state from peripherals to central using notifications. Then this logic should go into the notification handler for the service central discovered.&lt;/p&gt;
&lt;p&gt;2)&amp;nbsp; For the peripheral to wakeup on the button(switch)&amp;nbsp; press, you need to configure the gpio to wake the peripheral on the state change. You can see how it is done &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/19882/configuration-of-gpio-to-wake-up-from-system-off"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>