7

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

asked Jun 28, 2016 at 21:40
1
  • 1
    same for me. It was running fine yesterday, did a system update (raspian), a firmware update (raspi-update) and boom Commented Jan 18, 2017 at 7:40

3 Answers 3

12

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

sudo hciconfig hci0 down/up

answered Mar 10, 2017 at 7:26
Sign up to request clarification or add additional context in comments.

Comments

4
sudo hciconfig hci0 down
sudo hciconfig hci0 up 

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

answered Apr 17, 2017 at 3:45

Comments

0

Thanks to @user3493478, @contractorwolf, It solved my problem to connect MiFlora to P4 (Raspbian)

root@raspberrypi:/home/pi# gatttool -I -b C4:7C:8D:6C:9A:5A
[C4:7C:8D:6C:9A:5A][LE] connect
Attempting to connect to C4:7C:8D:6C:9A:5A
Error: connect error: Too many levels of symbolic links (40)
root@raspberrypi:/home/pi# hciconfig hci0 up
root@raspberrypi:/home/pi# hciconfig hci0 down
[C4:7C:8D:6C:9A:5A][LE] connect
Attempting to connect to C4:7C:8D:6C:9A:5A
Connection successful
answered Apr 6, 2021 at 2:14

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.