<?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>client to server data transfer with ble_app_hrs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3237/client-to-server-data-transfer-with-ble_app_hrs</link><description>I have the ble_app_hrs communicating with the ble_app_hrs_c, and everything works OK. However, I have to be able to send data in both directions. How do I modify, or what do I have to add to ble_app_hrs and ble_app_hrs_c in order to send data from the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Jul 2014 21:03:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3237/client-to-server-data-transfer-with-ble_app_hrs" /><item><title>RE: client to server data transfer with ble_app_hrs</title><link>https://devzone.nordicsemi.com/thread/11858?ContentTypeID=1</link><pubDate>Fri, 25 Jul 2014 21:03:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:017bf480-9720-4909-b710-d88f7ef1ba19</guid><dc:creator>Jo-Jo</dc:creator><description>&lt;p&gt;Even if I comment out the the cccd_configure() call, the values are still updated on the client, so I don&amp;#39;t think this call is doing what you said it is doing unless it is redundant.  can you provide an example of how to use sd_ble_gattc_write() to update a global variable on the server?  Nordic doesn&amp;#39;t provide an example, and I am beginning to think that this behavior is not support with the current soft devices, which would mean I cannot use Nordic devices in our project. Unfortunately, I have been unable to get any sort of response from Nordic&amp;#39;s support department, which doesn&amp;#39;t make me feel comfortable going forward with any Nordic devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: client to server data transfer with ble_app_hrs</title><link>https://devzone.nordicsemi.com/thread/11857?ContentTypeID=1</link><pubDate>Thu, 24 Jul 2014 17:44:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6d2c623-4e69-40c2-9558-d5da9e6f51f9</guid><dc:creator>Jo-Jo</dc:creator><description>&lt;p&gt;I can&amp;#39;t figure out where on the server this message is received and handled. What and where is the variable that is being written?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: client to server data transfer with ble_app_hrs</title><link>https://devzone.nordicsemi.com/thread/11856?ContentTypeID=1</link><pubDate>Thu, 24 Jul 2014 14:11:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df832102-11ff-4745-8b36-43de232d509e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jo-Jo,&lt;/p&gt;
&lt;p&gt;You would need to have a characteristic on the server (peripheral) that has write property.
And on the client (central) you would need to do a write to that characteristic to send data.&lt;/p&gt;
&lt;p&gt;In ble_app_hrs_c example, we write to the CCCD characteristic on the server value &amp;quot;1&amp;quot; to enable notification.
Please have a look at the BLE_BAS_C_EVT_DISCOVERY_COMPLETE event, and trace down to the cccd_configure() function in ble_hrs_c.c
You can follow that to write your own write command.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>