{"id":122,"date":"2015-12-29T19:56:22","date_gmt":"2015-12-29T19:56:22","guid":{"rendered":"http:\/\/blogs.nrao.edu\/jmalone\/?p=122"},"modified":"2015-12-29T19:56:22","modified_gmt":"2015-12-29T19:56:22","slug":"fsr-to-lxc-200-via-telnet-server","status":"publish","type":"post","link":"https:\/\/blogs.nrao.edu\/jmalone\/2015\/12\/29\/fsr-to-lxc-200-via-telnet-server\/","title":{"rendered":"FSR to LXC-200 via telnet server"},"content":{"rendered":"<p>So, after all the work I put into investigating the HTTP RPC method, it turns out that the LXC-200 supports running a telnet server on a user-selectable port which communicates directly with the serial port. Select &#8220;Remote Session Method: Telnet Server&#8221; and choose a TCP port to dedicate to the specific serial port. I&#8217;m using 81 for port 1, 82 for port 2, etc. Set the &#8220;Telnet Protocol&#8221; to &#8220;Raw&#8221; as well.<\/p>\n<p>To use multiple ports on the LXC, we&#8217;re going to have to use the kludge of adding multiple IP devices to our FLEX project, each with its own TCP port. I&#8217;ll start by creating a device for port 81.<\/p>\n<p>In the button action, configure an Inline IP command like so:<\/p>\n<p>IP &#8216;Aurora_LXC-200_1_Addr&#8217; INLINE &#8220;Hello World&lt;0d&gt;&#8221;<\/p>\n<p>After saving and uploading the project to the FLEX, pressing the button spits out exactly the data we want from the serial port. Multiple presses continue sending the correct data; there seems to be no issue with reconnecting.<\/p>\n<p>So, I can now use my Aurora LXC-200 as 3 remote serial ports for the FSR FLEX-LT system.<\/p>\n<p>That was easy \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, after all the work I put into investigating the HTTP RPC method, it turns out that the LXC-200 supports running a telnet server on a user-selectable port which communicates directly with the serial port. Select &#8220;Remote Session Method: Telnet &hellip; <a class=\"more-link\" href=\"https:\/\/blogs.nrao.edu\/jmalone\/2015\/12\/29\/fsr-to-lxc-200-via-telnet-server\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-122","post","type-post","status-publish","format-standard","hentry","category-audiovisual"],"_links":{"self":[{"href":"https:\/\/blogs.nrao.edu\/jmalone\/wp-json\/wp\/v2\/posts\/122"}],"collection":[{"href":"https:\/\/blogs.nrao.edu\/jmalone\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.nrao.edu\/jmalone\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.nrao.edu\/jmalone\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.nrao.edu\/jmalone\/wp-json\/wp\/v2\/comments?post=122"}],"version-history":[{"count":1,"href":"https:\/\/blogs.nrao.edu\/jmalone\/wp-json\/wp\/v2\/posts\/122\/revisions"}],"predecessor-version":[{"id":123,"href":"https:\/\/blogs.nrao.edu\/jmalone\/wp-json\/wp\/v2\/posts\/122\/revisions\/123"}],"wp:attachment":[{"href":"https:\/\/blogs.nrao.edu\/jmalone\/wp-json\/wp\/v2\/media?parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.nrao.edu\/jmalone\/wp-json\/wp\/v2\/categories?post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.nrao.edu\/jmalone\/wp-json\/wp\/v2\/tags?post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}