<?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>Setting up a bidirectional data flow between two nordic devices</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13903/setting-up-a-bidirectional-data-flow-between-two-nordic-devices</link><description>Hi all, i recently posted some topics about my application to receive support, everything went good but now i need to add a last step to the project, and i would like to have some advices. Resuming briefly:
i have a smart beacon kit (rev 1.0 with s110</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 May 2016 13:09:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13903/setting-up-a-bidirectional-data-flow-between-two-nordic-devices" /><item><title>RE: Setting up a bidirectional data flow between two nordic devices</title><link>https://devzone.nordicsemi.com/thread/53141?ContentTypeID=1</link><pubDate>Tue, 17 May 2016 13:09:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d851fa9-cf37-43ee-af58-13deb3a8af72</guid><dc:creator>Revo</dc:creator><description>&lt;p&gt;thanks i will try and report back!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up a bidirectional data flow between two nordic devices</title><link>https://devzone.nordicsemi.com/thread/53140?ContentTypeID=1</link><pubDate>Tue, 17 May 2016 12:34:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f84f1b3-4b6a-4ca5-9d2d-85286defc755</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;yes, right :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up a bidirectional data flow between two nordic devices</title><link>https://devzone.nordicsemi.com/thread/53139?ContentTypeID=1</link><pubDate>Tue, 17 May 2016 12:29:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c29718f-509f-4a73-81ba-f2dd633f3fdf</guid><dc:creator>Revo</dc:creator><description>&lt;p&gt;I will search for some extra information, thanks! But basically i have to add a characteristic to my service that will &amp;quot;receive&amp;quot; the write, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up a bidirectional data flow between two nordic devices</title><link>https://devzone.nordicsemi.com/thread/53138?ContentTypeID=1</link><pubDate>Tue, 17 May 2016 12:17:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7974f5d1-e66c-42de-bcee-4c882e3beb8e</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;So, you have some ADC-characteristic that sends notification, and GATTC receives it.
And you want to have some communication-characteristic so GATTC will write to GATTS.
You can add it to your existing custom service.&lt;/p&gt;
&lt;p&gt;you should find somewhere example that do similar things, maybe application note nan-36 could be helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up a bidirectional data flow between two nordic devices</title><link>https://devzone.nordicsemi.com/thread/53137?ContentTypeID=1</link><pubDate>Tue, 17 May 2016 12:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:707fd680-2778-4cb9-a4eb-17a870ebed35</guid><dc:creator>Revo</dc:creator><description>&lt;p&gt;Sorry i was wrong, in the code that i use on the DK, it actually uses sd_ble_gattc_write function to send FROM the DK to the beacon! So it is the same that you are saying. So in order to receive the values, i only have to add a characteristic in the code of the beacon? My service on the beacon has just a characteristic that is the one with the data converted by the ADC, and of course with his CCCD configured to sent the value by notification to the DK. So how should i do to get it ready to receive the &amp;quot;write&amp;quot; data from the DK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up a bidirectional data flow between two nordic devices</title><link>https://devzone.nordicsemi.com/thread/53136?ContentTypeID=1</link><pubDate>Tue, 17 May 2016 11:44:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3638ae4a-98a2-41b3-9225-c2ad7c9c100c</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;If you want to send data to GATT server (which your beacon-peripheral probably is), you should use Write, not the Notification. Notification is used to send data from GATT server to GATT client (your DK connected to PC). I don&amp;#39;t know how your service looks like, but i think you can just add characteristic. So, it can be used that way: GATT Client (PC connected DK) --WRITE--&amp;gt; your custom characteristic on GATT Server (beacon-peripheral).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>