Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:netzer:connection [2014/01/05 11:09]
svesch [Windows]
en:netzer:connection [2015/12/22 18:20]
svesch [Connection data] removed command server for now...
Line 1: Line 1:
 +====== Netzer Connections ======
  
 +===== Connection data =====
 +
 +First you have to localize the Netzer within the network.
 +You need to know either the IP address or the MDNS name.
 +More you can find in the article [[start]].
 +
 +Furthermore we distinguish between different connection ports:
 +
 +^ Destination point ^ Standard port ^
 +| Web pages | 80 |
 +| [[gpioserver|GPIO server]], only project **[[io_project#​io_base|IO_base]]** | 65000 |
 +| [[serialserver|Net socket (serial server)]], only projects **[[io_project|IO]]** and **[[spislave_project|SPISlave]]** | 64000 |
 +
 +All standard ports can be changed at will.
 +
 +
 +===== Connecting with terminal program =====
 +
 +Often only a serial connection should be tested or some GPIOs must be read.
 +For that reason it is recommended to use a terminal software to connect to one of the Netzer destination points.
 +
 +==== Windows ====
 +
 +In WindowsXP there was the program HyperTerminal which could establish raw TCP/IP connections.
 +
 +{{:​de:​netzer:​hyper_terminal.gif?​nolink&​|Starting view of HyperTerminal}}
 +
 +An HyperTerminal alternative is **[[http://​www.chiark.greenend.org.uk/​~sgtatham/​putty|PUTTY]]**.
 +Further variants you can find [[links#​tools|here]].
 +
 +While using **[[http://​com0com.sourceforge.net|com0com]]** and the included **com2tcp** you may use any terminal program. ​
 +You do not have to use telnet or TCP/IP sockets.
 +That is also more important if you have to transmit or receive binary data.
 +
 +com2com establishes a pair of virtual COM ports, which are connected internally.
 +They are called CNCA0 and CNCB0 for example.
 +Now you can connect your chosen terminal program with CNCA0. ​
 +Sent characters are visible at CNCB0, characters sent on CNCB0 are received within the terminal program.
 +
 +With com2tcp you can connect CNCB0 via TCP/IP to Netzer.
 +
 +This [[http://​com0com.sourceforge.net/​doc/​UsingCom0com.pdf|manual]] describes important details for installation and usage.
 +
 +
 +=== Opening a connection with com2tcp ===
 +
 +  - Open command line (Start menu, run, type '​cmd'​)
 +  - Type: <​code>​com2tcp --ignore-dsr \\.\CNCA0 ne2c3d9f.local 64000</​code>​ Adjust for your Netzers name and port accordingly. Instead of the name you also can type the IP address.

QR Code
QR Code Netzer Connections (generated for current page)