<?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>S130 general purpose application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11260/s130-general-purpose-application</link><description>Hi, 
 I am trying make general-purpose s130 app that will be able to connect to central and peripheral at the same time and to exchange informations between them.
At the beggining my app should connect to peripheral and discover all its services. After</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Jan 2016 07:49:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11260/s130-general-purpose-application" /><item><title>RE: S130 general purpose application</title><link>https://devzone.nordicsemi.com/thread/42343?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2016 07:49:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e249c1cb-9d72-4731-a373-a794f1f572b1</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Are you trying to turn on notifications from the &amp;quot;top&amp;quot; central? Turning on notifications is essentially doing a write command to a descriptor (the cccd) of a characteristic. Your relay device must catch these write commands and create its own write commands for the peripheral devices. How are you implementing it? Please confirm that the write commands arrive at the peripheral devices, and that the write command is to the correct handles.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 general purpose application</title><link>https://devzone.nordicsemi.com/thread/42342?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2016 21:31:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a26befa0-f211-4d28-bb93-6479657ab153</guid><dc:creator>Charlie329</dc:creator><description>&lt;p&gt;I had problem with handle values but now everything is ok. Now I am facing problem with notofications. I can enable or disable them but I have no idea why I don`t get any  BLE_GATTC_EVT_HVX event. Any advice?
Oh, and thank you for previous answers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 general purpose application</title><link>https://devzone.nordicsemi.com/thread/42341?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2016 13:31:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:232cdbb8-5ad5-4dc2-bb12-f597c71c61ad</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Note that BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST could mean both read and write. Are you separating the two events in your code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 general purpose application</title><link>https://devzone.nordicsemi.com/thread/42340?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2016 21:46:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa191dab-c8c8-42fb-aec9-246e0e1c8d60</guid><dc:creator>Charlie329</dc:creator><description>&lt;p&gt;So, I managed to read values from peripheral through central/peripheral device, but there is a problem with writing values on peripherals. It seems ok, all error codes are &amp;quot;success&amp;quot; but when I am trying to read that value after writing it I always get original value - nothing changes on peripheral.&lt;/p&gt;
&lt;p&gt;On my c/p device, after I get &amp;quot;BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST&amp;quot; ,which is write request, I use &amp;quot;sd_ble_gattc_write()&amp;quot; to write proper value on peripheral. Then, after getting response from it - &amp;quot;BLE_GATTC_EVT_WRITE_RSP&amp;quot; I use sd_ble_gatts_rw_authorize_reply() to send reply to my central device (master control panel). Should I store some values somewhere? I do not do that. Can it be a problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 general purpose application</title><link>https://devzone.nordicsemi.com/thread/42339?ContentTypeID=1</link><pubDate>Mon, 11 Jan 2016 23:44:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cdd8516-d085-4249-bccd-4ec4106483e1</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;What is the &amp;#39;problem of communication between them&amp;#39;? It seems pretty direct (although inefficient), when the central reads the value of one of your characteristics, you read it from the peripheral you&amp;#39;re connected to and return it. if the central writes to you, you write to the peripheral, if the central subscribes to a characteristic, you subscribe to it on your connected peripheral and when you receive updates, you send them on, and when it unsubscribes again, you do likewise. All you do is mirror the calls the central makes to you.&lt;/p&gt;
&lt;p&gt;What is the problem you&amp;#39;re having doing that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>