Firmware Version 1.5
NMEA4WIFI AP NETWORK
You can operate the NMEA4WIFI multiplexer in two modes: AP or Client Sation. In AP (Access Point) mode,
NMEA4WIFI creates a wifi network and smartphones, tablets or computers connect to this wifi network to
receive/send data from/to NMEA4WIFI. In Client Station mode, NMEA4WIFI joins an existing external wifi
network and transmits/receives wifi data on that network. NMEA4WIFI always creates its own
AP network, even when you set NMEA4WIFI to join an existing network.
In this panel, you specify the name and the password of the wifi network that smartphones,
tablets and computers should use to join this network.
When working as an Access Point, NMEA4WIFI uses IP address 192.168.4.1 and
supports DHCP. A maximum of 5 clients can join the network and are assigned
consecutive IP addresses (eg 192.168.4.2 ...). Security is WPA2-PSK. Ssid and Password can have
a maximum of 15 characters and a minimum of 4 and 8 characters, respectively.
When you need to change any setting of NMEA4WIFI you should connect to this newtork
and then write 192.168.4.1 in the navigation bar of a browser to get the page that you
are reading now.
EXTERNAL NETWORK
If you have already a working wifi network and want NMEA4WIFI to
join that network as a Client Station, you should enter here the authentication parameters that
NEMA2WIFI should use to join this existing network. Ssid and Password can have a maximum and a minimum
size of characters as before. The IP address of the multiplexer on this external network can
assigned by DHCP or it can be a static one. In order for the multiplexer to obtain an automatic IP from
the network/router you enter 0 in the IP Address text box (this is the default). In order to force a
static IP you need to specify it, exactly, on the IP Address text box. Make sure that you enter an unused IP
belonging to the DHCP pool of the existing network or router. When the connection to an existing network
succeds, the IP address will be shown here:
(X.X.X.X).
SERIAL PORTS SETTINGS
NMEA4WIFI has four input serial ports named as P#1, P#2, P#3 and P#4
and one serial output port, named as P#5.
The baud rate of serial ports P#1, P#2 and P#5 is adjustable between 4800, 9600, 19200 or 38400.
The baud rate of P#3 and P#4 can be 4800 or 9600 baud.
It is important to note that if the baud rate of the
output port is inferior to those of the input ports, data may be lost.
The wide text boxes for each serial ports refer to NMEA0183 sentence filtering. If you do not need sentence
filtering, you enter 0 (zero) in these boxes. See below for an explanation about sentence filtering.
Data transmitted over the output serial port P#5 can be any combination of data
from serial ports (P#1, P#2, P#3 and P#4) and data received by wifi. Also all data output by P#5 is
also output by the USB port of the processor module of the multiplexer.
WIFI SETTINGS
NMEA4WIFI can use UDP, TCP or both protocols to send and receive data
through wifi. You can turn one protocol inactive by setting its port number equal to zero.
Non zero port numbers, either UDP or TCP, should be in range from 1024 up to 65535.
By default, NMEA4WIFI uses UDP broadcasting on port number 2000 (compatible with Navionics Sonar
Chart Live). UDP broadcasting assures that all the clients connected to the wifi network
listening to the specified UDP port number will receive the packets by the multiplexer.
You should set the protocol (UDP or TCP) and the corresponding port number on the connection device(s)
that receive/send data from/to the NMEA4WIFI multiplexer. When you use the TPC protocol, you also
need to specify the IP address of the multiplexer. This address, in the case of AP ONLY mode, is
192.168.4.1. If the multiplexer is connected to an external network you specify the IP address that
is assigned by the external network. It is important to note that only one connection with the multiplexer
can be active through the TCP protocol but, at the same time, you can have multiple UDP connections.
The wide text boxes for each wifi ports refer to NMEA0183 sentence filtering. If you do not need sentence
filtering, you enter 0 (zero) in these boxes. See below for an explanation about sentence filtering.
Finally you can set which data will be transmitted by Wifi. It can be any combination of the NMEA0183
data appearing at the four input serial ports P#1, P#2, P#3 and P#4.
NMEA0183 SENTENCE FILTERING
The 4 input serial ports, the serial output port and the 2 input wifi ports can be
set to pass or to block certain NMEA0183 sentences. This is governed by a filtering string
of up to 43 characters that you can enter in the wide text boxes for each of the
referred to ports. The first character is a number, betwween 0 and 9, which determines
the number of sequences that are periodically dropped independently of the rest of the
filtering string. For example, if that number is 3, it means that on 4 sucessive sequences,
1 is taken and 3 are dropped. The second character should be a separator. The
characters "-", ".", "~" and others could be used as separators but we will use "-". The
third character can only be "A" or "R". "A" means that only the sentences that are referred
to in the rest of the filtering string are ACCEPTED by (pass through) the ports. "R" means
that only the sentences that are referred to in the rest of the filtering string are
REJECTED (blocked) by the ports. Each NMEA0183 sequence is specified by 3 characters
inserted betwwen separators. For example, the string "2-A-RMC-GGA-GLL-GRS-GSA" means
that only 1 in 3 sucessive sentences is considered and the considered sequence only passes
if it is 1 of the 5 that are specified. It is interesting to note that the shown
sequence has a lenght of 23 characters and specifies 5 sentences. For each additional
sentence you need 4 more characters (the separator and the 3 characters). Therefore, in
order to specify 10 sentences we need 43 characters which is maximum lenght of the
filtering string. An important note is to understand that the filtering strings for
the UDP and TCP ports refer to the input. For example if data is received by UDP, filtering
takes place but data transmitted by UDP is not filtered.
SETTING OPERATING MODES
In addition to the above parameters, you have 2 radio buttons
to choose between: (i) working in AP mode only or (ii) also connect as a Client Station.
You press the SET button for NMEA4WIFI to accept the parameters in this page. If there
are no errors in the parameters, NMEA4WIFI changes its operation to the mode and settings selected.
FACTORY SETTINGS
Pressing the Set Factory Defaults button is the same as an hardware reset of the
system. The factory setting uses the following parameters:
Mode: Access Point; Ssid: NMEA4WIFI; Password: 12345678; IP Address: 192.168.4.1; Wifi
Protocol: UDP; UDP Port Number: 2000; Serial Port P#1, P#3 and P#4 Baud Rates: 4800; Serial Ports P#2 and P#5
Baud Rates: 38400; Serial Output on P#5: none; Wifi Output: both P#1 and P#2.