<?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>iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92464/iphone-and-samsung-connection-issues</link><description>We are experiencing connection issues for specific Android &amp;amp; iPhone but not for others (i.e. Samsung Galaxy S9). 
 Phones with issues 
 Android Details 
 
 Samsung Galaxy A72 
 Android OS Version 12 
 nRF Connect App Version 4.26.0 (Latest) 
 
 
 iOS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 09 Oct 2022 17:01:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92464/iphone-and-samsung-connection-issues" /><item><title>RE: iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/thread/389911?ContentTypeID=1</link><pubDate>Sun, 09 Oct 2022 17:01:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca31795e-29e7-4968-b185-947e76f643a5</guid><dc:creator>Kenneth</dc:creator><description>[quote user="ccrider"]I just received word the reporting team that patch that I sent yesterday fixes the problem when it wasn&amp;#39;t meant to it did by happenstance[/quote]
&lt;p&gt;Good to hear the problem is solved, though I must admit I don&amp;#39;t understand why this fixes your connection problems.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/thread/389712?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 19:14:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb86bb16-3212-4c08-a986-95ac17378d1e</guid><dc:creator>ccrider</dc:creator><description>&lt;p&gt;Line 15 (gatts_value.len&amp;nbsp; &amp;nbsp; &amp;nbsp;= COMBO_CHAR_DATA_SIZE;) was&amp;nbsp;gatts_value.len&amp;nbsp; &amp;nbsp; &amp;nbsp;= sizeof(&lt;span&gt;COMBO_CHAR_DATA_SIZE&lt;/span&gt;.len);&lt;/p&gt;
&lt;p&gt;The size was coming back 4 instead of the actual value of&amp;nbsp;&lt;span&gt;COMBO_CHAR_DATA_SIZE or 18.&amp;nbsp; But we would receive 18 characters with only 4 updating.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/thread/389709?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 19:09:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfbdc460-c962-4c07-a940-c700d3a597b8</guid><dc:creator>ccrider</dc:creator><description>&lt;p&gt;I just received word the reporting team that patch that I sent yesterday fixes the problem when it wasn&amp;#39;t meant to it did by happenstance.&amp;nbsp; The code below is where a change was made:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint32_t ble_Combo_value_update(ble_cus_data_t *p_cus, uint8_t combo_data[COMBO_CHAR_DATA_SIZE])
{
    //NRF_LOG_INFO(&amp;quot;In ble_Combo_value_update&amp;quot;); 
    if (p_cus == NULL)
    {
        return NRF_ERROR_NULL;
    }

    uint32_t err_code = NRF_SUCCESS;
    ble_gatts_value_t gatts_value;

    // Initialize value struct.
    memset(&amp;amp;gatts_value, 0, sizeof(gatts_value));

    gatts_value.len     = COMBO_CHAR_DATA_SIZE;
    gatts_value.offset  = 0;
    gatts_value.p_value = combo_data;


    // Update database.
    err_code = sd_ble_gatts_value_set(p_cus-&amp;gt;conn_handle,
                                      p_cus-&amp;gt;Combo_value_handles.value_handle,
                                      &amp;amp;gatts_value);
    if (err_code != NRF_SUCCESS)
    {
        return err_code;// Code fails here because of line above CBC 08/24/2022 
    }

    // Send value if connected and notifying.
    if ((p_cus-&amp;gt;conn_handle != BLE_CONN_HANDLE_INVALID)) 
    {
        ble_gatts_hvx_params_t hvx_params;

        memset(&amp;amp;hvx_params, 0, sizeof(hvx_params));

        hvx_params.handle = p_cus-&amp;gt;Combo_value_handles.value_handle;
        hvx_params.type   = BLE_GATT_HVX_NOTIFICATION;
        hvx_params.offset = gatts_value.offset;
        hvx_params.p_len  = &amp;amp;gatts_value.len;
        hvx_params.p_data = gatts_value.p_value;

        err_code = sd_ble_gatts_hvx(p_cus-&amp;gt;conn_handle, &amp;amp;hvx_params);
        if (err_code != NRF_SUCCESS &amp;amp;&amp;amp;
        err_code != BLE_ERROR_INVALID_CONN_HANDLE &amp;amp;&amp;amp;
        err_code != NRF_ERROR_INVALID_STATE &amp;amp;&amp;amp;
        err_code != BLE_ERROR_GATTS_SYS_ATTR_MISSING &amp;amp;&amp;amp;
        err_code != BLE_GATTS_EVT_SYS_ATTR_MISSING &amp;amp;&amp;amp;
        /*I&amp;#39;m not entirely sure if ignoring this error could have detrimental effects or not*/
        err_code != NRF_ERROR_RESOURCES)
        {
          APP_ERROR_CHECK(err_code);
        }
    }
    else
    {
        err_code = NRF_ERROR_INVALID_STATE;
    }


    return err_code;
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/thread/389685?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 16:31:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7db9de7c-b3ed-49a8-bd29-33f95c68bbdd</guid><dc:creator>Kenneth</dc:creator><description>[quote user="ccrider"]What would be the potential root causes for why some phones have a connection issue and other&amp;#39;s do not?[/quote]
&lt;p&gt;I have seen in the past some phones may not &amp;quot;like&amp;quot; that there are BLE procedures starting on very first connection event, this seems to trigger them to enter a bad state. It may also be some new features that is supported by the peripheral and not supported by the phone, in this case the phone should ignore them, yet some old phones may enter a bad state. It can also be some issue with a specific android/ios release or chipset from time to time. It can also be a peripheral that have some strict requirement to specific features or parameters, and if the phone don&amp;#39;t apply to these, it may disconnect based on it. So overall, it can be quite a lot of things, though I see less and less of these issues.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/thread/389666?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 14:36:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c33770f4-f1b0-45b6-b177-3ea6f4a55499</guid><dc:creator>ccrider</dc:creator><description>&lt;p&gt;Hello Keith,&lt;/p&gt;
&lt;p&gt;What would be the potential root causes for why some phones have a connection issue and other&amp;#39;s do not?&amp;nbsp; I am working on&amp;nbsp; Fishbone diagram to help root cause the issue.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/thread/389285?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 21:21:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b926d418-220a-4591-a91f-929f5df630cb</guid><dc:creator>ccrider</dc:creator><description>&lt;p&gt;Most of the core BLE code is in the current code.&amp;nbsp; But, we have had 4 months of changes.&amp;nbsp; The Android phones that&amp;#39;s been used over those 4 months didn&amp;#39;t have the same issue, as the other phone mentioned above.&amp;nbsp; I&amp;#39;ll see what I can get with a sniffer.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/thread/389278?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 20:56:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:531af769-1dfd-4e2e-b11d-c86e600c288e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I was mainly interested in firmware yes. I guess you have indirectly answered my question then, that the example as-is likely works, but a change is causing the issue. Unless you are able to pinpoint the change that triggers the issue, then I likely need the sniffer log.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/thread/389275?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 19:29:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43c1fad8-6d24-467d-aa97-393e0bf02ef3</guid><dc:creator>ccrider</dc:creator><description>&lt;p&gt;Hello Keith,&lt;/p&gt;
&lt;p&gt;Thanks for help.&amp;nbsp; &amp;nbsp;For question #2 are you referring to the Nordic Firmware or app SW?&amp;nbsp; We used example for the FW and modified, as needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/thread/389235?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 14:06:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eac03193-58ae-4ffa-b7ae-a457831dfdc0</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;1. We need an on-air sniffer log of working vs. failing, for instance using ellisys, frontline, or our own nrf sniffer for ble:&lt;br /&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le&lt;/a&gt;&amp;nbsp;&lt;br /&gt;(direct link to user guide:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/pdf/nRF_Sniffer_BLE_UG_v4.1.0.pdf"&gt;https://infocenter.nordicsemi.com/pdf/nRF_Sniffer_BLE_UG_v4.1.0.pdf&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;2. Can you comment if the issue happens with a standard sdk/ncs example as-is (if yes, which release and example), or does it occur after modification to an example (if yes, which release and example, and what modifications have you done).&lt;/p&gt;
&lt;p&gt;3. Can you check if you have followed the apple bluetooth guidelines (see chapter 41)?&lt;br /&gt;&lt;a href="https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf"&gt;https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/thread/389198?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 12:16:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f4a5399-ae47-4222-a3f4-7ec249016601</guid><dc:creator>ccrider</dc:creator><description>&lt;p&gt;We are using a FWM7BLZ20 Wireless module.&amp;nbsp; So, we can&amp;#39;t&amp;nbsp; change the load capacitance and don&amp;#39;t know the values at this time.&amp;nbsp; &amp;nbsp;Is there a way&amp;nbsp; to adjust FW wise to make it compatible with most/all smart phones?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/thread/388953?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 10:33:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddb7930d-2fa5-45c3-b73d-4f0b27db89d0</guid><dc:creator>Kaja</dc:creator><description>&lt;p&gt;The nordic device&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/thread/388818?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 14:39:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d26d410-cc88-462b-8090-939002e8f457</guid><dc:creator>ccrider</dc:creator><description>&lt;p&gt;I tested with a Samsung Galaxy S9 with no connection problems.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/thread/388815?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 14:31:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a502e47b-29bf-44f7-b69d-e587953e0713</guid><dc:creator>ccrider</dc:creator><description>&lt;p&gt;Are you asking in relation to the phones that have an issue or the Nordic device being used?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone and Samsung connection issues</title><link>https://devzone.nordicsemi.com/thread/388706?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 09:05:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e04a0d3e-a27a-496b-a9c8-f77ce5ac06b9</guid><dc:creator>Kaja</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;you have tested with&amp;nbsp;multiple other phones and it works for them?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The crystals you use on your design, what is the CL, load capacitance and what is the values on the load capacitors? Both for 32.768 kHz and 32 MHz.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Kaja&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>