SightLine Applications Command, Control, and Script API  v3.5
List of all members
SLACurrentSnapShot_t Struct Reference

Description

Current snapshot state.

typedef struct {
u8 mode;
u8 format;
u8 source;
u8 quality;
u8 downsample;
u32be ipAddr;
u16be port;
SVPLenString_t userName;
SVPLenString_t password;
u8 frameStep;
u8 numFrames;
SVPLenString_t fileName;

Sent in response to SLAGetParameters_t().
See SLASetSnapShot_t

Message ID 0x5D

Byte Offset Name Description
4modeSnapshot destination – 0 = FTP server, 1 = Micro SD
5formatFile format – 0 = JPEG, 1 = PNG, 2 = JPEG Big, 3 = SLRaw (16-bit grey, 10 bit bayer only), 4 = TIFF (16-bit grey or 8-bit grey)
6sourcesnapshot source: 1 = captured image, 2 = displayed image
7qualityJPEG compression quality level 0 to 100
8downsampleDown Sample – 1: none, 2: 2x2 downsample, 4: 4x4 downsample
9-12ipAddrIP network address of FTP server
13-14portFTP server command port (default 21)
15 userName.len string length
16-...userName.str FTP server user name
varies password.len string length
variespassword.str FTP server password
variesframeStepFrame step at which to take snapshots
variesnumFramesNumber of snapshots to take
varies fileName.len string length
variesfileName.str Base file name for snapshots – names will save to <fileName>_N where N is an incrementing count, starting at 0