S2253p_vidioc_g_gps_utc_date, S2253p_vidioc_g_gps_satellites, S2253p_vidioc_g_gps_lock – Sensoray 2253 Linux User Manual
Page 33

Read the GPS time in UTC. GPS must be enabled.
Requires S2253P system.
S2253P_VIDIOC_G_GPS_UTC_DATE
int ioctl(int fd, int request, struct s2253p_gps_item *data);
struct s2253p_gps_item {
char str[16]; // filled by driver
};
Read the GPS date in UTC. GPS must be enabled.
Requires S2253P system.
S2253P_VIDIOC_G_GPS_SATELLITES
int ioctl(int fd, int request, struct s2253p_gps *data);
struct s2253p_gps {
union {
__u8 status;
__u8 enable;
__u8 satellites; // filled by the driver
__u8 lock;
};
};
Read the number of satellites in view by the GPS. GPS must be enabled.
Requires S2253P system.
S2253P_VIDIOC_G_GPS_LOCK
int ioctl(int fd, int request, struct s2253p_gps *data);
struct s2253p_gps {
union {
__u8 status;
__u8 enable;
__u8 satellites;
__u8 lock; // filled by the driver, 0=no lock, 1=locked
};
};
Read the satellite lock status of the GPS. GPS must be enabled.
Requires S2253P system.
33