Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python SDK: Provide ability to maintain / resume BLE connections between GoPro() instantiations #583

Open
TarushShankar opened this issue Aug 13, 2024 · 2 comments
Labels
demos Relating to demos enhancement New feature or request

Comments

@TarushShankar
Copy link

I am using GoPro HERO 10 Black with wireless (Bluetooth + Wifi connection) and the appropriate modified demo python scripts for my professional objectives.

Problem Statement:
I am utilising a modified demo video.py file for my objectives. Everytime I run the script, I am realising that my system has to connect with the GoPro on executing a script and it automatically disconnects after running the script. This latency can be problematic since I will have to execute the script consecutively for short video recordings for specific purposes.

Probable Solution to request:
I would want my Wireless GoPro interface to only disconnect from the camera, based on a user entered choice of whether to disconnect or not each time after the script is run. Also, most of the demo python scripts are encoded with the assumption that the script would automatically disconnect the camera after running and has to connect with camera, each time we invoke the python script to run. If we could check for a connection with an interface before automatically connecting the GoPro camera upon invoking the script, that would be helpful too.

Potential Alternatives:
For my professional objectives and repository, I tried to incorporate my specific feature in the WirelessGoPro.py script for the SDK in my local development environment. However, this would be a very individualised modification and it can become redundant upon updating the SDK version for my developing environment.

@TarushShankar TarushShankar added the enhancement New feature or request label Aug 13, 2024
@github-actions github-actions bot added the triage Needs to be reviewed and assigned label Aug 13, 2024
@tcamise-gpsw
Copy link
Collaborator

Hello. I consider this to fall under the pinned ticket about connection robustness. Ultimately I'm just not sure that bleak provides the required functionality for this. There is some promising comments in the bleak ticket I linked on that pinned ticket. But really this needs a major investigation.

@tcamise-gpsw
Copy link
Collaborator

I'll leave this ticket open for now but will probably merge it with #487 once (if) this investigation starts.

@tcamise-gpsw tcamise-gpsw removed the triage Needs to be reviewed and assigned label Aug 30, 2024
@tcamise-gpsw tcamise-gpsw changed the title Enabling Python GoPro SDK to gracefully handle connection and disconnection based on user's choice after running a script Python SDK: Provide ability to maintain / resume BLE connections between GoPro() instantiations Aug 30, 2024
@tcamise-gpsw tcamise-gpsw added the demos Relating to demos label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
demos Relating to demos enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

2 participants