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

BLE connection with SONY Xperia

Goodmorning,

I developing an application on nrf52840 board with SDK15.2.0 that communicates via BLE with from the APP nordic. I am started from the example project ble_app_cscs. The my application don't connects via BLE with the smartphone Xperia XZ2 compact, but with others smartphone the application connects correctly. However for the my project is very important that the applications connect with all type smartphone. I haven't modify the original libraries provided by Nordic. Why the my application don't connects with the smartphone Xperia ?

The smartphone 'Xperia XZ2 compact' features:

Model:H8314

Android version:9

Bluetooth address:38:78:62:a3:6e:2a

Build number:52.0.A.11.32

I tested the application with a sumsung smartphone with the android version 9 (itself version installed on the smartphone Xperia) and the application connect correctly.

This problems blocking the development from the my application, it's urgent !

Thanks you

Parents
  • Are you sure that this is not related to bonding being stored on one device but not the other?

    Try to erase the bonding information on both devices, and see if that helps. Let me know if you are not sure how to do this. 

    If that doesn't help. What happens when you try to connect with the Xperia? What does the nRF Log say? And what does the Xperia say? Are you able to see the advertisements?

    Best regards,

    Edvin

  • "Are you sure that this is not related to bonding being stored on one device but not the other?" Yes, i'm sure because there wasn't others smartphone power on. I have tried to power off and power on the smartphone Xperia, but it didn't connects.

    In the nrf52840 board aren't error, why the led 1 on the board pass from advertising (led blink each 500ms about) to connect state ( led1 on steady ). Unfortunately i don't know check what say the log nrf.

    While i have try to connect the application with the APP nrfConnect installed in the xperia smartphone and returns this error: Error 34 (0x22): GATT CONN LMP TIMEOUT. From the smartphone xsperia i don't connection not even using the funcionality bluetooh in the 'settings' section.

    When i try to connect on the APP nordic remains on the state 'CONNECTING...' and as i have already say in the nordic board the led1 becames on steady. Can you help me ?

    Thanks you

  • Gianmarco Scarpelli said:
    I have tried to power off and power on the smartphone Xperia, but it didn't connects.

     that is not how you delete the bonding information. Has the Xperia been connected to that specific nRF earlier when the nRF was running another application that used bonding or pairing? Can you please google how to delete Bluetooth bonding information on the Xperia, and see if there is any bonding information stored? Bonding information is stored in Flash, so turning off the power doesn't erase flash. Just like your pictures are saved between the power cycles on the phone.

    Have you done any changes to the cscs example? Can you try another example? E.g. the ble_app_uart example? Just to check if you are able to connect to it with the same phone or not.

    Best regards,

    Edvin

Reply
  • Gianmarco Scarpelli said:
    I have tried to power off and power on the smartphone Xperia, but it didn't connects.

     that is not how you delete the bonding information. Has the Xperia been connected to that specific nRF earlier when the nRF was running another application that used bonding or pairing? Can you please google how to delete Bluetooth bonding information on the Xperia, and see if there is any bonding information stored? Bonding information is stored in Flash, so turning off the power doesn't erase flash. Just like your pictures are saved between the power cycles on the phone.

    Have you done any changes to the cscs example? Can you try another example? E.g. the ble_app_uart example? Just to check if you are able to connect to it with the same phone or not.

    Best regards,

    Edvin

Children
Related