{"id":321,"date":"2016-02-07T22:30:44","date_gmt":"2016-02-07T22:30:44","guid":{"rendered":"\/?post_type=ht_kb&#038;p=321"},"modified":"2018-03-10T18:22:31","modified_gmt":"2018-03-10T18:22:31","slug":"adding-pushed-data-streams-from-ntrip-servers","status":"publish","type":"ht_kb","link":"https:\/\/www.use-snip.com\/kb\/knowledge-base\/adding-pushed-data-streams-from-ntrip-servers\/","title":{"rendered":"Adding Pushed In Data from NTRIP Servers"},"content":{"rendered":"<h4>Controlling Push-In data access<\/h4>\n<p>Unlike <a href=\"\/kb\/knowledge-base\/the-relay-streams-tab\/\" target=\"_blank\" rel=\"noopener\">relay-remote data<\/a> or <a href=\"\/kb\/knowledge-base\/the-serial-streams-tab\/\" target=\"_blank\" rel=\"noopener\">serial stream data<\/a>, you cannot start a connection from the Caster with a button click. Rather, you must wait for the other party to connect to you.\u00a0 Pushed-In data [<strong>PUSH-In<\/strong>] is managed under the <a href=\"\/kb\/knowledge-base\/the-pushed-streams-tab\/\" target=\"_blank\" rel=\"noopener\">Pushed Streams<\/a> tab. Pushed-Out data [<strong>PUSH-Out<\/strong>] is managed under the <a href=\"\/kb\/knowledge-base\/the-pushed-out-streams-tab-output-data\/\" target=\"_blank\" rel=\"noopener\">Output Data<\/a> tab.<\/p>\n<p><a href=\"\/wp-content\/uploads\/2016\/08\/SNIPwPUSHinFlow.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-post-small wp-image-2220 alignright\" src=\"\/wp-content\/uploads\/2016\/08\/SNIPwPUSHinFlow-320x248.png\" alt=\"SNIPwPUSHinFlow\" width=\"320\" height=\"248\" \/><\/a><strong>Pushed-In<\/strong> data, that is, data which is sent to <span style=\"color: #0000ff;\"><strong>SNIP<\/strong> <\/span>from an <a href=\"\/kb\/knowledge-base\/question-what-is-an-ntrip-server\/\" target=\"_blank\" rel=\"noopener\">NTRIP Server<\/a>, creates a connection to <span style=\"color: #0000ff;\"><strong>SNIP<\/strong> <\/span>when it presents a suitable password followed by a mountPt name.\u00a0 If the password provided is correct (and you have not reached the number of streams for which your copy of <span style=\"color: #0000ff;\"><strong>SNIP<\/strong> <\/span>is allowed), the connection is made.\u00a0 Like the other stream types, you can control starting the entire process with a master on\/off check box marked <strong>Allow Connections<\/strong>.<\/p>\n<p>This process is managed under the Setup dialog, shown below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1797 size-full\" src=\"\/wp-content\/uploads\/2016\/06\/PushSetUPDialog.png\" alt=\"PushSetUPDialog\" width=\"536\" height=\"210\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2016\/06\/PushSetUPDialog.png 536w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2016\/06\/PushSetUPDialog-300x118.png 300w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2016\/06\/PushSetUPDialog-50x20.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2016\/06\/PushSetUPDialog-320x125.png 320w\" sizes=\"auto, (max-width: 536px) 100vw, 536px\" \/><\/p>\n<p>Here you establish the master password, and whether the log will have an entry when a failed connection event occurs.\u00a0 You can also select whether details of the connection will be displayed in the console log.\u00a0 This can be of value when debugging a connection.<\/p>\n<h4>On Passwords<\/h4>\n<p>Use the <strong>Generate<\/strong> button to create a unique password string, rather than the default value.<\/p>\n<p>The password value is checked <span style=\"text-decoration: underline;\">only<\/span> at connection time, so changing the value will not affect any currently connected users until their next connection event.\u00a0 <span style=\"color: #008000;\"><strong>CAUTION<\/strong><\/span>: It is your responsibility to inform other parties when you change the password on your site.<\/p>\n<p>The other party&#8217;s GNSS device must know your system&#8217;s password in order to connect.\u00a0 Provide this only to trusted partners. The connecting party will suggest \/ provide a mountPt to be used in the connection string.\u00a0 Generally this is the published mountPt that your users will then see in your own caster table, but <span style=\"color: #0000ff;\"><strong>SNIP<\/strong> <\/span>contains some logic to rename mountPt to always avoid duplication. So if two remote NTRIP Servers both connected at the same time and used the mountPt &#8220;test,&#8221; the 2nd one would be renamed &#8220;test_02&#8221; in your caster table.\u00a0If the connection device provided a Caster table string, this value would be used in your table.\u00a0 If not, then a minimal entry will be created for you.<\/p>\n<p>As remote data sources connect, the events are shown in the console and current connection status is reflected on the <a href=\"\/kb\/knowledge-base\/the-pushed-streams-tab\/\" target=\"_blank\" rel=\"noopener\">tab<\/a> in the normal way.<\/p>\n<h4>Disconnection Events<\/h4>\n<p>When a remote push source disconnects, it is removed from the tab tables (and the mountPt entries) in a few seconds. If a remote push source ceases to send any data, this is also noted.\u00a0 After a ~10 second lapse, the source is marked as &#8220;down&#8221; and will be marked as active once data resumes.\u00a0 If a full 3 minutes passes (180 seconds) with no further data received, the socket will be disconnected and can be used by others. Well-behaved NTRIP Server devices disconnect when they end a service.\u00a0 Some NTRIP Server devices will attempt to reconnect when a service is disconnected, while others will not; consult your vendor.<\/p>\n<p>Remote <strong>PUSH-In<\/strong> sources can be manually disconnected (by using the right-click popup menu for the slot) but there is no way to directly encourage a given remote source to connect to the Caster.<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #008000;\"><strong>Aside:<\/strong><\/span> If you have this need, consider using the Remote-Relay stream type.\u00a0 In this type of stream, <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> will aggressively attempt to reconnect to the remote Caster should a connection ever be lost.\u00a0 The algorithm used is an adaptive aggressive one.\u00a0 A retry rate of\u00a0 every few seconds for the first few minutes then backs off to progressively\u00a0 slower re-connection times (15 seconds, 1min, 5 minutes, etc.), reaching a rate of a single attempt once per hour for remote Caster mountPts deemed to be &#8216;dead.&#8217;\u00a0 The button <em><strong>Restart Pending Streams<\/strong><\/em> on the <em>Relay Stream<\/em> Tab can be used for forcing any inactive Remote-Relay stream to attempt a reconnect.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #008000;\"><strong>See also:<\/strong><\/span>\u00a0<a href=\"\/kb\/knowledge-base\/sending-pushed-out-data\/\"> Sending Pushed Out Data<\/a> from a <strong>SNIP<\/strong> Caster<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Controlling Push-In data access Unlike relay-remote data or serial stream data, you cannot start a connection from the Caster with a button click. Rather, you must wait for the other party to connect to you.\u00a0 Pushed-In data [PUSH-In] is managed under the Pushed Streams tab. Pushed-Out data [PUSH-Out] is managed [&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":[195,413],"class_list":["post-321","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-getting-started","ht_kb_tag-push","ht_kb_tag-push_in"],"_links":{"self":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/321","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=321"}],"version-history":[{"count":22,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/321\/revisions"}],"predecessor-version":[{"id":5109,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/321\/revisions\/5109"}],"wp:attachment":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/media?parent=321"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=321"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}