Binary File Format
The following are the PC save (serial) and PCMCIA structures for the FOX V1.3 firware. The only change from v1.2 is the for-
mat of the GPS data and the addition of GPS velocity. Lat and Lon values are now saved as milliarcseconds (32 bit word - 4
bytes).
SERIAL PORT DATA HEADER
typedef struct pcs_head
{
BYTE pcscod; /* measurement code */
WORD pcsfvn;
// Firmware Version #
char pcssn[6];
// Serial Number
BYTE pcsnavs; //* navigation status */
BYTE gpslat[4];
// Latitude (milliarcseconds)
BYTE gpslon[4];
// Longitude (milliarcseconds)
BYTE gpsalt[4];
// Altitude
BYTE gpsvel[4];
// Velocity (cm/s)
BYTE gpstim[3];
/* @ gps time */
BYTE pcsmxy; /* == 0 means user marker,odometer */
/* != 0 means x-y coordinates */
WORD pcsmm;
/* current mile marker or Y coordinate */
WORD pcsmrk;
/* current user marker # or X coordinate */
WORD pcsclo;
// rx info - chan lo
WORD pcschi;
// chan hi
WORD pcsfm;
// base freq MHz
WORD pcsfk;
// base freq KHz*10
WORD pcsfs;
// step in KHz*10
BYTE pcsrxt;
// receiver type code --- IGNORE
BYTE pcssec; /* real time */
BYTE pcsmin;
BYTE pcshr;
BYTE pcsday;
BYTE pcsmon;
BYTE pcsyr;
BYTE pcsndr;
}PCS_HEAD;
/* nav status flags */
#define GPSOK 0x80
#define GPSOFF
0x40
#define GPSINST
0x20
#define GPSTYPE
0x10
#define DIFLOCK
0x08
/* bits 0-3 == # satellites */
note: ignore gps type, gps installed, diflock (bits 3,4,5)
/* number of data records */
/* gps ok (locked) */
/* gps off */
/* gps installed */
/* set == MOTOROLA gps installed */
/* clr == TRIMBLE gps installed */
/* set == DIFFERENTIAL LOCK */
Page 32
Need help?
Do you have a question about the Fox and is the answer not in the manual?