KonradIT / goprowifihack

Unofficial GoPro WiFi API Documentation - HTTP GET requests for commands, status, livestreaming and media query.
Apache License 2.0
2.12k stars 334 forks source link

Bluetooth pairing Hero7 on Raspberry Pi fails #131

Open kmpm opened 5 years ago

kmpm commented 5 years ago

Problem: I am trying to pair a Hero 7 black with my raspberry pi following the guide here and it fails with mostly Failed to pair: org.bluez.Error.AuthenticationCanceled but I have seen Failed to pair: org.bluez.Error.Failed.

Details:

steps to reproduce

Camera

Raspberry PI

sudo bluetoothctl
[NEW] Controller B8:27:EB:73:XX:XX raspberry [default]
[NEW] Device F9:30:42:7F:XX:XX GoPro 0022
[bluetooth]# trust F9:30:42:7F:XX:XX
Changing F9:30:42:7F:XX:XX trust succeeded
[bluetooth]# pair F9:30:42:7F:XX:XX
Attempting to pair with F9:30:42:7F:XX:XX
[bluetooth]#

Here it takes some time, like a minute, without any feedback at all. Then I get...

Failed to pair: org.bluez.Error.AuthenticationCanceled
[bluetooth]#
r2cool commented 5 years ago

You need to enable the experimental flag for bluez to work correctly with the GoPro. See https://learn.adafruit.com/install-bluez-on-the-raspberry-pi/installation#enable-bluetooth-low-energy-features-2-38

jsmith79 commented 5 years ago

I too have been having issues with pairing my GoPro hero 7 and my rpi3 b+. I enabled the experimental flag as per the above link but I still time out and get the “Failed to pair: org.bluez.Error.AuthenticationCanceled” message. Any ideas would be appreciated.

Thanks.

omnibrain commented 5 years ago

Same problem with the HERO6

gafurmp commented 4 years ago

Same problem with my HERO7 Black. Any hints?

KonradIT commented 4 years ago

More documentation is coming as I test the BT connection flow on different FW versions and cameras.