Index >> Products >> Support & Download

Remote serial ports - technical support

List of all files and documents which are related to our products. You can find descriptions of algorithms and standards which we use, detailed articles and applications
 

 

Technical background - standards, norms and concepts

The TEA - safe password encrypted authorization

One of basic security elements of network connection is to confirm client's identity who is trying to connect to server. For simple authorization you can use password system (Insert your name & password when prompted). This solution has a big disadvantage, because the password is sent in non-secure format over network. It is more desirable to use one of the cryptography methods for secure authorization. All our devices support TEA authorization for secure access. It is simple encryption algorithm which encrypts the password by randomly generated number. The server sends this number and only encrypted password is sent over TCP/IP network. Just the algorithm of encryption password, compression and decompression are described in following article.

NVT (Network Virtual Terminal) protocol description

NVT (Network Virtual Terminal) is relatively complicated issue from terminal point of view, their modifications etc. In our application we use only fragments of NVT features and to understand its principle is simple. Particularly command sequence in dataflow over TCP/IP, where „FF“ introduces command sequence with specific format which is described in article about Telnet. The „FF“ character must be doubled for transmitted otherwise characters following will be interpreted as command sequence. NVT can be switched off in case you do not need it, if you do both sides must respect this fact.
You can set RS232 rate, read serial module number or control binary inputs and outputs via command sequence in NVT.

RepBuf (Repeat Buffer protocol based on NVT)

RepBuf is a new protocol for retrieving data from the buffer of PortStore2 PL products. It is now possible to re-read data that have already been sent, as well as confirm data reception. RepBuf increases the reliability of CMDR/CDR data transfer and processing in call accounting applications.

 

Glossary of Internet and Network terms

  • Glossary of Internet terms
    (Administrator, gateway, router, icmp, server, broadcast, internet, slip, client, intranet, slip-router, client-server, ip, snmp, com-server, IP address,Subnet mask, dns, mac, mac-id, tcpip-stack, dns-server, nat, telnet, Ethernet address, Firewall, ppp, udp, ftp, rip)
  • Advanced Glossary Of Internet Terms
    (ACK, ADC, ADM, AMI, ANSI, API, APNIC, ARIN, ARP, ARPA, ARQ, ASN, ATM, B3Z3, B8ZS, BRI, BER, BOC, BOOTP, bps, CatX, CD, CHAP, CHDLC, CIDR, CIX, CLEC, CO, CODEC, CPE, cps, CRC, CSMA/CD, CSU/DSU, CTE, CTS, DB-X, DCD, DCE, DHCP, DLC, DNS, DS-0, DS-1 (T-1), DS-3 (T-3), DSP, DTE, DTR, EGP, EIA, EIGRP, EMI, ESD, ESF, FCC, FCS, FDDI, FQDN, FDM, FTP, Gbps, HDLC, HSP, HTML, HTTP, HTTPS, IANA, ICANN, ICMP, IEC, IEEE, IESG, IETF, IGMP, IGRP, ILEC, IP, ISDN, ISO, ISOC, ISP, ITU, IXC, Kbps, L-X, LAN, LATA, LEC, MAC, Mbps, MIB, Modem, MTU, MUX, NAP, NAT, NIC, NSF, NTP, NNTP, NOC, OC-X, OSI, OSIRM, PAP, PAT, POP, POP, POTS, PPP, pps, PRI, PSTN, PUC/PUCO, RARP, RAS, RBOC, RFC, RIPE NCC, RJ-X, RS-X, RTS, SF, SMTP, SNMP, SONET, STA, STP, STS-X, TCP, TCP/IP, TDM, TFTP, TP, UDP, UTP, VLAN, VLSM, VPN, W3C, WAN, WDM)
  • Glossary of network cabling terms
    (10Base2, BNC, ISDN, 10Base5, Bridge, LAN, 10BaseT, Bus, system, Repeater, 100BaseT4, Cheapernet, STP, 100BaseTX, Com-Server, Switch, Terminal, resistor, Ethernet, Transceiver, Administrator, Fast, Ethernet, Twisted, pair, AUI, Hub, UTP)


 

Useful Utilities and Programs

Hercules SETUP Utility

Hercules SETUP is universal utility which substitutes terminal on serial port (RS-232 or RS-485), UDP/IP and TCP/IP (Client or Server). For setting of basic parameters over the network, it is possible to use UDP Config with the HW group devices (Serial/Ethernet Converter, RS-232/Ethernet Buffer or I/O Controller). Original Hercules SETUP utility was designed for local solution, but now is completely free and you can use it as FreeWare.

 - Serial port terminal,
 - TCP telnet terminal,
 - UDP terminal,
 - HW devices UDP Config
 - TCP/IP NVT commands and TEA authorization supporting terminal


 

HW Virtual Serial Port

Virtual Serial PortThe Virtual serial port driver for Windows is a software tool which adds a virtual Com port to the system, for example COM5 and all the data from this port are re-directed to HW interface. The Virtual serial port is mostly used when connecting some RS-232 serial links over USB or Ethernet. The HW Virtual Serial Driver is primary designed for our devices, but you may use it for other devices.

The virtual driver described bellow is designed for Windows 2000, NT and XP. This virtual driver should work also as a Client or as a Server. In the Server mode, the connection is automatically switched off when serial port is inactive, This it is useful for GPRS connection where you pay for transmitted kB.

 


 

Borland C++ Communication Example

When implementing your own PC software, you can refer to our easy Borland C++ Builder software Client terminal example. There are easy NVT commands implemented too.


 

Br@y++ Terminal

  • Br@y++ Terminal is excellent terminal program for serial port (COM). It can be used for communication with different devices such as modems, routers, embedded uC systems, GSM phones.
  • Small .exe file only 246k
  • File transmitting
  • Character counter
  • 6x com ports, Virtual Serial Port compatible
  • Baudrate up to 256kbps
  • Log to file (hex & string)
  • Macros transmitting

Download: Br@y++ Terminal v. 4.2.2004 bray_termimal.zip  (230 kb)


Tera Term Pro

Simple terminal for TELNET and RS-232 serial port.

- SSH and "raw" mode not available for Network communication
- TeraTerm supports only Com1-Com4, no virtual port possibilities. 
- Very stable application for all Windows (95-NT) with a lot of terminal support.

Download : Tera Term Pro v2.3 - ttermp23.exe  (970 kb)


Sample Codes, Code library & Examples

Borland C++ Communication Example

The example of simple communication with common TCP/IP devices in Borland C++ Builder 6.00. The example demonstrates simple Client terminal and basic NVT commands (Network Virtual Terminal) = Are You There and extension for I/O functions.



 

IPRC (IP Relay Control)

IP Relay Control is a software designed for working with the IP relay device. You can control the relay contacts with a single click. The IPRC is a single executable, there is no need to install. IP Relay Control is available in source codes for Borland C++ 6.0.

 

Utility communicates over NVT, channel wiring detection from the AYT NVT command and transactions are stored to the text file.

 


 


PS Eye (PortStore Eye)

PS Eye is a simple utility which periodically reads data from PortStore or PortStore2 RS-232/485 buffer over Ethernet. The program is designed as a practical utility and SW work sample, it´s as well available in source codes for Borland C++.

 

PS Eye Basic Features

  • Simple graphical interface for Windows 95/98/ME/2000/XP.
  • Periodic data readings from PortStore and PortStore2 and logging in separated data files
  • Searching of PortStore and PortStore2 in the local network via UDP Broadcast
  • Option to read data from more than one unit via command line parameters.
  • Support of TEA access authorization.
  • Logging of all running operations.
  • Option to insert time sign (time of downloading) into downloaded file.


 

Delphi Charon 1 - Communication example and NVT

Example of simple communication with common TCP/IP device in Borland Delphi 5 demonstrates simple Client terminal. There are easy NVT (Network Virtual Terminal) commands implemented and extension for I/O functions.



 

Delphi TCP/IP Server / logger example

An example of simple TCP/IP logger written in Borland Delphi 6.0 demonstrates a server that reacts on client requests, logs all incoming data, accesses and connection errors in two files. This program also shows, how to access Windows registry, native INI files etc.


 

 

MS Visual Basic Example

Very easy routine to control TCP/IP device over Winsock from MS Visual Basic 5.0. There are easy NVT commands implemented for remote control I/O pins, but there is no TEA.


 

Java NVT simple Code Example

Simple example of binary I/O pins remote control including Java application. The application is not protected against modification, it is up to you

You can test it on: 80.250.3.194:4023 - This is public testing IP for Charon I DK development kit in our Prague office. The D1 and D6 I/O pins are wire-connected, so if you check the D1 output, wait 3 seconds and read input value, the D6 will get check because of connection with D1.

"Save" button will create the "nasled.conf" file in the current directory with the last used IP address and port.
Download & test : java_nvt_led_141.jar


 

PHP simple Code Example

This is a simple example of remote control of the binary I/O pins on I/O Controller. The user requests WWW page from PHP server, this server opens the connection with defined IP address and port before it responses to the user, closes the connection with binary device and displays the values on www page.

Download source code: php_nvt_led_131.zip

Test online demo: www.hw-group.com/products/charon1/test/


  

Web51

These datasheets are related to whole Web51 development system (http://Web51.HW-server.com, http://Web51.HW.en).Some of our products originate from this design system, they are closely related to our products   


 

HardWare, schemes and DPS documents

Charon modules - Eagle Library

The EAGLE Layout Editor is an easy tool for designing printed circuit boards (PCBs). EAGLE (Easily Applicable Graphical Layout Editor). If you are using this PCB editor, it can be useful for you to use just library of the Charon modules and Ethernet RJ45 connectors with integrated transformer.

Charon_Eagle_Lib.zip - The Eagle .SCR file with the modules and transformers library for the Eagle PCB layout editor 4.x version.


 

Datasheets

  • LF1S022.pdf - The 10 BASE-T FILTER “LAN-MATE”. The RJ45 connector with integrated transformer and 10 MBit filter for the RTL8019AS chip for example.
      
  • LF1S022-43.pdf - SINGLE RJ45 CONNECTOR MODULE WITH INTEGRATED 10 BASE T MAGNETICS & FILTER & 2x LED diodes. - for the RTL8019AS chip for example.
     
  • Charon1_app.pdf - Minimal required application circuit of using the Charon I module..
     
  • Charon2_app.pdf - Minimal required application circuit of using the Charon 2 module..
     
  • Charon2_dk_en.pdf - Charon 2 Development Kit documentation, with detailed circuit scheme of the "Charon I&II Development Board" in the appendix of "Getting started guide".

 

Links

Do you want to change Links ?

  If your project or products are related to ours, we'll be delighted by link exchange. Please use this icon as our logo, and our international WWW pages :
http://www.HW-group.com.
HWgroup
Please contact us and we'll add link to your web to this list..