<< Click to Display Table of Contents >> dpPower > Appendix > Configuration options > GPS |
dpSpatial can use GPS device to mark the user's position on the map. Using the GPS extension in the online client does not incur additional charges. However, it is not configured by default but can be installed. Contact Digpro for more information.
From the program's point of view, there are two different types of GPS devices:
•First, those connected via a serial port (COM port), which can be virtual such as USB or Bluetooth.
•Partly Windows Sensor Unit that was new to Windows 7 and gained some spread first with Windows 8 in some surfboards.
Using the serial port version, a stream text is read in the format of the NMEA 0183 protocol. Since dpSpatial does not know what is actually a GPS and what is a completely different serial port device, dpSpatial makes an interpretation to see if it is position data.
However, Windows sensor devices are fully aware of what type of serial port device is. Note that dpSpatial only works with real GPSs, not eg. triangulation from mobile networks.
The positioning works as a default to make an automatic choice of GPS device. When dpSpatial is started, all serial ports are searched and if they are not busy (only one program at a time can read a port), it tries to interpret the data stream and determine if it is a GPS. If successful, it is registered as a GPS device and gets the name COM # where # is the number of the port similar to how it appears in the device manager.
At the same time, if it is the correct version of Windows that supports the sensor platform, then the question is asked about Windows about which location sensor devices there are. These are named with a serial number and device name (usually as shown in device manager).
A tablet may have multiple GPSs. There are also some good GPSs with drivers acting as serial port and sensor unit, as well as some other built-in mobile broadband cards have a GPS (which is sometimes of the right low quality) and another good device. dpSpatial tries to get started as many as possible and the one who first gives a position is selected as the device this time dpSpatial is started.
Note, At present, COM ports do not work with 64-bit java. The options are 32-bit or have a GPS that works as sensor-gps. If you need 64-bit Java for serial port GPS, contact Digpro for more information.
However, Windows sensor devices can be used in both 32-bit or 64-bit Java version (JRE). Unfortunately, the serial port variant does not have a 64-bit JRE DLL file. Note that 32-bit JRE works on 64-bit operating systems and is often installed by default, so it can work with applets in 32-bit browsers.
To communicate with serial port devices or Windows sensor devices, dpSpatial needs to use dynamically linked libraries in the form of DLL files. These are downloaded to the client (if they are not already) as soon as a user logs in to an application that has GPS enabled.
Unless any security program would respond to this, it's good to know that it's normal. The files are called rxtxSerial.dll, GNSSsensor_x64.dll, GNSSsensor_x86.dll, msvcp110.dll (2pcs in different folders) and msvcr110.dll (also 2pcs)