Sample Application - Moxa Technologies MiiNePort E1-SDK User Manual

Hide thumbs Also See for MiiNePort E1-SDK:
Table of Contents

Advertisement

MiiNePort E1/E2-SDK
TCP alive check time
Setting
0 to 99 min
0 min: The TCP connection is not closed due to an idle TCP connection.
1 to 99 min: The module automatically closes the TCP connection if there is no TCP activity for the given time.
After the connection is closed, the module starts listening for another host's TCP connection.
TCP Port
Setting
1 to 65535
Use this field to indicate the TCP port that the module will use to listen to connections, and that other devices
must use to contact the module. To avoid conflicts with well-known TCP ports, the default is set to 4001

Sample Application

Setting
TCP Client Any Character
TCP Client Ask Destination
TCP Client Echo
TCP Client Startup
TCP Server Echo
TCP Server Multiple Connections
TCP Server Single Connection
UDP Echo
UDP Mode
TCP Client Any Character: Acts as a TCP client. Connects to Host PC when serial port receives a character and
performs serial-to-Ethernet data transmissions.
TCP Client Ask Destination: Acts as a TCP client. Connects to Host PC after destination IP is got via serial port
and then performs data transmission between the serial and Ethernet.
TCP Client Echo: Acts as a TCP client. Connects to Host PC and echoes all the received data to server.
TCP Client Startup: Acts as a TCP client. Connects to Host PC on startup and performs data transmission
between the serial and Ethernet.
TCP Server Echo: Acts as a TCP server. Accepts connection and echoes all the received data to client.
TCP Server Multiple Connections: Acts as a TCP server. Accepts multiple connections and performs data
transmission between the serial and Ethernet.
TCP Server Single Connection: Acts as a TCP server. Accepts single connection and performs data
transmission between the serial and Ethernet.
UDP Echo: Creates a UDP socket and echoes the data received from the Ethernet port.
UDP Mode: Creates a UDP socket and performs data transmission between the serial port and Ethernet port.
Factory Default
7 min
Factory Default
4001
Factory Default
TCP Client Any Character
5-10
MiiNePort IDE Development Tool
Recommended Setting
Optional
Recommended Setting
Required
Recommended Setting
Optional

Advertisement

Table of Contents
loading

This manual is also suitable for:

Miineport e2-sdk

Table of Contents