<?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>Write to characteristic from Central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33255/write-to-characteristic-from-central</link><description>Hi, 
 I&amp;#39;m having trouble writing to a characteristic when operating as a central. I&amp;#39;m sure it is just a lack of understanding on my part but neither the SDK documentation nor the examples I have seen are helping resolve this. I have successfully managed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Apr 2018 09:12:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33255/write-to-characteristic-from-central" /><item><title>RE: Write to characteristic from Central</title><link>https://devzone.nordicsemi.com/thread/127770?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 09:12:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c85da4fa-f017-4e02-93c8-b83a318ea360</guid><dc:creator>YYZ</dc:creator><description>&lt;p&gt;Thanks Daniel. That has fixed the problem - really appreciate your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Write to characteristic from Central</title><link>https://devzone.nordicsemi.com/thread/127689?ContentTypeID=1</link><pubDate>Tue, 10 Apr 2018 18:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d494955-6602-4f0a-b6a4-2ef020dcdf12</guid><dc:creator>Daniel Wang</dc:creator><description>[quote userid="26748" url="~/f/nordic-q-a/33255/write-to-characteristic-from-central"]I&amp;#39;ve used the same code in another project when sending data from a peripheral back to a central without problems. Is this correct when trying to write from a central or is this totally wrong?[/quote]
&lt;p&gt;It is totally wrong if your central is the client(which is almost always the case). You can&amp;#39;t send a notification from client to server.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x240/__key/communityserver-discussions-components-files/4/8037.data_5F00_transfer.png" /&gt;&lt;/p&gt;
&lt;p&gt;You should send a write command instead using&amp;nbsp;sd_ble_gattc_write() with opcode&amp;nbsp;BLE_GATT_OP_WRITE_CMD.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>