Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while connecting to BLE device using Gatttool

I am using gatttool on Raspberry PI to connect to a BLE peripheral. The connection fails with the error message "connect error: Too many levels of symbolic links (40)"

The following is the command & response log obtained with gatttool.

pi@raspberrypi:~ $ sudo gatttool -b 20:70:6a:10:01:81 -I [20:70:6a:10:01:81][LE]> connect Attempting to connect to 20:70:6a:10:01:81 Error: connect error: Too many levels of symbolic links (40)

What is the issue here? Thanks

like image 356
svv Avatar asked Jun 28 '16 21:06

svv


2 Answers

I had the same issue, and bringing the hci0 interface down and up helped me.

sudo hciconfig hci0 down/up

like image 51
user3493478 Avatar answered Sep 24 '22 12:09

user3493478


sudo hciconfig hci0 down
sudo hciconfig hci0 up 

solved the issue for me, as described by user3493478, thanks!

like image 31
contractorwolf Avatar answered Sep 24 '22 12:09

contractorwolf