<?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>Unable to connect iOS nRF connect/toolbox apps to eval kit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30747/unable-to-connect-ios-nrf-connect-toolbox-apps-to-eval-kit</link><description>Could not connect to the nRF52840 preview DK eval kit running the ble_peripheral/ble_app_uart firmware to iOS 11 device running the nRF connect or toolbox apps. We tried on iPhone 7 and 8. Connection does not get established, board keeps blinking. 
 Tried</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Mar 2018 13:32:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30747/unable-to-connect-ios-nrf-connect-toolbox-apps-to-eval-kit" /><item><title>RE: Unable to connect iOS nRF connect/toolbox apps to eval kit</title><link>https://devzone.nordicsemi.com/thread/122833?ContentTypeID=1</link><pubDate>Mon, 05 Mar 2018 13:32:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:928e4271-7a33-4ae8-8370-4c7f8e049f22</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the update, glad to hear that it worked.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortunately, we do not provide source code for&amp;nbsp;our nRF connect mobile apps. Recommend that you use the nRF toolbox container app as reference instead. Source code is available on our github page here:&amp;nbsp;&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/IOS-nRF-Toolbox"&gt;https://github.com/NordicSemiconductor/IOS-nRF-Toolbox&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect iOS nRF connect/toolbox apps to eval kit</title><link>https://devzone.nordicsemi.com/thread/122534?ContentTypeID=1</link><pubDate>Fri, 02 Mar 2018 01:57:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7de386e6-b6e9-476c-abef-b6b2ca9bf64c</guid><dc:creator>idokle</dc:creator><description>&lt;p&gt;This is awesome! Just verified that this now works on both iOS annd Android. Thank you very much!&lt;/p&gt;
&lt;p&gt;I&amp;#39;d like to work on a custom iOS app to communicate with the nRF52840 over UART/BLE, I wasn&amp;#39;t able to find the source code for the nRF connect app for iOS nor an iOS SDK (only the nRF Toolbox app). Has it not been released?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect iOS nRF connect/toolbox apps to eval kit</title><link>https://devzone.nordicsemi.com/thread/121802?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2018 13:47:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:842869df-6d7d-4394-8b78-953390f2d313</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The BLE event length is configured by the application when it enables the softdevice, so it is the app that needs to be re-compiled with the new&amp;nbsp;&lt;span&gt;NRF_SDH_BLE_GAP_EVENT_LENGTH value&lt;/span&gt;. The softdevice is distributed as a pre-compiled binary, and can&amp;#39;t be modified.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can upload hex images using &amp;#39;drag&amp;amp;drop&amp;#39;. Problem is that you can only program one hex file&amp;nbsp;as flash is erased when a new .hex image is uploaded, even if they&amp;#39;re linked to separate regions in flash. You can merge the softdevice and application to work around this limitation, but I think it&amp;#39;s easier to just use the CLI tools.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Merged softdevice and ble_app_uart example with BLE event length set to 6 *1.25 ms:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c3cbdb82dcf24389bd38a00d140535c2/uart_5F00_w_5F00_s140_5F00_v5.hex"&gt;devzone.nordicsemi.com/.../uart_5F00_w_5F00_s140_5F00_v5.hex&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Memory layout for applications that use Softdevice:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c3cbdb82dcf24389bd38a00d140535c2/pastedimage1519393184021v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect iOS nRF connect/toolbox apps to eval kit</title><link>https://devzone.nordicsemi.com/thread/121740?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 21:28:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cff5a56-8fca-4448-96fd-98d430d7823e</guid><dc:creator>idokle</dc:creator><description>&lt;p&gt;Oh OK understood, so just confirming: if I want to use the BLE peripheral UART example, I need to grab SD 5.0.0 and make the said changes, rebuild and flash, then reflash the example app via JLink.&lt;/p&gt;
&lt;p&gt;Wanted to ask: Can I also flash SoftDevice via JLink drop HEX file or must use CLI tools?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect iOS nRF connect/toolbox apps to eval kit</title><link>https://devzone.nordicsemi.com/thread/121638?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 09:50:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fb820be-6c75-4153-a67e-97bee256f718</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You can still use v.5.0.0-2, just make sure to increase the event length. v.6.0.0 has significant API changes, especially for the advertiser and scanner APIs (to support new features such as advertisement extensions) so is not drop-in compatible with sdk 14 examples.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect iOS nRF connect/toolbox apps to eval kit</title><link>https://devzone.nordicsemi.com/thread/121627?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 09:13:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e279837d-f698-482e-b468-1b257e332821</guid><dc:creator>idokle</dc:creator><description>&lt;p&gt;Does it mean that I need to&amp;nbsp;recompile SoftDevice v6.0.0 with above setting &amp;gt;4 or just flash existing HEX file for SD 6.0.0 to the evalkit ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect iOS nRF connect/toolbox apps to eval kit</title><link>https://devzone.nordicsemi.com/thread/121625?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 09:04:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:913fda62-0a34-46ad-ab57-49a2e1e9f101</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is caused by a bug in the s140 &lt;span&gt;v.5.0.0-2 alpha&amp;nbsp;&lt;/span&gt;softdevice, which was fixed in v.6.0.0-6. From the release notes:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt;Fixed an issue where the &lt;/span&gt;&lt;span&gt;BLE_GAP_DATA_LENGTH_AUTO &lt;/span&gt;&lt;span&gt;value for &lt;/span&gt;&lt;span&gt;p_dl_params-&amp;gt;max_tx_octets &lt;/span&gt;&lt;span&gt;and &lt;/span&gt;&lt;span&gt;p_dl_params&lt;br /&gt;-&amp;gt;max_rx_octets &lt;/span&gt;&lt;span&gt;in &lt;/span&gt;&lt;span&gt;sd_ble_gap_data_length_update() &lt;/span&gt;&lt;span&gt;might not work as expected on connections using a&lt;br /&gt;configuration with configured event length of 2, 3, or 4 &lt;/span&gt; &lt;/p&gt;
&lt;p&gt;In other words, increasing the&amp;nbsp;NRF_SDH_BLE_GAP_EVENT_LENGTH to &amp;gt;4 in sdk_config.h should fix the problem. The reason this will work on most Android phones and not iphone 7/8 is that iPhones supports data length extension.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>