{"id":6938,"date":"2020-03-31T12:45:40","date_gmt":"2020-03-31T12:45:40","guid":{"rendered":"https:\/\/www.use-snip.com\/kb\/?post_type=ht_kb&#038;p=6938"},"modified":"2022-04-06T17:58:01","modified_gmt":"2022-04-06T17:58:01","slug":"rs232-over-the-internet","status":"publish","type":"ht_kb","link":"https:\/\/www.use-snip.com\/kb\/knowledge-base\/rs232-over-the-internet\/","title":{"rendered":"RS232 over the Internet"},"content":{"rendered":"<p>Connecting a GNSS serial port over the Internet to a remote <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> NTRIP Caster is easily achieved using one of the many <em>serial to internet<\/em> adopter dongles available.\u00a0 In this article we describe the setup process using the popular USR-TCP232-302 product made by <em>Jinan USR IOT Technology<\/em> and available from many electronics retailers for about $25 dollars (US).\u00a0 The firm makes a variety of similar products including some with WiFi connectivity if you do not have a physical internet cable (RJ45) near the Base Station.<\/p>\n<p>If you happen to have a spare PC, or a low cost NUC node, the free <span style=\"color: #993300;\"><em><strong>Lite<\/strong><\/em><\/span> model of <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> can also be used to connect older serial GNSS Base Stations by their serial ports.\u00a0 That has the advantage of using proper NTRIP protocols and security for the connection.\u00a0 In this example we will use the <em>serial to internet<\/em> adapter device and create a <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/raw-tcpip-streams-tab\/\">RAW connection<\/a> to the <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> Caster.\u00a0 These adapter devices simply read in the serial data stream and then establish a connection with common TCP\/IP to the designated remote device (in this case the Caster).\u00a0 But they are not able to add the NTRIP protocol details, hence the need for a RAW TCP\/IP style connection.<\/p>\n<hr \/>\n<p>The setup process consists of three separate steps:<\/p>\n<ol>\n<li>Initially connecting to the adapter device<\/li>\n<li>Programming the adapter device<\/li>\n<li>Programming the SNIP Caster to accept the connection<\/li>\n<\/ol>\n<p>Of course you must also program the GNSS device to send the data you need (observations, the precise antenna location, etc. typically all encoded in RTCM3 messages).\u00a0 These settings should then be saved in the device so that when there is a power lose and recovery, you will not need to reset things.\u00a0 We recommend that you power cycle the entire Base Station setup a few times once everything is working to ensure it will recover as desired.<\/p>\n<h2>Connecting to the Device<\/h2>\n<p>Typically half the battle is to initially find and connect to the adapter device itself.\u00a0 In this authors experience, this is the step that often consumes the most time.<\/p>\n<p>This is best initially done at the comfort of a desk rather than out in the field\/barn\/shed where the Base Station is to be installed.\u00a0\u00a0 We presume there is a working PC with a working internet connection and a browser.\u00a0 We will use the browser (and a small web page built into the adapter device) to adjust the settings.\u00a0 A common internet cable will be needed as well as a place to plug in the adapter device into a bridge or hub.<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\"><big><strong>\u21d2\u21d2<\/strong><\/big><\/span> Plug the adapter device power module cord to the wall and to the device.\u00a0 Plug in the internet cable to your local network.\u00a0 Confirm that you see the normal two lights (current sensing and packet traffic) under the cable.\u00a0 Now that the device is operational, we need to find it on the network.<\/p>\n<p>Fresh out of the box (or after pressing the reset button and power cycling) the device IP is set to <strong>192.168.0.7<\/strong> (with a mask of 255.255.255.0 and a gateway of 192.168.0.1). [A basic knowledge of how IP addresses works is assumed here, but nothing of any depth]\u00a0 It <strong>does not<\/strong> do DHCP until you program it to do so.\u00a0\u00a0\u00a0 It <strong>does<\/strong> reply to PINGs. [Devices from other makes will use other IP values as their defaults]<\/p>\n<p>If you happen to be in network where the sub-net 192.168.0.x is reachable, great, you can reach the adapter device without any annoying temporary network changes.\u00a0 Bring up a command prompt and type &#8220;ping 192.168.0.7&#8221; and confirm this (if it is reachable, you will see the text <em>Reply from 192.168.0.7 bytes=32<\/em> &#8230;.).\u00a0\u00a0 You can move on to the next step, <em><strong>Programming the Device<\/strong><\/em>.<\/p>\n<p>Many local networks avoid using 192.168.0.x\u00a0 (here we use 192.168.1.x in one office and 192.168.2.x in another).\u00a0 If you happen to be in an office or home that uses 10.10.x.x. or 192.168.xx.yy where xx is not == 0, then you will need to create a temporary network to gain access to the device at 192.168.0.7\u00a0 &#8211; but that is really not as hard as it might seem.<\/p>\n<p>You only need one PC and an internet cable which you will connect directly between the PC and the adapter device (a WiFi connection is not suitable for this).\u00a0 We will simply copy down the current network settings, then change them, program the device, confirm it works, and then change everything back.\u00a0 Do not attempt this on a &#8216;network PC&#8217; that loads its operating system from a central server each day.\u00a0 While doing this, the PC will not have access to the internet or to eMail, or any other resources in your local office network.<\/p>\n<p>First we need to document what the current network card setting on the PC are set to be.\u00a0 Go to your <strong>Control Panel<\/strong>, select <strong>Network and Internet,<\/strong> select <strong>Network and Sharing Center<\/strong> and then select <strong>Change adapter settings .\u00a0 <\/strong>Double click on the <strong>Local Area Connection<\/strong> icon for the connection you will use.<\/p>\n<p>You should now be looking at a <strong>Local Area Connection Status<\/strong> dialog box similar to the below.<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6941\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/Internet_Network-Connections.png\" alt=\"\" width=\"400\" height=\"480\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/Internet_Network-Connections.png 400w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/Internet_Network-Connections-250x300.png 250w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/Internet_Network-Connections-42x50.png 42w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/Internet_Network-Connections-320x384.png 320w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>In a moment we will change the TCP\/IPv4 settings (under Properties) so we can reach the adapter device.\u00a0 But first we must document the current settings to restore them.\u00a0 If you (more correctly, your office environment) use DHCP, this is easy, less so if you have entered specific settings.\u00a0 Click on the button marked <strong>Properties<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6942\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/Network_IP4_Select.png\" alt=\"\" width=\"430\" height=\"510\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/Network_IP4_Select.png 430w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/Network_IP4_Select-253x300.png 253w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/Network_IP4_Select-42x50.png 42w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/Network_IP4_Select-320x380.png 320w\" sizes=\"auto, (max-width: 430px) 100vw, 430px\" \/><\/p>\n<p>Select (click on) the entry marked<strong> Internet Protocol Version 4 (TCP\/IPv4)<\/strong>.<\/p>\n<p>Press the button marked <strong>Properties <\/strong>and take a look at the displayed screen.\u00a0 It will look similar to one of the two images below.\u00a0\u00a0 The one on the left is a machine using DCHP to obtain the IP values; the one on the right is using manually entered values.<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6943\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/ipv4-DHCPandMan.png\" alt=\"\" width=\"860\" height=\"475\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/ipv4-DHCPandMan.png 860w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/ipv4-DHCPandMan-300x166.png 300w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/ipv4-DHCPandMan-768x424.png 768w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/ipv4-DHCPandMan-50x28.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/ipv4-DHCPandMan-600x331.png 600w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/ipv4-DHCPandMan-320x177.png 320w\" sizes=\"auto, (max-width: 860px) 100vw, 860px\" \/><\/p>\n<p>[<span style=\"color: #008000;\"><em><strong>Aside<\/strong><\/em><\/span>: Each separate connection on your machine has these settings.\u00a0 Here we should be using the physical RJ45 cable connection for the internet, not any WiFi connection or any virtual connections you may also have on this machine.\u00a0 If you do not normally use this connection or cable you may have to enable the adapter to be able to set its values.]<\/p>\n<p>If your machine has the radio button checked for &#8220;Obtain&#8230; address automatically&#8221; &#8211; please note that for restoring later.<\/p>\n<p>If your machine has values entered in the fields, please jot the numbers you see down (or screen capture) for IP address, Subnet mask, Default gateway and any DNS Servers.\u00a0 <strong>We will need to restore these values as a final step.<\/strong><\/p>\n<p>We can now enter the values shown below so that the PC and the adapter device can see each other:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6944\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/ipv4-forAdapter.png\" alt=\"\" width=\"417\" height=\"470\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/ipv4-forAdapter.png 417w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/ipv4-forAdapter-266x300.png 266w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/ipv4-forAdapter-44x50.png 44w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/ipv4-forAdapter-320x361.png 320w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/p>\n<p>Save these values.\u00a0 You can check them with the <strong>ipconfig<\/strong> command from a command line if needed.<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\"><big><strong>\u21d2\u21d2<\/strong><\/big><\/span> Plug the adapter device internet cable directly to your PC, unplugging the cable that was there.\u00a0 The power supply module should be active and plugged in from the prior step.\u00a0 Confirm that you see the normal two lights (current sensing and packet traffic) under the cable.\u00a0 Now that the device is operational, we need to find it on the &#8216;network&#8217; you have created consisting of just these two devices.<\/p>\n<p>You should now be able to PING the adapter device as well.\u00a0 Because your PC and the adapter device are the only devices on this &#8216;network&#8217; (the cable between you), no other devices can be reached at this time.<\/p>\n<p>Open whatever web browser you prefer to use on the PC. Enter the IP for the device (at present 192.168.0.7).\u00a0 If you connect to the adapter device you will see a log on dialog.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6947\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adapterLogOn.png\" alt=\"\" width=\"640\" height=\"200\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adapterLogOn.png 640w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adapterLogOn-300x94.png 300w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adapterLogOn-50x16.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adapterLogOn-600x188.png 600w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adapterLogOn-320x100.png 320w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>Congratulations. The default user and password is <strong>admin<\/strong> \/ <strong>admin<\/strong>. We can now move to programming the device itself.<\/p>\n<h2>Programming the Device<\/h2>\n<p>The adapter device is programmed with a simple web interface. Similar to many small network appliances, parameter values are set on the web page, then the device is restarted to install the new values.\u00a0\u00a0\u00a0 One annoying detail with the USR_TCP232-302 is that it is built in China and will default to Chinese characters for some of the web page error messages.\u00a0 But all the key pages are available in English (you can toggle between the two with a small icon in the upper right hand corner of most pages).<\/p>\n<p>If you have not already done so, log on to the device (user = admin\u00a0 password = admin).\u00a0 You will be presented with a simple web status page.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6951\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_start-page.png\" alt=\"\" width=\"700\" height=\"487\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_start-page.png 700w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_start-page-300x209.png 300w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_start-page-50x35.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_start-page-600x417.png 600w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_start-page-320x223.png 320w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>The tabs\/buttons along the left side are used to access the major controls and bring up a web page for that purpose.\u00a0\u00a0 We next have to set up the permanent IP to be used and then set both &#8216;sides&#8217; of the device.<\/p>\n<ul>\n<li>Unless the IP 192.168.0.7 is suitable for your environment, this should be changed.<br \/>\nUse the <strong>Local IP Config<\/strong> tab for this.<\/li>\n<li>The internet side, so the device can reach your <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> Caster and send it data.<\/li>\n<li>The serial port side, so the device can read the serial date from the GNSS Base Station<br \/>\nUse the <strong>Serial Port<\/strong> tab for both of these<\/li>\n<\/ul>\n<p style=\"padding-left: 40px;\"><span style=\"color: #008000;\"><strong>Note:<\/strong><\/span> If you will be using more than one of these devices within a single subnet, they each must have their own unique IP address.<\/p>\n<h3>Setting the permanent device IP<\/h3>\n<p>Press the <strong>Local IP Config<\/strong> tab to bring up the below web page and enter the IP you would prefer to use.\u00a0 Be sure that the submask and gateway values are correct as well. The adapter device needs a valid gateway to send data to the remote NTRIP Caster.<\/p>\n<p>[Aside: Any valid DNS value can be used (for example google at 8.8.8.8).\u00a0 In this example we entered the direct static IP value for the Caster was used, rather than the domain name. The adapter device implements its DNS resolution using php and some odd web page clutter has been observed when it is first used. ]<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6957\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_localIP-page.png\" alt=\"\" width=\"700\" height=\"375\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_localIP-page.png 700w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_localIP-page-300x161.png 300w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_localIP-page-50x27.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_localIP-page-600x321.png 600w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_localIP-page-320x171.png 320w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>In the above example the value 192.168.1.150 was used.\u00a0 Enter a value suitable for your use.\u00a0 [This was a value selected to work well in this office (where we use a sub-net at 192.168.1.xxx).\u00a0 You would presumably select a value for your own office sub-net (or wherever the GNSS base and the adapter device will be placed) so that the adapter device can reach the internet and so you can reach the device from any nearby PCs]<\/p>\n<p>You can now save this value and then will be asked if you wish to restart. Save and Restart.<br \/>\n<span style=\"color: #008000;\"><em><strong>Note<\/strong><\/em><\/span>: Every time you save a new IP value, you must then log on again to the new IP value.<\/p>\n<p>We recommend you assign a static IP within the range of your office DHCP and not use DCHP itself (although the device does support that &#8211; select it in the drop down if desired).\u00a0\u00a0 The reason for not using DHCP is that this device will in time need to be found again on the local network and unless you can access the current DHCP leases, this can be problematic. Unlike a PC, there is no easy way to sit at the device and determine what value it has been assigned.<\/p>\n<p>Reconnect to the device at its new IP address and continue with the steps below. <span style=\"color: #008000;\"><strong>Best practice<\/strong><\/span>: Tape a label with the new IP on the device for future assistance.<\/p>\n<p><span style=\"color: #008000;\"><strong>Note<\/strong><\/span>: You can reset the device to all the original values and the IP of 192.168.0.7 if you hold down the reset pin for ~10 seconds and power cycle the device. This is helpful when the device is &#8216;lost&#8217; after the new IP is assigned.<\/p>\n<p>At this point you can now restore the network card details to their prior values and return your PC to its full functionality.<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\"><big><strong>\u21d2\u21d2<\/strong><\/big><\/span> Plug the adapter device internet cable directly to your local network now.\u00a0 Cycle the power to the adapter device on and off. Restore the PC network cable as well. Restore the PC network network settings from your notes as well.\u00a0 Now that the device is operational with its new IP, ensure we can still find it on the network at the address you assigned it to. Confirm that your PC can again reach other devices (such as internet browsing and eMail) as well as the adapter device.\u00a0 Be sure to label it!<\/p>\n<h3>Entering the remote NTRIP Caster IP<\/h3>\n<p>Now that a suitable local IP has been assigned to the device and the device can be reached, we will use the <strong>Serial Port<\/strong> tab to set up each side of the interface:<\/p>\n<ul>\n<li>The internet side, so the device can reach your <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> Caster<\/li>\n<li>Then the serial port side, so the device can read the serial date from the GNSS Base Station<\/li>\n<\/ul>\n<p>Enter the remote IP of the <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> NTRIP Caster in the field marked <em>Remote Server Addr<\/em>.\u00a0 If you enter a URL, the IP it resolves to will be shown below it in brackets, once it is connected.\u00a0 Enter the port the Caster listens on (typically 2101) in the field marked <em>Remote Port Number<\/em>. The field marked <em>Local Port Number<\/em> is not used.<\/p>\n<p>The field marked &#8220;Work Mode&#8221; is set to be <strong>TCP Client<\/strong> which indicates that the adapter device will initiate the TCP\/IP connection to the <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> NTRIP Caster.\u00a0 We do not use a <em>server<\/em> mode here because this device lives behind your firewall and is unable to receive inbound connections.<\/p>\n<h3>Setting the Serial Baud rate details<\/h3>\n<p>Press the <strong>Serial Port<\/strong> tab to bring up the below web page.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6960\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_serial-page.png\" alt=\"\" width=\"700\" height=\"540\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_serial-page.png 700w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_serial-page-300x231.png 300w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_serial-page-50x39.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_serial-page-600x463.png 600w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_serial-page-320x247.png 320w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>The baud rate values and other values selected (parity and stop bits) must match the values used by the serial port on the GNSS device.\u00a0 This interface is a simple &#8216;three wire&#8217; one (no clear to send wire is present).\u00a0 We typically use 19200 bps for a base with GPS+GLO data, but faster speeds are needed when more GNSS signal are present. If you are getting data at the other end but it is garbled, mismatched baud rates are the typical cause.<\/p>\n<p>Oddly, the Baud Rate field does not present the normal standard speeds in a combo list to chose from, you must enter the value by hand.\u00a0 Enter whenever one of these values matches your GNSS equipment settings:\u00a0 9600 19200\u00a0 38400 57600 76800 115200 230400 or 46080.<\/p>\n<p>The cable you will need will vary based on the GNSS equipment used. If you have formally used a simple straight cable to connect the GNSS to your PC running a terminal program or some other setup utility, you will need a null modem cable to connect to the adapter device.\u00a0 The cable end for the device is a male db9 plug.<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\"><big><strong>\u21d2\u21d2<\/strong><\/big><\/span> Plug the serial cable from the GNSS Base Station into the adapter device. Data should now be flowing to the device and the device should immediately try to connect to the remote IP address and port you entered before.\u00a0 Unless the this IP and port is open at the other end (the final step below) this connection will fail and the device will simply retry.<\/p>\n<p>&nbsp;<\/p>\n<h2>Sending Data into the SNIP Caster<\/h2>\n<p>On the receiving <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> device we need to establish an active Raw connection slot to accept the incoming data.\u00a0 This is discussed in detail in other knowledge base articles, please see one of the below.<\/p>\n<p style=\"padding-left: 40px;\">The <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/raw-tcpip-streams-tab\/\">RAW TCP\/IP Tab<\/a> explained.<\/p>\n<p style=\"padding-left: 40px;\">Setup details for a <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/raw-tcpip-connections\/\">RAW TCP\/IP connection<\/a>.<\/p>\n<p>When connected, the details shown on SNIP are similar to any other RAW connection.<\/p>\n<h2>And We are done&#8230;.<\/h2>\n<p>Once all of the above is completed, data will flow to the <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> caster immediately (if it does not, make sure you do not have a firewall blocking in-bound traffic on the port you are using). There is no concept of an on or off mode for this particular device.\u00a0 Once correctly setup it will simply run.\u00a0 You can see also the progress of data leaving the device from its web pages (the <em>Current Status<\/em> tab) which is updated every 5~8 seconds.<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6965\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_running.png\" alt=\"\" width=\"700\" height=\"409\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_running.png 700w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_running-300x175.png 300w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_running-50x29.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_running-600x351.png 600w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/03\/adap_running-320x187.png 320w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>In the above you can see that data is flowing to the &#8220;Remote IP\/TX\/RX-1&#8221; connection.\u00a0 The 12 bytes of in-bound data is the &#8220;OK&#8221; reply returned by <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> when the connection was started.\u00a0 The other empty entries (-2, -3, -4) are not used in this connection mode.<\/p>\n<h3>A few concluding remarks<\/h3>\n<p>Most other manufactures and devices have very similar setup screens and options.\u00a0 Two options you may find bear additional comment and guidance.<\/p>\n<p style=\"padding-left: 40px;\"><strong>Buffering<\/strong>&#8211; As a rule no buffering is desired as it causes latency and delay.\u00a0 The GNSS will typically dump a sequence of new messages at a 1Hz rate as a block of continuous serial data.\u00a0 The precise byte count of this data will vary as the number of satellites (SVs) changes, so is is not a useful threshold for trigger sending from.\u00a0 The size of the TCP packets used will also vary with the network being used, and rarely align to RTCM message sizes. In a similar way, avoid enabling any buffering in any USB\/Serial devices connected to the GNSS.<\/p>\n<p style=\"padding-left: 40px;\"><strong>Keep-Alive<\/strong> &#8211; There is no need for the use of the keep alive protocol in an NTRIP system as the messages themselves serve to provide a 1Hz exchange rate.\u00a0 It should not be enabled, but will do no actual harm other then a mild waste of bandwidth.\u00a0 The keep-alive messages consist of 64 byte empty frames that exchanged at the TCP level. <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> also monitors every NTRIP connection at the application layer to detect time outs and data starvation.<\/p>\n<p>If you elect to change the default user and password (found in the <em>Misc Config<\/em> tab), then be sure to denote that on the device label you made.\u00a0 You made that label, right? \u00a0 The reset button will restore the factory defaults when needed.<\/p>\n<p>In conclusion, these inexpensive device offer a simple way to connect any Base Station that has only a serial port and is not able to speak the NTRIP protocol into your <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> NTRIP Caster network.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Connecting a GNSS serial port over the Internet to a remote SNIP NTRIP Caster is easily achieved using one of the many serial to internet adopter dongles available.\u00a0 In this article we describe the setup process using the popular USR-TCP232-302 product made by Jinan USR IOT Technology and available from [&hellip;]<\/p>\n","protected":false},"author":13,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"ht-kb-category":[115],"ht-kb-tag":[309,465,188],"class_list":["post-6938","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-getting-started","ht_kb_tag-raw-tcpip","ht_kb_tag-rs232","ht_kb_tag-serial"],"_links":{"self":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/6938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/comments?post=6938"}],"version-history":[{"count":21,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/6938\/revisions"}],"predecessor-version":[{"id":8135,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/6938\/revisions\/8135"}],"wp:attachment":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/media?parent=6938"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=6938"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=6938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}