Comments (5)
OK,
For Status i find a way to read the bytes (without the library), i will try to make a working function for the library when I got time.
for now with the library, if I just print gp.getStatus(), I don't have the bytes of the status, I don't know why...
For MediaList, I still can't see the json, but I think it's because the rx buffer when the json is returned is not big enough due to limitiations with esp8266 memory. I have about 150 jpg and 150 mp4 wich give me a json of about 15000 characters (making tests make me do a lot of pictures and videos ! haha).
reading posts it looks like the buffer size is about 1500 MAX...
I will give it a try and see if my issue for medialist is solved. I will give the result here, maybe it could help somebody one day.
from goprocontrol.
okkkk I wasn't aware of this difference, you should change the example:
Here change this line and just print it and delete the json stuff
from goprocontrol.
Thinking about it today, maybe the buffer is not big enough...
for status, empty input is normal as the deserializeJson doesn't find any json object. Alsow, when i try to print to serial gp.getstatus(), it only return request reponse stuff but no bytes... for that I don't Know what to do
For Media list it should work, but it alsow return empty input... thats make me think that buffer is to small and it stop recording then entry when full, so deserializejson don't find the last part of the Json object. Alsow, when i just try to print in serial gp.getmedialist(), it only return request reponse stuff but no json object...
from goprocontrol.
Perfect, keep us updated
from goprocontrol.
Hi ,
I made a pull request for the medialist part, it's working on my hero3, if somebody can test it on others gopro, I only have a hero3 !
the problem was the port 80, it work on port 8080 for me.
next step with getstatus for hero3 :)
from goprocontrol.
Related Issues (20)
- GoPro8 connection failed HOT 1
- can't connect second times. HOT 1
- Suggestion that could solve some problems HOT 5
- Nothing is showing on serial monitor by using wemos d1mini HOT 2
- Connection failed: New GoPro Firmware ? HOT 1
- MultiCam issue with 2x GoPro HERO7 Black HOT 6
- stringSearch and stringCut HOT 2
- Having trouble with GoPro Hero7 and ESP8266 HOT 1
- HERO8 usage with ESP8266 HOT 1
- Unable to connect after reset ESP8266 HOT 1
- Issue with connecting/shooting photos after 1st time ESP8266 & Hero 7 HOT 5
- add command to download images HOT 2
- Adding GoPro zoom function HOT 1
- Getting "Connection lost" quite a lot HOT 5
- Issue compiling RTLapseCAM HOT 13
- Problems trying to connect to MAX... HOT 3
- Compilation error: 'HERO3' was not declared in this scope HOT 6
- Format needed for Secrets.h HOT 4
- Stuck on line 10 with a HERO8 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goprocontrol.