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

Querying status JSON via BLE #5

Open
NicBuh opened this issue Dec 14, 2020 · 3 comments
Open

Querying status JSON via BLE #5

NicBuh opened this issue Dec 14, 2020 · 3 comments

Comments

@NicBuh
Copy link

NicBuh commented Dec 14, 2020

Hi,
I was wondering if there is a way to query for the camera status JSON via BLE. I know it is possible via wifi as has been documented here (https://github.com/KonradIT/goprowifihack/blob/master/HERO5/HERO5-Commands.md), but couldn't find a way to achieve it, even though the bluetooth documentation here (https://gethypoxic.com/blogs/technical/gopro-hero5-interfaces) suggests there is a characteristic for this purpose.

Thanks,
Nicolas

@KonradIT
Copy link
Owner

KonradIT commented Mar 7, 2021

Check the documentation on goprowifihack/Bluetooth.

@rhoenschrat
Copy link

Maybe not JSON, but you can query the complete status via BLE.
I investigated quite a lot for my iPhone App. You can see a demo in my latest video: https://youtu.be/VUbDPDxKDdU?t=1204
(I already skipped to the point where I show the app in action).
I shared my findings in KonradITs repository: https://github.com/KonradIT/goprowifihack/blob/master/Bluetooth/bluetooth-api.md

@NicBuh
Copy link
Author

NicBuh commented Apr 30, 2021

Thanks, both. This is excellent work. Perhaps I should clarify that the status I am interested in querying is the current settings for e.g. shutter speed, ISO, WB, etc.

Via WIFI it should work like this (https://github.com/KonradIT/goprowifihack/blob/master/HERO5/HERO5-Commands.md)

{"status":{
"1":1,"2":3,"3":0,"4":0,"6":0,"8":0,"9":0,"10":0,"11":0,"13":0,"14":0,"15":0,"16":0,"17":1,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"26":0,"27":0,"28":86,"29":"","30":"GP24784461","31":0,"32":0,"33":0,"34":4155,"35":6542,"36":3,"37":4,"38":3,"39":4,"40":"%11%02%12%12%38%3A","41":0,"42":0,"43":0,"44":0,"45":0,"46":1,"47":1,"48":1,"49":0,"54":27655117,"55":1,"56":4,"57":146925,"58":0,"59":0,"60":500,"61":2,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":1,"70":84,"71":12,"72":16,"73":13},
"settings":{"1":0,"2":9,"3":8,"4":4,"5":0,"6":1,"7":1,"8":1,"9":0,"10":0,"11":0,"12":0,"13":1,"14":0,"15":4,"16":0,"17":10,"18":4,"19":0,"20":0,"21":1,"22":0,"23":0,"24":4,"25":0,"26":4,"27":0,"28":10,"29":5,"30":0,"31":0,"32":3601,"33":0,"34":0,"35":0,"36":0,"37":4,"38":0,"39":4,"50":0,"51":1,"52":0,"54":1,"57":0,"58":1,"59":6,"60":8,"61":1,"62":2500000,"63":7,"64":4,"68":0,"69":1,"70":0,"72":1,"73":0,"74":0,"75":3,"76":3,"77":0,"78":0,"79":0,"80":2,"81":3,"82":0,"83":1,"84":0,"85":0,"86":1,"87":40,"88":100,"89":12,"91":2}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants