<?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>About Read By Type requests from iPhone devices.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107548/about-read-by-type-requests-from-iphone-devices</link><description>Hello. 
 
 The BLE software under development is building a a service using NUS that targeting the iPhone as a peripheral device. 
 After the connection is established and the NUS service is enabled by dbDiscovery, during WRITE-INDICATE communication</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Jan 2024 12:16:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107548/about-read-by-type-requests-from-iphone-devices" /><item><title>RE: About Read By Type requests from iPhone devices.</title><link>https://devzone.nordicsemi.com/thread/466497?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2024 12:16:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe6fd7da-b910-430b-b271-16166056729d</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I think it is very IOS specific and do not know the implementation details of when they send the Read By Type. But it is possible that the IOS BLE implementation has some timers of activity/inactivity based on which they might send requests like this. This behavior is purely central controlled and I do not think the peripheral can influence this behavior in any meaningful way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About Read By Type requests from iPhone devices.</title><link>https://devzone.nordicsemi.com/thread/465931?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 09:12:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d9e7b20-2184-46f6-be43-969083ee4707</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will report what I have learned about the situation.&lt;/p&gt;
&lt;p&gt;&amp;gt; Is it possible that the previous Indication event (BLE_GATTC_EVT_HVX) disappears by receiving Read By Type?&lt;/p&gt;
&lt;p&gt;Regarding the above, I found out that the Indication does not disappear due to Read By Type, but only appears to disappear due to an abnormality in the data of the Indication frame from the iPhone.&lt;/p&gt;
&lt;p&gt;There seems to be enough time between the Indication frame and the Read By Type that there is no relationship.&lt;br /&gt;&lt;br /&gt;Regarding Read By Type, it seems that iOS will send it if there is space in BLE, but if you know the conditions, please let me know.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About Read By Type requests from iPhone devices.</title><link>https://devzone.nordicsemi.com/thread/465489?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 08:18:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9d0f27d-b416-4759-8b28-dc123e0f6dda</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt; Is it possible to tell me which iphone and which IOS version you see this issue with?&lt;/p&gt;
&lt;p&gt;Depending on the thing, there are some patterns in which Read By Type does not occur, but the phenomenon occurs with the following combinations.&lt;/p&gt;
&lt;p&gt;iPhoneXR - iOS13.6.1, iOS15.6.1&lt;br /&gt;iPhoneSE2 - iOS14.4&lt;/p&gt;
&lt;p&gt;With iPhoneXR, the phenomenon may or may not occur.&lt;/p&gt;
&lt;p&gt;The following combination did not cause any problems:&lt;/p&gt;
&lt;p&gt;iPhoneX - iOS16.0&lt;br /&gt;iPhoneXS - iOS15.6.1&lt;/p&gt;
&lt;p&gt;I hope this information helps you understand something.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, please respond to the following inquiries that have already been posted.&lt;br /&gt;&lt;br /&gt;Is it possible that the previous Indication event (BLE_GATTC_EVT_HVX) disappears by receiving Read By Type?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About Read By Type requests from iPhone devices.</title><link>https://devzone.nordicsemi.com/thread/465485?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 07:47:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e3ac0cb-eb4c-4836-a848-f2cb4085efb1</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user="hiroiwas"]If you insert Read By Type during communication, there is a high probability that it will time out, but do you know why iOS inserts Read By Type?[/quote]
&lt;p&gt;We know that there was an issue 5-10 years ago on Qualcomm chips with BLE having a bug in the stack which they fixed later. So if you are having an old IOS on older phone, maybe you can test this with newer phones.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is it possible to tell me which iphone and which IOS version you see this issue with? Also can you give me your peripheral project so that I can try to understand more on this issue by testing it at our end?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About Read By Type requests from iPhone devices.</title><link>https://devzone.nordicsemi.com/thread/465206?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 01:28:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ba999bc-c5cb-47eb-8c03-23b3894a943b</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello again.&lt;br /&gt;&lt;br /&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;This is additional information.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Regarding the Indication just before Read By Type, in AirLog, Confirn is performed from the Nordic app side, but it seems that it is not received in the BLE debug log.&lt;br /&gt;&lt;br /&gt;This seems to be the direct cause of the timeout, but is it possible that the previous Indication event (BLE_GATTC_EVT_HVX) disappears by receiving Read By Type?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About Read By Type requests from iPhone devices.</title><link>https://devzone.nordicsemi.com/thread/465204?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 00:54:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1423ced-a9db-46f1-b8c5-576e2f04daa0</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;Susheel Nuguru, thank you for your reply.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;The device uses nRF52840 and is using s140 v7.3.0.&lt;br /&gt;These are as tagged.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;Additionally, LESC is not used and peer_manager is disabled.&lt;br /&gt;&lt;br /&gt;This is to speed up the connection, and security is separately ensured through the advertise frame and unique authentication after connection.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1705883076064v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span style="background-color:#ffffff;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;, Helvetica, Arial, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;&amp;gt; Why is your app not responding to the read request?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span style="background-color:#ffffff;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;, Helvetica, Arial, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;It is the iOS app that is not responding.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span style="background-color:#ffffff;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;, Helvetica, Arial, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;In the case presented, after the last Indication is sent from the iOS app,&lt;br /&gt;When Read By Transaction is inserted, a timeout (2s) occurs until the next communication in the application management and the connection is disconnected.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span style="background-color:#ffffff;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;, Helvetica, Arial, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;If you insert Read By Type during communication, there is a high probability that it will time out, but do you know why iOS inserts Read By Type?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About Read By Type requests from iPhone devices.</title><link>https://devzone.nordicsemi.com/thread/465056?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2024 13:22:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:241a30c4-050b-4dee-8876-a98eb9e9bb59</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Which SDK are you using on the nRF device and which nRF device is it? nRF52840 as selected in your tags?&lt;br /&gt;Have you enabled LE secure connections?&lt;/p&gt;
[quote user=""]Since the communication sequence manages the elapsed time between communications, so this unintended Discovery request causes a timeout.[/quote]
&lt;p&gt;Why is your app not responding to the read request? Have you enabled authorization for the read for this characteristic and have not implemented to respond to the authorize_request?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>