<?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>When android setValue on characteristics</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18310/when-android-setvalue-on-characteristics</link><description>Hello, I am working on characteristics tutorial.(our service.c)
And I succeeded in notifying characteristic from nordic to android.
The methods I used to notify characteristic update are timer_handler and update_characteristic.
ok. that&amp;#39;s fine.
However</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Dec 2016 14:08:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18310/when-android-setvalue-on-characteristics" /><item><title>RE: When android setValue on characteristics</title><link>https://devzone.nordicsemi.com/thread/70714?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2016 14:08:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2805f2d-a66d-48fd-ae70-a4d7f97ff97e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Gary,
Yes you can have a look at the ble_app_uart example in our nRF5 SDK. You can find how we catch BLE_GATTS_EVT_WRITE event and then call the nus_data_handler() ( as the nus_init.data_handler ) to handle the event.&lt;/p&gt;
&lt;p&gt;You can have a look at other examples as well, to get familiar with the peer manager library (not used in the ble_app_uart example).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When android setValue on characteristics</title><link>https://devzone.nordicsemi.com/thread/70715?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2016 12:18:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:264fb3b0-f435-4abb-b64e-86dfce14515d</guid><dc:creator>gary</dc:creator><description>&lt;p&gt;thanks a lot. It helped me a lot. I have one more question. Then, is there any related examples so I can see the event handler? And I found that some people said the method for data receiving is nus_data_handler. Is this related to what I am looking for (characteristic write event)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When android setValue on characteristics</title><link>https://devzone.nordicsemi.com/thread/70713?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2016 12:11:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cad1c599-bfa7-41f4-a1f3-0993fb0ba618</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Gary,&lt;/p&gt;
&lt;p&gt;You will receive BLE_GATTS_EVT_WRITE event in the application.
You can find most of the BLE events and how thing should be handled by looking at the message sequence charts, for example &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___b_l_e___g_a_t_t_s___w_r_i_t_e___c_m_d___n_o___a_u_t_h___m_s_c.html?cp=2_3_0_1_0_2_4_3_19"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>