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

nrf52832 DK PCA10040 ble cannot connect with linux (hcitool neither gatttool)

Hi,

I'm using Uart exemple to post data over BLE. Everything works fine as long as I'm connecting with my phone with BLE apps.

I would like to connect using a linux system to log data and execute scripts. But here i my problem: I'm able to scan the device (using sudo hcitool lescan), but impossible to connect to (neither cmd line using hcitool, gatttool or even BLE GUI on my Rpi).

The error I'm getting when trying to connect over Rpi BLE Gui is : "Pairing failed - GDBus.Error.org.bluez.Error.AuthenticationRejected: Authentication Rejected"

I tried softdevices 5.0.0, 3.1.0 and 2.0.1 using corresponding SDK exemples

I already used Rpi ble with another IOT object I did using a Cypress module, and everything worked fine (I retried it to be sure).

Any idea about what's going wrong ?

Thanks for your help, and have a good day !

Related