Related Articles
| How to broadcast NMEA via UDP? |
|
Starting from v.4.0.5 GPS Generator PRO has an option to send simulated NMEA protocol via UDP. This article describes how to configure GPS Simulator to send UDP datagrams to specific host or broadcast (multicast) NMEA UDP within network. GPS Generator can send generated NMEA data via UDP. It can send UDP packets to specific host, broadcasting data within network or multicasting to a set of host. To configure the software prease select 'Data Transmission / Communication Port Settings' menu item.
Then Switch to 'UDP' page, please. On this page user can specify address (or name) to send UDP packets to and UDP port. Address can be specific host address (like '192.169.213.1' or 'myhost'), local host address ('127.0.0.1' or 'localhost'), broadcast address ('255.255.255.255') or multicast address (like '239.254.48.102'). Port can be any not used port (like 8899, 1234 etc). After that press 'OK' to close the dialog. When you start GPS simulation, the software will start to send NMEA packed to UDP to specified address and port. You can use the following program to test that everything is ok and data can be received: Microsoft .Net framework is required to run this tool. Unpack the downloaded archive and go to 'UDPListener/bin/Release/' folder. Start 'UDPListener.exe' file. After that if everything is ok it will start to receive and display received data. By default this listener is configured to listen on local host address '127.0.0.1' with port #8899. These are default settings for GPS Generator. Source code (C#.Net) for UDP listener is included, so you can change it (address, port etc) as you wish. See also: |



