This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can I make only paring and connection with NFC?

Hello! I am testing project "ble_nfc_pairing_reference". When my NFC device touch the NFC antenna on the device screen is written: pairing; connecting; could not connect. Can I make ONLY paring and connection with NFC? How I can do it? I use nRF52832, s132. image description image description image description image description

Parents
  • Hi,

    Note that NFC OOB pairing was first added in Android 7(Nougat). See this blog post about that. Overall the touch-to-pair and connect feature have poor support in smartphones and tablets before Android 7.

    Older phones and tablets that was originally shipped with Android 6 and lower, have several limitations and bugs when it comes to automatic connection after it have been paired over NFC. Some Android devices will automatically disconnect immediately when it does not recognize the service provided by the BLE device, and requires that the BLE device uses a natively supported BLE service (such as a HID service) for it to connected automatically. Some phones also have an issue that when it tries to connect after it have been paired over NFC, it uses the wrong address type in the CONNECT_REQ packets (using Public BLE address instead of random static address).

    Users that create their own app, often solves this issue by triggering the connection request(after the devices are paired over NFC), in their own custom Android apps. I.e. the connection is not handled natively by Android OS, but in custom apps.

Reply Children
No Data
Related