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?
source to share