-->
Page 1 of 1

Sming sending commands to GoPro

PostPosted: Fri Mar 11, 2016 6:32 am
by silvergaucho
Dear all,

I post here the same post on the Sming GitHub repo.

"i'm just playing with Sming and wanted to control my GoPro Hero 3. I can connect to it
but I cannot forward messages.

I've founded the gopro commands and I'm implementing this:

HttpClient goPro as main object

than after connectionOK

goPro.downloadString("http://10.5.5.9/bacpac/SH?t=MYPASSWORD&p=%01",onDataSent);

but nothing happens. The string is correct and if I paste it on Chrome I can take a shot.
What I'm doing wrong?

Sorry if it sounds stupid, maybe I need to get more into Sming."



In addition I need to implement a mechanism where the ESP remains sleeping, it wake up, send the message and come back to sleep.

Any suggestions will be much appreciated.

Thanks

Re: Sming sending commands to GoPro

PostPosted: Sat Mar 12, 2016 11:12 am
by silvergaucho
anybody can help me? I'm becoming mad :evil:

Re: Sming sending commands to GoPro

PostPosted: Thu Mar 31, 2016 1:59 pm
by Fangorn-SPB
My opinion - you need do POST request to your GoPro.

Re: Sming sending commands to GoPro

PostPosted: Sun May 08, 2016 1:26 am
by smh
I haven't used the Sming framework but I'm successfully controlling my gopro using GET commands and this httpclient library.

https://github.com/Caerbannog/esphttpclient

Hope that helps!