<?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 and macOS devices can&amp;#39;t connect to BLE MIDI device (nrf52832)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93076/ios-and-macos-devices-can-t-connect-to-ble-midi-device-nrf52832</link><description>Hello. I&amp;#39;m trying to make a simple BLE MIDI switch device based on PCA10040 dev kit and nrf Connect SDK v2.0.0. So I&amp;#39;ve added one GATT service with one characteristic according to BLE MIDI specification. All tutorials at this point say that I&amp;#39;ll be able</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Nov 2022 11:07:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93076/ios-and-macos-devices-can-t-connect-to-ble-midi-device-nrf52832" /><item><title>RE: IOS and macOS devices can't connect to BLE MIDI device (nrf52832)</title><link>https://devzone.nordicsemi.com/thread/395291?ContentTypeID=1</link><pubDate>Fri, 11 Nov 2022 11:07:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86094a87-830a-496a-bd9b-d4dceda9cd60</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;AFAIK,&amp;nbsp;i&lt;span&gt;OS and macOS will only display BLE accessories which are naively&amp;nbsp;supported in the OS.Since your are working with MIDI devices this seems to be fine and I think the problem relies with your Application&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;May be you have missed to include MIDI device UUID in the advertisement packet.Please refer &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/peripheral_uart/src/main.c#L79"&gt;here&lt;/a&gt; to do this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS and macOS devices can't connect to BLE MIDI device (nrf52832)</title><link>https://devzone.nordicsemi.com/thread/394933?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 13:50:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d099afe1-1482-4fbc-b60f-3cd0a37a984d</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Letting you know I am on this case and need some more time.&lt;/p&gt;
&lt;p&gt;Thank you for understanding.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS and macOS devices can't connect to BLE MIDI device (nrf52832)</title><link>https://devzone.nordicsemi.com/thread/394538?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 18:43:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b0e4dc2-3358-43a8-9533-dadd2283a731</guid><dc:creator>piotrosiotr</dc:creator><description>&lt;p&gt;So I&amp;#39;ve tried to compare my device with other ones, also spent some time on searching info about my issue.&lt;/p&gt;
&lt;p&gt;So the first thing I found was &lt;a href="https://www.lairdconnect.com/support/faqs/my-ble-device-not-shown-ios-bluetooth-manager-when-trying-connect"&gt;this&lt;/a&gt;. Here I read this:&amp;nbsp;&lt;span&gt;iOS devices will not pair with BLE devices unless one of the device&amp;#39;s characteristics specifies that encryption is required. So the next question is: how to show to iOS device that encryption is required? Maybe I need to edit the prj.conf file to add it?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The second thing was observed when I tried to compare services and characteristics to ROLI Lightpad device ones. I found that it contains not only BLE MIDI and&amp;nbsp;BAS (battery) services, but also the service called &amp;quot;Device Information&amp;quot; with 16-bit UUID 0x180A that contains manufacturer and model info. So I guess that it is a kind of standard service and maybe it is also required by iOS for device discovering. I think I need some example that shows how to implement it, but I can&amp;#39;t find one. I guess that adding any standard service is much more simple then adding a custom one, e. g. for adding battery service I need to enable it in prj.conf using&amp;nbsp;&lt;/span&gt;&lt;span&gt;CONFIG_BT_BAS&lt;/span&gt;&lt;span&gt;=y&amp;nbsp;&lt;/span&gt;&lt;span&gt;and implement some functions in my code.&lt;br /&gt;&lt;br /&gt;King regards,&lt;br /&gt;Piotr&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS and macOS devices can't connect to BLE MIDI device (nrf52832)</title><link>https://devzone.nordicsemi.com/thread/392859?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2022 13:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49e7a59c-7b26-41e2-88e7-435181a0e72f</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I was checking whether there is any known issue with the IOS versions. Didn&amp;#39;t find much on this. Could you provide the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;sniffer traces&lt;/a&gt;, So to get an idea on what&amp;#39;s happening over the Air.&lt;/p&gt;
&lt;p&gt;You can follow this&lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/installing_sniffer.html"&gt; guide&lt;/a&gt; for capturing the traces.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS and macOS devices can't connect to BLE MIDI device (nrf52832)</title><link>https://devzone.nordicsemi.com/thread/392662?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 13:59:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8fdedc0-0220-40c2-8bab-f44126e30b9e</guid><dc:creator>piotrosiotr</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;Yes, I can. nRF Connect Device Manager also can see it. I use latest iOS (v16.0.2) and macOS Big Sur (v11.6.5).&lt;br /&gt;King Regards,&lt;/p&gt;
&lt;p&gt;Piotr&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS and macOS devices can't connect to BLE MIDI device (nrf52832)</title><link>https://devzone.nordicsemi.com/thread/392648?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 13:35:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e4cb7a1-7437-4ea0-b744-10e901d20d21</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Whether you able to see the device through &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-mobile"&gt;nRF connect&lt;/a&gt; application? Could you&amp;nbsp; please provide the IOS version you are trying with.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS and macOS devices can't connect to BLE MIDI device (nrf52832)</title><link>https://devzone.nordicsemi.com/thread/392340?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 10:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e381a448-461e-421a-b9dc-7243c17ee45c</guid><dc:creator>piotrosiotr</dc:creator><description>&lt;p&gt;Yes, I&amp;#39;ve tried to clear all cashed BT devices, but it didn&amp;#39;t help to me. I still can&amp;#39;t see my device in Settings--&amp;gt;Bluetooth until I connect it using BLE Scanner app. I think that the reason is in the way in which default BLE search goes, it obviously different from BLE Scanner app, but I don&amp;#39;t have any idea, in which way.&lt;br /&gt;Thank you for reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS and macOS devices can't connect to BLE MIDI device (nrf52832)</title><link>https://devzone.nordicsemi.com/thread/392083?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 09:42:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcf79e56-68dd-468c-b079-0c2f633abe14</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Did you connect your board earlier with the same iPhone/Mac book you are trying? If so, this might be because of the&amp;nbsp;attribute caching. iOS keeps a history of the previous connection. So it doesn&amp;#39;t want to rediscover the device. Could you clear your cache once and give it a try? You can do this by:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:rgba(0, 0, 255, 1);"&gt;Settings--&amp;gt; Bluetooth--&amp;gt; Forget every Bluetooth device in the &amp;quot;&lt;span style="color:rgba(255, 0, 0, 1);"&gt;My device list&lt;/span&gt;&amp;quot;--&amp;gt; Restart the phone/device&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Cache will be cleared after this. Let me know if this helps or whether you are still struggling to connect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>