<?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>S120 Central to RFDuino (S110??)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7604/s120-central-to-rfduino-s110</link><description>I am building a Central BLE app using the Rigado BMD-200 but my current peripherals are running RFDuino code. The peripherals all work with the IOS and Android Apps but I cannot get the RFDUINOs to respond to the BLE Central. I CAN connect to the RFDuinos</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Jun 2015 04:20:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7604/s120-central-to-rfduino-s110" /><item><title>RE: S120 Central to RFDuino (S110??)</title><link>https://devzone.nordicsemi.com/thread/27122?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2015 04:20:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fcd27d7-bc0c-40b8-b84f-60e20d9d762a</guid><dc:creator>eq</dc:creator><description>&lt;p&gt;Thanks Ulrich!  Ultimately there was another UUID that I should have been using and I was using the wrong handle to connect to the Characteristic.   I thought I should be using the CCCD handle but I should have been using the Characteristic handle.  Its all working now.  Thanks for your help!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S120 Central to RFDuino (S110??)</title><link>https://devzone.nordicsemi.com/thread/27121?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2015 08:03:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcb09efd-b6f8-401b-b07e-98bc350c3f95</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;This looks correct to me then. It initially looked like you added some services yourself, then used the assigned value handles from those to write to the peer. But with this discovery function it should be okay. I would try to set a breakpoint or print a log message for every write to see which handle you are trying to write to. If it is 0, then the relevant portion of the db_discover_evt_handler() might not be hit for some reason (wrong UUID perhaps?).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S120 Central to RFDuino (S110??)</title><link>https://devzone.nordicsemi.com/thread/27125?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2015 03:35:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6acc8b0-5af7-4449-a9fd-7715e393a868</guid><dc:creator>eq</dc:creator><description>&lt;p&gt;static void db_discover_evt_handler(ble_db_discovery_evt_t * p_evt)
{
// Check if the Heart Rate Service was discovered.
if (p_evt-&amp;gt;evt_type == BLE_DB_DISCOVERY_COMPLETE &amp;amp;&amp;amp;
p_evt-&amp;gt;params.discovered_db.srv_uuid.uuid == RFD_UUID_SERVICE &amp;amp;&amp;amp;
p_evt-&amp;gt;params.discovered_db.srv_uuid.type == BLE_UUID_TYPE_BLE)
{
mp_ble_hrs_c-&amp;gt;conn_handle = p_evt-&amp;gt;conn_handle;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;                    // Find the CCCD Handle of the Heart Rate Measurement characteristic.
            
                    uint32_t i;
            
                    for (i = 0; i &amp;lt; p_evt-&amp;gt;params.discovered_db.char_count; i++)
                    {
            	    printf(&amp;quot;Char: %x\n&amp;quot;, p_evt-&amp;gt;params.discovered_db.charateristics[i].characteristic.uuid.uuid); 
            	    nrf_delay_ms(50);
            	
                        if (p_evt-&amp;gt;params.discovered_db.charateristics[i].characteristic.uuid.uuid == RFD_UUID_BUTTON_CHAR)
                        {
                            // Found Heart Rate characteristic. Store CCCD handle and break.
            
                            mp_ble_hrs_c-&amp;gt;hrm_cccd_handle = p_evt-&amp;gt;params.discovered_db.charateristics[i].cccd_handle;
            
                            mp_ble_hrs_c-&amp;gt;hrm_handle = p_evt-&amp;gt;params.discovered_db.charateristics[i].characteristic.handle_value;
                            break;
                        }
                    }
            
                    ble_hrs_c_evt_t evt;
            
                    evt.evt_type = BLE_HRS_C_EVT_DISCOVERY_COMPLETE;
            
                    mp_ble_hrs_c-&amp;gt;evt_handler(mp_ble_hrs_c, &amp;amp;evt);
                }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The handles are set in this function which is in ble_hrs_c.c, so it seems that these would be the right handles but I am admittedly new on the platform.  Thanks i advance for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S120 Central to RFDuino (S110??)</title><link>https://devzone.nordicsemi.com/thread/27124?ContentTypeID=1</link><pubDate>Sun, 14 Jun 2015 17:14:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c202c26-16be-4ca7-8254-d55d7f5a22e6</guid><dc:creator>eq</dc:creator><description>&lt;p&gt;I can confirm that the device connects because in device_manager_event_handler() I get DM_EVT_CONNECTION.  From this handler ble_db_discovery_start() is called which I believe finds my peripherals services??  Are these handles from my &amp;quot;internal database&amp;quot;?  If so you may be right.  If this is the problem, how do I correct this?  I have attached main.c to the original post for full context.&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: S120 Central to RFDuino (S110??)</title><link>https://devzone.nordicsemi.com/thread/27123?ContentTypeID=1</link><pubDate>Sun, 14 Jun 2015 14:24:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa535fae-cacb-431e-a1c0-b3bdf8df9bfb</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Where are those p_ble_hrs_c-&amp;gt;hrm_cccd_handle set? I have a suspicion that these handles are pointing to the handles in your internal database and not the peer database. That means you might be writing to some handle that does not exist or that reacts differently to writes.&lt;/p&gt;
&lt;p&gt;Are you doing a discovery where you fill out these handles? Try replacing the write commands with a write request, and see what the write response is (either the event or by using any kind of sniffer, e.g. the nRF sniffer)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>