<?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>ble gatts write event</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9569/ble-gatts-write-event</link><description>I am having a small doubt in example UART Service. while writing characteristics value from master control panel to nrf51 chip, the stack generating BLE_GATTS_EVT_WRITE to application. How the stack knowing that the data is written in particular characteristics</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Oct 2015 11:46:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9569/ble-gatts-write-event" /><item><title>RE: ble gatts write event</title><link>https://devzone.nordicsemi.com/thread/35340?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2015 11:46:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfbfa435-e230-4ce9-8c7e-8657506bcf3a</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;If you like my answer, please accept it by clicking the grey circle next to it. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble gatts write event</title><link>https://devzone.nordicsemi.com/thread/35339?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2015 04:24:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21057aef-f4a4-46b1-878d-952b0a26f4ac</guid><dc:creator>ponlakshmi</dc:creator><description>&lt;p&gt;Thank you well explained....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble gatts write event</title><link>https://devzone.nordicsemi.com/thread/35338?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2015 09:26:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9320ea00-91f5-4183-8dba-dd83cf53c264</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The SoftDevice is implemented according to the Bluetooth Core specification, which I hope you are familiar with. Anyways, I&amp;#39;ll try to give you a high level abstraction explanation of how the BLE_GATTS_EVT_WRITE event is generated.&lt;/p&gt;
&lt;p&gt;In a connection the radio in the peripheral will listen for packets which has the access address of the central on every connection interval. If a packet is received, it is interpreted by the link layer and forwarded to the L2CAP layer if appropriate. L2CAP then forwards the packet to ATT, GAP or SM.&lt;/p&gt;
&lt;p&gt;The BLE_GATTS_EVT_WRITE event would originate from an ATT Write Request or an ATT Write Command from the client. If the ATT layer receives one of these methods it will write the value to the attribute server, and then notify the GATTS layer that a write has been done. GATTS will then forward a the BLE_GATTS_EVT_WRITE event to application through Software Interrupt 2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble gatts write event</title><link>https://devzone.nordicsemi.com/thread/35337?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2015 15:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0a722b6-578b-4e25-b90a-f3edfed515ce</guid><dc:creator>ponlakshmi</dc:creator><description>&lt;p&gt;how the SoftDevice knows???Thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble gatts write event</title><link>https://devzone.nordicsemi.com/thread/35336?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2015 14:12:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc401979-82df-4ff9-a700-b89851c28744</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Are you asking how the SoftDevice knows or how the applications knows?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>