You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/menu_tcp_udp.md
+31-22Lines changed: 31 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -20,36 +20,45 @@ Compatibility Icons
20
20
21
21
NMEA data is generally consumed by a GIS application or Data Collector. These messages can be transmitted over a variety of transport methods. This section focuses on the delivery of NMEA messages via TCP and UDP.
22
22
23
-
<figuremarkdown>
24
-

25
-
<figcaptionmarkdown>
26
-
TCP/UDP Menu showing various Client and Server options
27
-
</figcaption>
28
-
</figure>
23
+
<palign="center">
24
+
<imgsrc="img/Terminal/SparkFun RTK Everywhere - TCP-UDP Menu.png"alt="TCP/UDP Menu showing various Client and Server options">
25
+
</p>
29
26
30
-
## TCP Client and Server
27
+
*<palign="center">TCP/UDP Menu showing various Client and Server options</p>*
28
+
29
+
<palign="center">
30
+
<imgsrc="img/WiFi Config/SparkFun RTK Config - TCP Port.png"alt="TCP/UDP settings using Web Config">
31
+
</p>
31
32
32
-
The RTK device supports connection over TCP. The TCP Client sits on top of the network layer (WiFi or Ethernet) and sends position data to one or more computers or cell phones for display. Some Data Collector software (such as [Vespucci](gis_software.md#vespucci)) requires that the SparkFun RTK device connect as a TCP Client. Other software (such as [QGIS](gis_software.md#qgis)) requires that the SparkFun RTK device acts as a TCP Server. Both are supported.
33
+
*<palign="center">TCP/UDP settings using Web Config</p>*
33
34
34
-
!!! note
35
-
Currently for WiFi: TCP is only supported while connected to local WiFi, not AP mode. This means the device will need to be connected to a WiFi network, such as a mobile hotspot, before TCP connections can occur.
35
+
## TCP Client and Server
36
36
37
-
<figuremarkdown>
38
-

39
-
<figcaptionmarkdown>
40
-
</figcaption>
41
-
</figure>
37
+
The RTK device supports connection over TCP. The TCP Client sits on top of the network layer (WiFi in general, and Ethernet/Cellular on the EVK) and sends position data to one or more computers or cell phones for display. Some Data Collector software (such as [Vespucci](gis_software.md#vespucci)) requires that the SparkFun RTK device connect as a TCP Client. Other software (such as [QGIS](gis_software.md#qgis)) requires that the SparkFun RTK device acts as a TCP Server. Both are supported.
42
38
43
39
If either Client or Server is enabled, a port can be designated. By default, the port is 2947 (registered as [*GPS Daemon request/response*](https://tcp-udp-ports.com/port-2948.htm)) but any port 0 to 65535 is supported.
The above animation was generated using [TCP_Server.py](https://github.com/sparkfun/SparkFun_RTK_Everywhere_Firmware/blob/main/Firmware/Tools/TCP_Server.py).
The above animation was generated using [TCP_Server.py](https://github.com/sparkfun/SparkFun_RTK_Everywhere_Firmware/blob/main/Firmware/Tools/TCP_Server.py) and demonstrates connecting to an RTK device over TCP from a desktop.
52
49
53
50
## UDP Server
54
51
55
-
NMEA messages can also be broadcast via UDP on Ethernet and WiFi, rather than TCP. If enabled, the UDP Server will begin broadcasting NMEA data over the specific port (default 10110).
52
+
NMEA messages can also be broadcast via UDP rather than TCP. If enabled, the UDP Server will begin broadcasting NMEA data over the specific port (default 10110).
53
+
54
+
## NTRIP Caster
55
+
56
+
If enabled, incoming TCP connections will be answered as if the device is an NTRIP Caster and return a mount table with only one mount point. In this mode NTRIP Clients can connect directly to the RTK device without the need for a 3rd party NTRIP Caster such as RTK2Go or Emlid. This is most often used when a base RTK device is in AP or WiFi Station mode, and a rover is connected to a cell phone that is on the same WiFi network. A GIS app can then use its built in NTRIP Client to connect to the base's NTRIP Caster.
57
+
58
+
## MDNS
59
+
60
+
Multicast DNS allows other devices on the same network to discover this device using 'rtk.local' as its address. When MDNS is enabled, and the RTK device is acting in WiFi AP mode for configuration, typing 'rtk.local' into a browser will connect that browser to the RTK device without having to know or type in the full IP address.
61
+
62
+
## Broadcast TCP/UDP over WiFi or AP
63
+
64
+
TCP Server and UDP Server can connect over a local WiFi network, or by becoming an Access Point (hosting its own WiFi network) that client devices can connect to. Use option **a** to select between the type of WiFi to use for TCP/UDP Server broadcasting.
0 commit comments