Skip to content

fuskovic/go-pro-ble

Repository files navigation

Go-Pro-BLE

What is this?

This is a Go implementation of the following OpenGoPro Python logic:

The Python implementation uses Bleak.

This implementation uses TinyGo.

tg

What does it do?

  1. Connects to your GoPro via BLE.
  2. Using BLE, enables the WIFI AP on your GoPro (can only be done programmatically)
  3. Retrieves the credentials for the AP.
  4. Uses those credentials to authenticate and establish a connection to the AP

Why?

Once connected, you'll be able to access your GoPro's HTTP API.

How?

If you have an older GoPro ( <= HERO5 ), you can try https://github.com/chrisjoyce911/goprowifi.

For new GoPro's like the one I have ( >= HERO12 ), I plan on writing a higher level client/sdk using this pkg as it's base to solve for wireless connectivity.

Writing your own client/sdk?

See the connect example

Considerations

This was manually tested on OSX using a GoPro HERO12 Black.

Instructions

  1. On your computer, make sure Bluetooth is enabled.

  2. On your GoPro, navigate to your settings and click "Pair Device"

settings searching

  1. On your computer, run the script

     go run examples/connect/main.go
    
  2. Verify connectivity

connected

How it works

init

About

📷 Connect to your GoPro using TinyGo

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages