<?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>Send write characteristic command data to all connected peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9000/send-write-characteristic-command-data-to-all-connected-peripheral</link><description>Hello,I use s120 and I wnat to send data(write charactheristics value) to all connected peripheral when I receive a character from uart(in uart event handler)?(I use ble_app_multilink_central_s120)
Can I do this using sd_ble_gattc_write() ?If yest,what</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Sep 2015 06:28:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9000/send-write-characteristic-command-data-to-all-connected-peripheral" /><item><title>RE: Send write characteristic command data to all connected peripheral</title><link>https://devzone.nordicsemi.com/thread/33137?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2015 06:28:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b025190-74ce-4ca1-b0ae-b5103ca4d44e</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Thanks a lot,Hung Bui!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send write characteristic command data to all connected peripheral</title><link>https://devzone.nordicsemi.com/thread/33136?ContentTypeID=1</link><pubDate>Tue, 01 Sep 2015 10:38:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30d2e096-7c29-44ce-96c8-be8f055c5c53</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi John,&lt;/p&gt;
&lt;p&gt;As  you can find in the description of  sd_ble_gattc_write() description, there is a conn_handle parameter to identify the connection (peripheral). So if you have to send write command to several peripherals you would need to keep track of the active connection handles and call sd_ble_gattc_write() for each peripheral.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>