<?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>Two way communication in BLE Heart Rate Sample App</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14130/two-way-communication-in-ble-heart-rate-sample-app</link><description>Hi, 
 I am using nRF5_SDK_11.0.0 to learn how to use BLE stack to communicate.
For the BLE HRS app, I want to achieve sth. like this:
Central node can configure the sending rate of peripheral node; not only that, it can also inform peripheral to start</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Jun 2016 09:54:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14130/two-way-communication-in-ble-heart-rate-sample-app" /><item><title>RE: Two way communication in BLE Heart Rate Sample App</title><link>https://devzone.nordicsemi.com/thread/53999?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2016 09:54:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c169d71d-a666-4053-adb7-a92afc967c1b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;It is the only way to enable and disable notifications, yes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two way communication in BLE Heart Rate Sample App</title><link>https://devzone.nordicsemi.com/thread/53998?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2016 09:49:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4943ceb4-fa44-403d-b7c0-019bb79e0784</guid><dc:creator>djqtsg</dc:creator><description>&lt;p&gt;I&amp;#39;ve tested changing CCCD value to enable or disable HR sending on the fly.
So in this HR service, by calling  ble_hrs_c_hrm_notif_enable(), central can &amp;quot;talk&amp;quot; back to peripheral sensors. Is this the only way in HR service?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two way communication in BLE Heart Rate Sample App</title><link>https://devzone.nordicsemi.com/thread/53997?ContentTypeID=1</link><pubDate>Tue, 31 May 2016 12:53:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52a4a8e4-4a3f-4158-8d92-3489a198fa90</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;ble_app_hrs implements the Heart Rate Service, this is a service adopted by the Bluetooth SIG. You can find a list over the adopted services &lt;a href="https://www.bluetooth.com/specifications/adopted-specifications"&gt;here&lt;/a&gt;. According to the specification the central cannot change the Transmission Interval, see Section 3.1.1.5. The functionality you descirbe is easy to implement, but then you shouldn&amp;#39;t use the UUID of the heart rate service, you should use a proprietary UUID, and implement you own service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two way communication in BLE Heart Rate Sample App</title><link>https://devzone.nordicsemi.com/thread/53996?ContentTypeID=1</link><pubDate>Tue, 31 May 2016 10:27:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6afe346-b1f5-42a5-8c97-aa75d623886a</guid><dc:creator>djqtsg</dc:creator><description>&lt;p&gt;what if there is a parameter &lt;em&gt;heart rate tx rate&lt;/em&gt; that defines how faster sensor transmit heart rate data, which the central node can change?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two way communication in BLE Heart Rate Sample App</title><link>https://devzone.nordicsemi.com/thread/53995?ContentTypeID=1</link><pubDate>Mon, 30 May 2016 15:45:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8285c580-e7e7-43bc-b16d-c619c26b710f</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The peripheral sends the heart data by using notifications, these are acknowledged by a lower layer in the stack. Every time a notification is received, the central will receive a BLE_GATTC_EVT_HVX event, and the heart rate data can be extracted. The central enables notifications by writing 0x0001 to the CCCD of the heart rate characteristic, this is done by ble_hrs_c_hrm_notif_enable().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two way communication in BLE Heart Rate Sample App</title><link>https://devzone.nordicsemi.com/thread/53994?ContentTypeID=1</link><pubDate>Mon, 30 May 2016 02:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6eb369b-5568-4434-b827-0fd804fc5b0f</guid><dc:creator>djqtsg</dc:creator><description>&lt;p&gt;yes, I&amp;#39;ve been studying those two samples.
For the peripheral, I know where it sends out HR info and I could change its updating rate.
But for the central, it is not clear to me where it &amp;quot;talks&amp;quot; to the peripheral.
Actually I can see the heart rate sample is quite comprehensive, not only having heart rate but also two other measurements. To me the missing part is how the central talks back. Is it handle by the underlying BLE stack? Forgive my naiveness, I am new in this field.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two way communication in BLE Heart Rate Sample App</title><link>https://devzone.nordicsemi.com/thread/53993?ContentTypeID=1</link><pubDate>Fri, 27 May 2016 14:54:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b673d8e8-9497-4d26-a8ee-c872253cea2b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You can use peripheral\ble_app_hrs and central\ble_app_hrs_c as a starting point.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>