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

Update for GoPro HERO 2018 model #34

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

amateusz
Copy link

@amateusz amateusz commented Nov 28, 2018

GoPro HERO 2018 (entry-level model) has a firmware_version string H18.01.01.00.00. As it is a single H letter, we cannot use "Hxx" in response method anymore as it would be too inclusive. Therefore I've changed it to regexp and exact comparisons.

GoPro HERO 2018 (entry-level model) has a `firmware_version` str as `H18.01.01.00.00`. As it is a single `H` letter, we cannot use `"Hxx" in response` method anymore. Therefore I've changed it to regexp and exact comparisons.
@KonradIT
Copy link
Owner

Code is not working as intented.

response = "HD5.03.02.51.00"

model = HD not HD5.

@amateusz
Copy link
Author

Do you think then that model/identifier for HERO 2018 is simply a part preceding the dot i.e. H18…?
EDIT: LOL, so obvious 🤦 ; I'll just split it by the . delimeter.

model designator for HERO 2018 is H18.
reduced detecting `HD3.2` to `HD3`
added HERO 2018 to 'supported cameras'
@KonradIT
Copy link
Owner

Well, the problem is HD3 is also HERO3 which is not compatible, so the regex needs to include model == HD3.22

@amateusz
Copy link
Author

amateusz commented Nov 29, 2018

Well, the problem is HD3 is also HERO3 which is not compatible, so the regex needs to include model == HD3.22

And exclude HD3 ? Do you allow for such a bodge ? To include HD3.22 but not HD3 ?
And include all other Hxx delimited by the . as well ?
I'm kind of leaning towards this comparisons as the way to go…

@KonradIT
Copy link
Owner

Yeah, HD3.22 are the HERO+ line that use udp.

@amateusz
Copy link
Author

amateusz commented Nov 29, 2018

Do you have an example of HD3.22's firmware_version string ? (what I mean is.. is '22' a part of the model part or actual FW version)

@KonradIT
Copy link
Owner

Yup should be. Check goprowifihack for examples. Should be in the HERO folder.

@amateusz
Copy link
Author

amateusz commented Nov 29, 2018

Just for the record it is HD3.22.01.50. I cannot make sense of those firmware strings to be spliced reliably. Could we transition to model numbers directly..? It seems to be omnipresent across all the models..

By the way is HERO+ LCD supported ? firmware_version = HD3.21… model 15

EDIT: I can actually make sense, but it starts to be bodgy. If there are 3 groups of numbers, then first group is important. If there are 4, then they are not important.. For now, for those HD3 / HD3.22, HDx.
Above there are three (HD3.22.01.50), so 22 is important… :puke:

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

Successfully merging this pull request may close these issues.

2 participants