KonradIT / goprowifihack

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

Bluetooth pairing with RPi4 and GoPro 8 #199

Open rmoriz opened 4 years ago

rmoriz commented 4 years ago

regarding https://github.com/KonradIT/goprowifihack/blob/master/Bluetooth/Platforms/RaspberryPi.md

I had to manually enable advertising prior to trust/pair using

advertise on

I'm using Ubuntu 20.04 LTS arm64.

RikJm commented 3 years ago

After following the steps here https://github.com/KonradIT/goprowifihack/blob/master/Bluetooth/Platforms/ArchLinux.md

Trusting and Connecting seems to work, but trying to pair using >pair [address] - In Ubuntu 20.04.2 LTS gives me an error > Failed to pair: org.bluez.Error.AuthenticationCanceled

I am setting the GoPro8 to pair using the app option in settings but I am not sure if that's helping.

I tried advertise on but didn't work either

Once in gatttool, I can't do char-desc it says Disconnected, and also I can't connect either, it gives me a Connect error: Connection refused (111)

Does anyone know if I am missing something?

Edit : I was not using a RPI but a MSI-Laptop to try this out, just tried with the ZeroW and it worked fine, I will investigate if the bluetooth version I have on the laptop needs tweaking, cheers 👍

Cheers, Rik