S2253p_vidioc_s_gps_enable, S2253p_vidioc_g_gps_enable, S2253p_vidioc_s_version_read – Sensoray 2253 Linux User Manual
Page 29: S2253p_vidioc_g_version_read

S2253P_VIDIOC_S_GPS_ENABLE
int ioctl(int fd, int request, struct s2253p_gps *data);
struct s2253p_gps {
union {
__u8 status;
__u8 enable; // 0=disabled, 1=enabled
__u8 satellites;
__u8 lock;
};
};
Enable or disable the receipt of GPS messages.
Requires S2253P system.
S2253P_VIDIOC_G_GPS_ENABLE
int ioctl(int fd, int request, struct s2253p_gps *data);
struct s2253p_gps {
union {
__u8 status;
__u8 enable; // filled by driver, 0=disabled, 1=enabled
__u8 satellites;
__u8 lock;
};
};
Read the current state of the GPS enable flag.
Requires S2253P system.
S2253P_VIDIOC_S_VERSION_READ
int ioctl(int fd, int request, void *data);
Send the command to load the version to be read by
S2253P_VIDIOC_G_VERSION_READ.
Requires S2253P system.
S2253P_VIDIOC_G_VERSION_READ
int ioctl(int fd, int request, struct s2253p_version *data);
struct s2253p_version {
__u32 version; // filled by driver
};
29