Documentation ¶
Index ¶
- Constants
- type GoPro
- func (g *GoPro) Analytics() error
- func (g *GoPro) ApControl(on bool) error
- func (g *GoPro) Close() error
- func (g *GoPro) Connect() error
- func (g *GoPro) GetHardwareInfo() (*HardwareInfo, error)
- func (g *GoPro) GetTime() (time.Time, error)
- func (g *GoPro) GetVersion() (string, error)
- func (g *GoPro) KeepAlive() error
- func (g *GoPro) MediaHiLightMoment() error
- func (g *GoPro) PresetLoad(id uint32) error
- func (g *GoPro) PresetLoadGroup(p Preset) error
- func (g *GoPro) SetLivestreamMode(mode *open_gopro.RequestSetLiveStreamMode) error
- func (g *GoPro) SetShutter(on bool) error
- func (g *GoPro) SetTime(t time.Time) error
- func (g *GoPro) Sleep() error
- func (g *GoPro) String() string
- type HardwareInfo
- type Preset
Constants ¶
View Source
const ( WifiAccessPointSSID uuid = "GP-0002" WifiAccessPointPassword uuid = "GP-0003" WifiAccessPointPower uuid = "GP-0004" WifiAccessPointState uuid = "GP-0005" NetworkManagementCommand uuid = "GP-0091" NetworkManagementResponse uuid = "GP-0092" Command uuid = "GP-0072" CommandResponse uuid = "GP-0073" Setting uuid = "GP-0074" SettingResponse uuid = "GP-0075" Query uuid = "GP-0076" QueryResponse uuid = "GP-0077" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoPro ¶
type GoPro struct {
// contains filtered or unexported fields
}
func (*GoPro) GetHardwareInfo ¶
func (g *GoPro) GetHardwareInfo() (*HardwareInfo, error)
GetHardwareInfo gets the hardware info of the camera.
func (*GoPro) GetVersion ¶
GetVersion returns the version of the camera. in form of major.minor
func (*GoPro) KeepAlive ¶
KeepAlive sends a keep alive message to the GoPro. The best practice to prevent the GoPro from sleeping is to send a keep alive message every 3 seconds.
func (*GoPro) MediaHiLightMoment ¶
MediaHiLightMoment highlights moment during encoding
func (*GoPro) PresetLoad ¶
PresetLoad loads a preset with ID.
func (*GoPro) PresetLoadGroup ¶
PresetLoadGroup loads a preset group.
func (*GoPro) SetLivestreamMode ¶
func (g *GoPro) SetLivestreamMode(mode *open_gopro.RequestSetLiveStreamMode) error
SetLivestreamMode sets the live stream mode.
func (*GoPro) SetShutter ¶
SetShutter sets the shutter on or off.
type HardwareInfo ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.