| |
The CN2510 Device Control application allows you to choose between two different operation
modes: ASPP and RAW.
ASPP
Mode—For
applications that require setting up communication parameters
or controlling modem signals (DTR, RTS, Break, etc.), take
advantage of Moxa's ASPP lib to simplify your
programming tasks. ASPP takes care of the more basic protocol-level
programming tasks, and allows you to concentrate your energy
on higher level, application-specific tasks.
RAW Mode—To control device data transmission directly, set CN2510 for TCP RAW mode.
Device control applications can use standard Linux/Unix Socket programming in Linux/Unix
environments, or WinSock programming in Windows environments. Standard socket
programming allows you to focus on pure data transmission, without needing to write code for
controlling serial ports or modem signals. ASPP can also be used to communicate with CN2510.
Linux/Unix socket programming and Windows WinSock programming both use IP as the communication agent between hosts and devices. RAW mode is a good solution for handling pure serial data communications applications that do not require setting up communication parameters (baud rate, parity, etc.). |
|
| |