<?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>Android NFC Pairing Issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57392/android-nfc-pairing-issue</link><description>Hello, 
 
 I am trying to test using NFC pairing with the nRF52840, but I am having trouble connecting to the device with the built-in android NFC Pairing prompt without the NRF Connect App. I am using the ble_nfc_pairing_reference example and a Google</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Feb 2020 08:57:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57392/android-nfc-pairing-issue" /><item><title>RE: Android NFC Pairing Issue</title><link>https://devzone.nordicsemi.com/thread/234119?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 08:57:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9aedcaa7-a096-44d6-8db1-2fd6f091e16b</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Yes, this sounds reasonable. The same is the case for most Windows devices as well, filtering out Bluetooth devices that are &amp;quot;unknown&amp;quot; services, so I believe that&amp;#39;s what you&amp;#39;re seeing as well. You can test to confirm this by trying to connect to I.E. the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_hrs.html"&gt;ble_app_hrs &lt;/a&gt;example (the default one) using the Google Pixel&amp;#39;s Bluetooth instead of nRFConnect.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android NFC Pairing Issue</title><link>https://devzone.nordicsemi.com/thread/234036?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 15:41:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6054915f-9474-4170-9166-d2500f0226b7</guid><dc:creator>sarem-shal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am using the default&amp;nbsp;project the&amp;nbsp;&lt;span&gt;ble_nfc_pairing_reference example with &amp;quot;Just Works&amp;quot; Pairing. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But I ended up trying the BLE NFC Pairing with the two other experimental&amp;nbsp;projects (ble_app_hids_keyboard_pairing_nfc and&amp;nbsp;ble_app_hrs_nfc_pairing) and I actually saw a successful connection with the&amp;nbsp;ble_app_hids_keyboard_pairing_nfc project. But when I tried the&amp;nbsp;ble_app_hrs_nfc_pairing project, I saw the same behavior I was getting with the&amp;nbsp;ble_nfc_pairing_reference project. Also if I run the non-NFC version the ble_app_hrs project, I&amp;#39;ll see a similar behavior where I connected to the device through BLE and when I check my connected device, it does not seem to be actually connected.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot_5F00_20200212_2D00_103112.png" alt=" " /&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot_5F00_20200212_2D00_103119.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am suspecting that maybe&amp;nbsp;on some phones (such as the Google Pixel 3a or the Samsung Galaxy&amp;nbsp;7), the default Android&amp;nbsp;Bluetooth is only compatible with some services, otherwise it will disconnect/not connect fully. Hence the&amp;nbsp;ble_app_hids_keyboard_pairing_nfc project was successful since my Google Pixel 3a and Samsung Galaxy 7&amp;nbsp;are compatible&amp;nbsp;with that service.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Would you be able to verify my suspicion?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android NFC Pairing Issue</title><link>https://devzone.nordicsemi.com/thread/233983?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 13:15:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79ec9088-3e38-439e-95bd-ca3023248999</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Have you added any services to the&amp;nbsp;&lt;span&gt;ble_nfc_pairing_reference&amp;nbsp;example? Because it shouldn&amp;#39;t have any services by default. What pairing mode are you using, according to the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_nfc_pairing_reference.html"&gt;example setup/testing page on the Infocenter&lt;/a&gt;, you can choose from the buttons on the board. Have you tried debugging at all on the nRF side, to see if you get any errors on that side of things?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please also note that our experimental examples like the ble_nfc_pairing_reference example are prone to bugs, as they aren&amp;#39;t tested thoroughly and are not to be revered as complete examples.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android NFC Pairing Issue</title><link>https://devzone.nordicsemi.com/thread/233835?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2020 19:17:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:555a100e-eaa1-4623-a90f-72a13a0ab8f1</guid><dc:creator>sarem-shal</dc:creator><description>&lt;p&gt;Hi, so I re-evaluated&amp;nbsp;the way my&amp;nbsp;Google Pixel 3a connects&amp;nbsp;and I may be seeing some of the behavior that you are seeing on your phone, but with some quirks in the behavior.&lt;/p&gt;
&lt;p&gt;So as mentioned before, when I try to use the default Bluetooth NFC, my phone is able to successfully bond to the board.&lt;/p&gt;
&lt;p&gt;My phone will say &amp;quot;PAIRING Nordic_NFC_PAIR_REF&amp;quot; and once paired it will say &amp;quot;Connecting&amp;nbsp;&lt;span&gt;Nordic_NFC_PAIR_REF&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;When I look in my bluetooth settings, I see that the device is listed as a &amp;quot;Connected Device&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot_5F00_20200211_2D00_112955.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;But, when I look at the device in my bluetooth settings, the phone does not&amp;nbsp;recognize that it is connected to the board. In this context, I believe the Android OS is using the term &amp;quot;Connected Device&amp;quot; to refer to devices that is has bonded with.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot_5F00_20200211_2D00_113002.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;After a few seconds go by, my phone will send the message &amp;quot;Could not connect Nordic_NFC_PAIR_REF&amp;quot; and when I relook at my Connected devices list, I no longer see the board as a bonded device.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot_5F00_20200211_2D00_131223.png" alt=" " /&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot_5F00_20200211_2D00_131303.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I found a similar issue where something like this was documented on his thread&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/56739/ble-nfc-pairing-issue"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/56739/ble-nfc-pairing-issue&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The thread seems to suggest that my phone is disconnecting from the board because it does not&amp;nbsp;recognize the service. Is there a work around for this that would allow a phone to recognize the service and stay connected? Specifically a work around for compatibility&amp;nbsp;with the&amp;nbsp;default Android Bluetooth.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also when you run the project and connect to it with your phone, does the connection last or does it disconnect after a little while like it is on my phone?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android NFC Pairing Issue</title><link>https://devzone.nordicsemi.com/thread/232973?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 09:02:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f105919a-7fa7-44d2-bedd-05bd02fe528e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Thank you for confirming this wasn&amp;#39;t a phone specific issue. I just tried this example on my Nokia 8.1 and was able to connect with a DK running the&amp;nbsp;&lt;span&gt;ble_nfc_pairing_reference example. I see the same message as you from the board&amp;#39;s log, and my phone is able to connect to it. The screenshot below shows that it is connected via Bluetooth in the default Bluetooth menu (sorry about the Norwegian language, but it says &amp;quot;connected devices&amp;quot;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-263122325ae44528be618e84eec10eb2/Screenshot_5F00_20200206_2D00_095201.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What error/message do you see on your phone exactly? I had to disable Bluetooth on my phone in order to discover the NFC device at all, but I think this might be a phone-specific bug.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android NFC Pairing Issue</title><link>https://devzone.nordicsemi.com/thread/232891?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2020 15:43:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2004dcca-5947-404c-b83c-6c160bf581ce</guid><dc:creator>sarem-shal</dc:creator><description>&lt;p&gt;Hi, so I tried connecting to the board with a Samsung Galaxy 7 and I saw the same behavior where the built-in NFC was able to bond but could not connect. But, it was able to connect fine through the NRF app. Could this just be a limitation of the application or board where it can not do a BLE connection without an app (such as the NRF connect app)? Or could it be that the phone itself does not recognize the service without the app?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android NFC Pairing Issue</title><link>https://devzone.nordicsemi.com/thread/232832?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2020 12:44:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52ed729c-5837-4bcf-92b6-da1833e115fe</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Have you tried your application with any other phones than the Google Pixel 3? We had an issue some time ago which turned out to be specific to the Google Pixel 3 and 3XL, and apparently there are some issues with the NFC support on that particular phone, as the NFC application that time was able to connect with any other phones supporting NFC but the Google Pixel 3 and 3XL. Even Google Pixel 1 and 2 were able to, so there are some issues with the NFC on that particular phone I&amp;#39;m afraid. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49172/google-pixel-3-does-not-read-nfc-type-4-tag-as-in-the-nfc-writable-example"&gt;Here&amp;#39;s that case for reference.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I suggest you test with another phone before looking at your application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>