S2253p_vidioc_s_gps_data, S2253p_vidioc_g_gps_data, S2253p_vidioc_s_gps_readstatus – Sensoray 2253 Linux User Manual
Page 26: S2253p_vidioc_g_gps_readstatus

at any time. If the count is 0xffffffff, the value is not ready yet and should be
retried shortly.
Requires S2253P system.
S2253P_VIDIOC_S_GPS_DATA
int ioctl(int fd, int request, struct s2253p_data *data);
struct s2253p_data {
__u8 size;
__u8 data[255];
};
Send a command to the GPS unit. Commands are not documented here.
Requires S2253P system.
S2253P_VIDIOC_G_GPS_DATA
int ioctl(int fd, int request, struct s2253p_data *data);
struct s2253p_data {
__u8 size;
__u8 data[255];
};
Receive a reply from the GPS unit. Replies are not documented here.
Requires S2253P system.
S2253P_VIDIOC_S_GPS_READSTATUS
int ioctl(int fd, int request, void *data);
Send a read status command to the GPS unit. The reply is read using
S2253P_VIDIOC_G_GPS_READSTATUS.
Requires S2253P system.
S2253P_VIDIOC_G_GPS_READSTATUS
int ioctl(int fd, int request, struct s2253p_gps *data);
struct s2253p_gps {
union {
__u8 status; // filled by the driver
__u8 enable;
__u8 satellites;
__u8 lock;
};
};
26