JcGpsSimulator is a software that allows you to simulate a gps receiver by sending some strings standard NMEA-0183 on the serial line. This software is created to simulate the change to coordinate at your desk! You can read the coordinates from a text file specially formatted or doing a query on a dbase MySql or SqlServer. This software, due to the driver to handle the serial line, it may only work on Windows operating systems and Linux. Since version 1.1.0 was also introduced the ability to export data in KML format that lets you view the locations on maps Google Earth.
Since version 1.2.1 of the JcGpsSimulator has been made a special installation program valid for both Windows and Linux. Just extract from the zip and run it. For installation need to be "Administrator" of the system because drivers for serial lines are installed in Java folder that generally can be found in sections accessible only to (root) Administrator.
After starting the program must load the coordinates. To do this there are two possibilities:
Once loaded coordinates, to send it select a row of the table with the desired data.
Other options are:
The strings sent by the simulator are as follows (each field is separated by a comma):
Following a detailed three strings transmitted (the fields marked with an asterisk vary according to date and time, coordinates selected, check box "status" and check box "speed"; all other fields have fixed values):
$GPGGA,124449,4541.1290,N,009044.2310,E,1,04,02.00,000123.0,M,0036.0,M,13,0001
*4b[0D][0A]
That now analyze field by field:
- $ = Identification beginning frame;
- GPGGA = Command;
* 124449 = UTC -> 12h 44' 49";
* 4541.1290 = latitude -> 45 ° 41' e 1290' (fractional part);
- N = Nord;
* 009044.2310 = longitude -> 009 ° 44' e 2310' (fractional part);
- E = EST;
* 1 = GPS signal quality, 1 = valid data, 0 = data not available or incorrect;
- 04 = Number of satellites used;
- 02.00 = Not significant;
- 000123.0 = Altitude;
- M = Units of measure for altitude;
- 0036.0 = Geoide altitude;
- M = units o measure geoide altitude;
- 13 = DGPS Timestamp;
- 0001 = DGPS id Station;
* *4b = checksum;
- [0D][0A] = Representation of characters CR LF;
$GPZDA,124451,28,09,2007,+00,00*62[0D][0A]
That now analyze field by field:
- $ = Identification beginning frame;
- GPZDA = Command;
* 124451 = UTC -> 12h 44' 51";
* 28 = UTC Day of the month;
* 09 = UTC Months;
* 2007 = UTC Years;
- +00 = ora fuso orario locale;
- 00 = Minute local time zone;
* *62 = checksum
- [0D][0A] = Representation of characters CR LF;
$GPVTG,078.0,T,078.0,M,005.0,N,0005.0,K,A*13[0D][0A]
That now analyze field by field:
- $ = Identification beginning frame;
- GPVTG = Command;
* 078.0 = True angle in degrees;
- T = Means TRUE;
* 078.0 = Magnetic angle in degrees;
- M = Means MAGNETIC;
* 005.0 = speed in kts;
- N = Means kNot;
* 005.0 = speed in km/h;
- K = Means km/h;
- A = Indicator of how the system position, A:independently;
* *13 = checksum
- [0D][0A] = Representation of characters CR LF;
The parameters of the serial connection can not be modified and are as follows:
The format of the text file containing the coordinates is as follows:
[POSITIONS]
Number=10
Pos00000=FEB000,2740035,584761,74
Pos00001=FEA001,2740071,584697,248
Pos00002=FEC003,2740429,584001,330
Pos00003=FEC004,2740753,584017,80
Pos00004=FEC005,2740824,584183,318
Pos00005=FEC006,2741129,584231,78
Pos00006=FEC007,2741152,584540,82
Pos00007=FEC008,2740601,584915,106
Pos00008=FEA006,2740468,585271,120
Pos00009=FEB002,2740021,584817,250
Pos00009=FXXXXX,4444444,999999,0
Following a short description of the format:
Configuration hours passed from behind the gps system.
Configuration connection and queries dbase MySql or MsSqlServer to extract data coordinates.
A sample query can be as follows:
SELECT code, LatMill, LongMill, Direction FROM tabPos
It must be evident that the four fields in the query are required course may have a different name, but must always be present in the query sequence sample.
For this program is not currently a manual.
Requires J2SE 5.0 (version 1.5) or higher, are not supported versions below.
Download the JcGpsSimulator 1.5.0 installer.