<?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>How and where to send a SERVICE CHANGED indicate?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16059/how-and-where-to-send-a-service-changed-indicate</link><description>I want to send a service changed indicate after upgrading app by dfu.I know dfu already so that,but i don&amp;#39;t know that how dfu do that. 
 there is service_change_indicate function in dfu,but it seems not be called . 
 anybody knows how to do ? 
 env</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Sep 2016 10:58:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16059/how-and-where-to-send-a-service-changed-indicate" /><item><title>RE: How and where to send a SERVICE CHANGED indicate?</title><link>https://devzone.nordicsemi.com/thread/61247?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 10:58:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37f1112a-2574-49d7-ba50-4847836327c3</guid><dc:creator>sun</dc:creator><description>&lt;p&gt;Thanks.
I find service_change_indicate() is called in LE_GAP_EVT_CONN_SEC_UPDATE event.
IS_SRVC_CHANGED_CHARACT_PRESENT is already  set to 1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How and where to send a SERVICE CHANGED indicate?</title><link>https://devzone.nordicsemi.com/thread/61246?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2016 08:38:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:275f8136-9864-46d0-97d7-711b617db156</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sun,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s called. You can find we called service_change_indicate(); in BLE_GAP_EVT_CONN_SEC_UPDATE event in on_ble_evt() in dfu_transport_ble.c.&lt;/p&gt;
&lt;p&gt;Basically we will send service changed indication after the link is re-encrypted. In service_change_indicate() we tried to re-establish the system attribute (the CCCD values) before we send the indication.&lt;/p&gt;
&lt;p&gt;Note that you need to make sure you set IS_SRVC_CHANGED_CHARACT_PRESENT to 1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>