=============================================================================

                      CTI Utilites for Linux  
                      Copyright (C) 2007, CTI.

=============================================================================
Content

1. Introduction
2. System Requirement
3. Installation
4. set485 Utility
5. setmodem Utility
-----------------------------------------------------------------------------
1. Introduction

   In this directory you find the following utilities:

        - set485
        - setmodem

   All utilities are published in form of source code under GNU General Public
   License in this version. Please refer to GNU General Public License
   announcement in each source code file for more detail.

-----------------------------------------------------------------------------
2. System Requirement

   - Hardware platform: x86
   - Kernel version: 2.4.x
   - gcc version 2.72 or later

-----------------------------------------------------------------------------
3. Installation
   
   In order to use the utilities you will need to build on your system.
   To do this give the the following commmand:

   # make

   The utility files "set485" and "setmodem" will now be built and are ready to use.

-----------------------------------------------------------------------------
4. set485 Utility

    This utility will allows you to set various 485 line modes such as: 
       - 485 Full Duplex
       - 485 Half Duplex
       - 485 Multi Drop Slave

    set485 allow you to configure the ports directly from the command line.
    usage format below:

    # ./set485 [-g <dev>] [-s <dev> <mode>] [-g ...] [-s ...]

    -g <dev>                Get device <dev>'s mode
    -s <dev> <mode>         Set device <dev> to 485 mode full, half or slave
    -h                      This help screen

    Modes can be abbreviated to the first letter
    Multiple gets/sets are allowed in any order on the command line
    set485 will exit after the first error

    You can also use all of these same features in set485 in it's own standalone
    application mode, by simply running:

    # ./set485

-----------------------------------------------------------------------------
5. setmodem Utility

    This utility will allows various modem signals on any CTI serial port.


    setmodem [-g <dev>] [-s <dev> <signal> [signal ...]] [-g ...] [-s ...]

    -g <dev>                Get device <dev>'s modem signals
    -s <dev> <mode>         Set device <dev>'s modem signals: [-]RTS [-DTR]

    Multiple gets/sets are allowed in any order on the command line
    setmodem will exit after the first error

    You can also use all of these same features in set485 in it's own standalone
    application mode, by simply running:

    # ./setmodem
