<?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>Issues with writting/reading data and flash writing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36065/issues-with-writting-reading-data-and-flash-writing</link><description>Hello! I am useing nRF52832 with custom-made board. 
 SD 5.0.0 and 14.0 SDK 
 I am using modificated example of &amp;quot;ble_app_template&amp;quot;, i added simple custom service from example &amp;quot;ble_cus&amp;quot; and try to communicate with android application. I can&amp;#39;t share all</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Jul 2018 12:01:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36065/issues-with-writting-reading-data-and-flash-writing" /><item><title>RE: Issues with writting/reading data and flash writing</title><link>https://devzone.nordicsemi.com/thread/138949?ContentTypeID=1</link><pubDate>Wed, 04 Jul 2018 12:01:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cab1ea9-9ffb-4855-a024-c8b63d2c8347</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;1. There is no max delay, but I recommend to keep it lower than the connection interval.&lt;/p&gt;
&lt;p&gt;2. There should be no need to wait for 100ms, if data is ready send it immediately.&lt;/p&gt;
&lt;p&gt;3. I recommend to implement peer manager (and fds)&amp;nbsp;which will handle security procedures and storing of bonds. Typically the security procedure will depend on the read and write permissions you set when init services, it should be possible to replace all instances of&amp;nbsp;BLE_GAP_CONN_SEC_MODE_SET_ENC_NO_MITM and BLE_GAP_CONN_SEC_MODE_SET_ENC_WITH_MITM with&amp;nbsp;BLE_GAP_CONN_SEC_MODE_SET_OPEN to avoid bonding.&lt;/p&gt;
&lt;p&gt;4. You may have assert, if you define DEBUG you can typically find where the assert occurs from&amp;nbsp;app_error_fault_handler().&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>