<?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>iOS peripheral and nRF51822 central writing char</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13404/ios-peripheral-and-nrf51822-central-writing-char</link><description>Hello, 
 Situation: 
 I am trying to write a characteristic to an iOS device acting as a peripheral from a nRF51822 board.
The board has 2 leds (green and red) and a button. 
 The iOS device is running an app exposing a service (let&amp;#39;s say it&amp;#39;s ID</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Apr 2016 20:16:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13404/ios-peripheral-and-nrf51822-central-writing-char" /><item><title>RE: iOS peripheral and nRF51822 central writing char</title><link>https://devzone.nordicsemi.com/thread/51140?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 20:16:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bfc8b79-60f2-4226-b521-3bf3eb520526</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Rubber_duck_debugging"&gt;Rubber Duck Debugging&lt;/a&gt; sometimes work out :)
Good that you found your solution!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS peripheral and nRF51822 central writing char</title><link>https://devzone.nordicsemi.com/thread/51139?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 17:57:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:783f5725-8060-47d6-885c-0f28ce23c991</guid><dc:creator>d4nk</dc:creator><description>&lt;p&gt;Well, first of all, sorry for wasting your time.&lt;/p&gt;
&lt;p&gt;Sometimes happens that after a some days trying to make it work and then going to the forums to post the question, just a couple of minutes later you find the solution.&lt;/p&gt;
&lt;p&gt;I will post the solution here for anyone with the same problem:&lt;/p&gt;
&lt;p&gt;I just used the characteristic CCCD handle (charateristics[i].cccd_handle) instead of the characteristic handle value (charateristics[i].characteristic.handle_value) when filling the sd_ble_gattc_write params handle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>