BLE connection from NFC on Android

I am trying to use NFC to connect two Android BLE devices. I have followed the latest specs released on the NFC Forum and BT SIG called Bluetooth Secure Simple Pairing using NFC and I am interested in static handoff. This means I have to write an NDEF message in an NFC tag (formatted according to the above specifications) with one device, then the other will read that tag and save the information to start BLE pairing. I am using Android 4.4.2. and this approach works great with bluetooth, without the need to have a specific handover management app, Android does the job!

But with BLE, this approach doesn't work. I think the problem is with the MIME type, which I would have to write in the NDEF post. For Bluetooth - application/vnd.bluetooth.ep.oob

and for BLE - application/vnd.bluetooth.le.oob

. When I click on a device / tag, Android detects that there is a new tag with a BLE MIME type, but does nothing, just shows me the New Tag Collected screen as if it were an unknown MIME type. I noticed that the NFC Forum specs were released on 2014-01-09 and there is no reference in the Android 4.4 compatibility document to BLE handoff, just Bluetooth.

Does anyone know if NFC BLE connection is supported and works on Android 4.4? And on Android 5?

+3


source to share


2 answers


I was able to test NFC / BLE transfer on a Nexus 6 running Android 5 and the MIME type was recognized application/vnd.bluetooth.le.oob

! So the limit is in the Android version ...



+2


source


If you want to read a characteristic, you need to use the read method of this property. The sample provided with SDK 4.3 works well. Also the connection problem exists in all other devices except Samsung.



0


source







All Articles