2016-09-07, 06:33 PM
There are two possibilities
1. GPS and AIS receiver are connected to the physical ports of the PC which runs Oziexplorer GPS and AIS, NMEA data is used by Oziexplorer and broadcast in WiFi at RPI OpenPlotter OpenCPN
2. GPS and AIS receiver are connected to the RPI physical ports: NEMEA data are used by OpenPlotter and Opencpn and transmitter in WiFi to your PC with oziexplorer
--------
1. GPS and AIS connected to the PC
PC sets:
For example GPS on physical port COM3, AIS on physical port COM5
Create in VSPE a "splitter device" COM5 => com6 (set COM5 data source, COM6 virtual serial port, speed 38400)
Create in VSPE a "TCPServer" TCP COM6 device: 4998 (this is a no used local TCP port on my PC)
Create VSPE a "splitter device" com3 => com2 (set com3 data source, com2 virtual serial port, read-only, speed 4800)
Create VSPE a "TCPServer" com2 TCP device: in 2947 (this is a non used local TCP port on my PC)
In Oziexplorer set GPS input on COM2 and AIS input on COM6
Run VSPE and Oziexplorer
------
OPENPLOTTER set
Openplotter, NMEA 0183 inputs,
+ network
Name GPS
Address 192.168.1.20 (This is the IP address of my PC with Oziexplorer, this address has to be fixed)
Port 2947
Yet
+ network
Name AIS
Address 192.168.1.20 (This is the IP address of my PC with Oziexplorer, this address has to be fixed)
Port 4998
Outputs
System_output Name, Type TCP, Address localhost, port 10110
---------------
OpenCPN set
Options, Connections
Net, localhost: 10110
With these settings, the NMEA data (AIS and GPS) are input data into PC physical port they are used to Oziexplorer and they are sent over the network to OpenPlotter - OpenCPN
In the coming days recovery settings for
AIS GPS related to the physical ports of RPI and Oziexplorer receiving NMEA data from virtual ports connected to TCP - VSPE
excuse my English
Ciao
Renato
1. GPS and AIS receiver are connected to the physical ports of the PC which runs Oziexplorer GPS and AIS, NMEA data is used by Oziexplorer and broadcast in WiFi at RPI OpenPlotter OpenCPN
2. GPS and AIS receiver are connected to the RPI physical ports: NEMEA data are used by OpenPlotter and Opencpn and transmitter in WiFi to your PC with oziexplorer
--------
1. GPS and AIS connected to the PC
PC sets:
For example GPS on physical port COM3, AIS on physical port COM5
Create in VSPE a "splitter device" COM5 => com6 (set COM5 data source, COM6 virtual serial port, speed 38400)
Create in VSPE a "TCPServer" TCP COM6 device: 4998 (this is a no used local TCP port on my PC)
Create VSPE a "splitter device" com3 => com2 (set com3 data source, com2 virtual serial port, read-only, speed 4800)
Create VSPE a "TCPServer" com2 TCP device: in 2947 (this is a non used local TCP port on my PC)
In Oziexplorer set GPS input on COM2 and AIS input on COM6
Run VSPE and Oziexplorer
------
OPENPLOTTER set
Openplotter, NMEA 0183 inputs,
+ network
Name GPS
Address 192.168.1.20 (This is the IP address of my PC with Oziexplorer, this address has to be fixed)
Port 2947
Yet
+ network
Name AIS
Address 192.168.1.20 (This is the IP address of my PC with Oziexplorer, this address has to be fixed)
Port 4998
Outputs
System_output Name, Type TCP, Address localhost, port 10110
---------------
OpenCPN set
Options, Connections
Net, localhost: 10110
With these settings, the NMEA data (AIS and GPS) are input data into PC physical port they are used to Oziexplorer and they are sent over the network to OpenPlotter - OpenCPN
In the coming days recovery settings for
AIS GPS related to the physical ports of RPI and Oziexplorer receiving NMEA data from virtual ports connected to TCP - VSPE
excuse my English
Ciao
Renato
Renato