citolen / goproh4

Node.js module to control a GoPro Hero 4
MIT License
103 stars 24 forks source link

fix to powerOn function; send UDP to GoPro rather than broadcast #14

Closed brownell closed 8 years ago

brownell commented 8 years ago

Also fixed getMedia to fail if the media is not found on the GoPro

citolen commented 8 years ago

Hey Brownell,

Apologies for the delay, I've been super busy. I merged part of the pull request as I want to test more the power on function. Looking at the WOL specs, it specifies a broadcast and not a packet to a specific IP. My guess is that the device ip could change during its time off. It might have been failing for you because the mac address hadn't been retrieve before you turned it off. I will try to improve it.

Thank you for your work!